{ "info": { "author": "Disco", "author_email": "contact@dis.co", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8" ], "description": "Dis.co Python SDK\n====================\n\nThis package lets you run jobs on [Dis.co](https://www.dis.co/) platform from a Python program.\n\nUsing the SDK, you can create computing jobs, run them on _Dis.co_, and get their results to your local machine. \nIt is possible to offload any kind of Python program to be run on _Dis.co_.\n\nPrerequisites\n-------------\n\n1. An [Dis.co](https://www.dis.co/) account.\n2. A recent version of Python.\n3. Dis.co Python SDK installed:\n\n ```bash\n $ pip install disco\n ```\n\nExample\n-------\n\n```python\nimport disco\nimport pathlib\n\ndisco.set_credentials('john@example.com', 'my_password', save_to_dot_file=True)\n\nmy_file_id = disco.upload_file('my_file.py', pathlib.Path('/home/bob/my_file.py'))\njob = disco.Job.add(my_file_id)\njob.start()\n\n(task_result,) = job.get_results(block=True)\ntask_result.write_files('/home/bob/my_result')\n```\n\nThe code above uploads the file `/home/bob/my_file.py`, runs it on _Dis.co_ cloud, waits of the job to finish, \nand writes the results to `/home/bob/my_result`.\n\nWhen the job has been created, you can see it listed in `list_jobs()`:\n\n```python\n>>> import disco\n>>> disco.list_jobs())\n[{'id': '5d650d25179854000d72b8cc', 'archived': False, 'name': 'd08e3e029bfc412ebc316e21f1a7dae0', 'status': 'Done', 'taskStates': ['Success']}]\n```\n\nThis functions returns an instance of `Job`, which gives access to many useful operations on a job \n(see the API documentation). \n\nEnvironment variables\n---------------------\n\nThe `disco` package supports these environment variables:\n\n - `DISCO_BASE_URL` - base URL of the Dis.co server. Default: `https://app.dis.co`\n - `DISCO_EMAIL` - user's email to for authenticating with the Dis.co server.\n - `DISCO_PASSWORD` - password for authenticating with the Dis.co server.\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Iqoqo/python-sdk", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "disco", "package_url": "https://pypi.org/project/disco/", "platform": "", "project_url": "https://pypi.org/project/disco/", "project_urls": { "Homepage": "https://github.com/Iqoqo/python-sdk" }, "release_url": "https://pypi.org/project/disco/1.3.2/", "requires_dist": [ "analytics-python (==1.2.9)", "certifi (==2019.6.16)", "chardet (==3.0.4)", "decorator (==4.4.0)", "dill (==0.3.0)", "idna (==2.8)", "requests (==2.22.0)", "urllib3 (==1.25.3)" ], "requires_python": "", "summary": "Run Python jobs on the cloud using DISCO", "version": "1.3.2" }, "last_serial": 5879531, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "e25a18436a6a7d12321356c84669c0ca", "sha256": "3368c44d44bebaf0309dc4df1d9f7d85bd416f8bdc2e01814994dc6edad56b40" }, "downloads": -1, "filename": "disco-0.0.1.tar.gz", "has_sig": false, "md5_digest": "e25a18436a6a7d12321356c84669c0ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 56427, "upload_time": "2019-08-21T19:26:06", "url": "https://files.pythonhosted.org/packages/25/29/4be06b65b361339131afe8c6d19b2fc80f2829919165cfd98b37baf413fc/disco-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "306440085e9eee84b962356071c1c9ea", "sha256": "1dd2d2bdbc44e2e78335c61eaf6fe069d7fe749d3386fe7fcc764f8608ec03f9" }, "downloads": -1, "filename": "disco-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "306440085e9eee84b962356071c1c9ea", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 111503, "upload_time": "2019-08-25T14:43:53", "url": "https://files.pythonhosted.org/packages/1c/0a/1a50e381a5dbe759361c038a6d43629fca7b4cc4f684cf9e8271c0dd44ac/disco-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c9f85c612ea4b222fd55aa2f60ea9909", "sha256": "413f5ca5be5dd41bab72a2dc066fb7748b33d5781f3393c9b1314145ae9786ae" }, "downloads": -1, "filename": "disco-0.0.2.tar.gz", "has_sig": false, "md5_digest": "c9f85c612ea4b222fd55aa2f60ea9909", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55407, "upload_time": "2019-08-25T14:39:51", "url": "https://files.pythonhosted.org/packages/13/ec/8ffad4fdc6b8c7daf06beef8c3e506f7c299020591221127de00b091115f/disco-0.0.2.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "933d93d4b571a72a8e79ae4aa82b2730", "sha256": "f53bf8b63deeae4b4d1581c6632917bf1c3d1d6d5c2fde0d3cd09e4fc155836f" }, "downloads": -1, "filename": "disco-1.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "933d93d4b571a72a8e79ae4aa82b2730", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 64579, "upload_time": "2019-08-27T14:11:52", "url": "https://files.pythonhosted.org/packages/1d/8b/aef861dc6892340806580765782ddd94acb088d8552f94867c8154cd78b9/disco-1.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "73e0bba2596cc75351ed554c3ea9e64a", "sha256": "2801823e3271cdcfb330f3402f56d1813e046bfc1daf5c7a2a36d7c39159bb1e" }, "downloads": -1, "filename": "disco-1.3.0.tar.gz", "has_sig": false, "md5_digest": "73e0bba2596cc75351ed554c3ea9e64a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55177, "upload_time": "2019-08-27T14:11:54", "url": "https://files.pythonhosted.org/packages/af/6e/7d9bad46a8dd0846c7b45c22a46ba322a1396cf0de05806ccc75edcd7df7/disco-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "abe383b13d729c3ce987ac868f2ea973", "sha256": "d4250b61e93401786ae2fe744c4fe5fc7c83788116b7357e2353455923f8e899" }, "downloads": -1, "filename": "disco-1.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "abe383b13d729c3ce987ac868f2ea973", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 64583, "upload_time": "2019-08-28T21:39:40", "url": "https://files.pythonhosted.org/packages/54/40/3c8ccc5cd051951dbfbc21daf11d178d34643fb1fbad799028e60080d6e7/disco-1.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aa99535242bf008ea1807a2f3ff9ad88", "sha256": "f3021c2b4d6e127e221c95125fca773c893ffc2c2d80b70d62b47fc2870ed99a" }, "downloads": -1, "filename": "disco-1.3.1.tar.gz", "has_sig": false, "md5_digest": "aa99535242bf008ea1807a2f3ff9ad88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55186, "upload_time": "2019-08-28T21:39:41", "url": "https://files.pythonhosted.org/packages/21/30/51be56a98f33f02dea82d8b07b0bac31273a3f97f9f771146d8fb6955c68/disco-1.3.1.tar.gz" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "4483a38b5a72195cc50f76f3e24e75dd", "sha256": "b1072b50d09e988e25c82f0e5922dd895ebcaee6b9379a8073e6f44c8a24ac52" }, "downloads": -1, "filename": "disco-1.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "4483a38b5a72195cc50f76f3e24e75dd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 66302, "upload_time": "2019-09-24T12:57:53", "url": "https://files.pythonhosted.org/packages/c5/d9/bdf1b288f1777d5bf940ddca5e851000b48362937c9baa1df1abcbf31d70/disco-1.3.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b652eec52cc70a8d4c6c9190f120bc0b", "sha256": "cacae9409eef3d330d554725d521c0140fa7677e6b6d525e4d30e9d12a3752a2" }, "downloads": -1, "filename": "disco-1.3.2.tar.gz", "has_sig": false, "md5_digest": "b652eec52cc70a8d4c6c9190f120bc0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55567, "upload_time": "2019-09-24T12:57:55", "url": "https://files.pythonhosted.org/packages/7c/cf/dc6df000bf2afbfcbae28a330d828757ca325dfd715dc27ea0f3401da6f7/disco-1.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4483a38b5a72195cc50f76f3e24e75dd", "sha256": "b1072b50d09e988e25c82f0e5922dd895ebcaee6b9379a8073e6f44c8a24ac52" }, "downloads": -1, "filename": "disco-1.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "4483a38b5a72195cc50f76f3e24e75dd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 66302, "upload_time": "2019-09-24T12:57:53", "url": "https://files.pythonhosted.org/packages/c5/d9/bdf1b288f1777d5bf940ddca5e851000b48362937c9baa1df1abcbf31d70/disco-1.3.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b652eec52cc70a8d4c6c9190f120bc0b", "sha256": "cacae9409eef3d330d554725d521c0140fa7677e6b6d525e4d30e9d12a3752a2" }, "downloads": -1, "filename": "disco-1.3.2.tar.gz", "has_sig": false, "md5_digest": "b652eec52cc70a8d4c6c9190f120bc0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55567, "upload_time": "2019-09-24T12:57:55", "url": "https://files.pythonhosted.org/packages/7c/cf/dc6df000bf2afbfcbae28a330d828757ca325dfd715dc27ea0f3401da6f7/disco-1.3.2.tar.gz" } ] }