{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved", "Programming Language :: Python", "Topic :: Scientific/Engineering", "Topic :: Software Development" ], "description": ".. image:: https://codecov.io/gh/choldgraf/download/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/choldgraf/download\n :align: left\n\n.. image:: https://travis-ci.org/choldgraf/download.svg?branch=master\n :align: left\n\nDownload\n--------\nA no-frills tool to download files from the web. It will\nattempt to be smart about not downloading data that's\nalready there, checking to make sure that\nthere were no errors in fetching data, automatically unzipping the contents\nof downloaded zipfiles (if desired), and displaying a progress bar with\nstatistics.\n\n.. note::\n\n This draws heavily from the\n `MNE-python `_ ``_fetch_file`` function.\n\n_This package doesn't get a ton of developer attention, but is hopefully well-scoped\nenough that it should still be useful! If you'd like to help improve it, fix bugs, etc,\nplease reach out in the issues!_\n\nInstallation\n------------\n\nEither clone this repository and install with::\n\n python setup.py install\n\nor, simply install with ``pip``::\n\n pip install download\n\nUsage\n-----\n\nDownload a file on the web is as easy as::\n\n from download import download\n path = download(url, file_path)\n\na file called ``file_name`` will be downloaded to the folder of ``file_path``.\n\nFile types\n^^^^^^^^^^\n\nIf your file is a zip file, you can add the flag::\n\n path = download(url, file_path, kind=\"zip\")\n\nin this case, the file will be downloaded, and then unzipped into the folder\nspecified by `file_name`.\n\nSupported formats are `'file', 'zip', 'tar', 'tar.gz'`\nDefaults to `file`.\n\nProgress bar\n^^^^^^^^^^^^\n\nWhether to display a progress bar during file download.\nDefaults to `True`::\n\n path = download(url, file_path, progressbar=True)\n\nReplace\n^^^^^^^\n\nIf `True` and the URL points to a single file, overwrite the old file if possible.\nDefaults to `False`::\n\n path = download(url, file_path, replace=False)\n\nTimeout\n^^^^^^^\n\nThe URL open timeout in seconds.\nDefaults to 10 seconds::\n\n path = download(url, file_path, timeout=10)\n\nVerbose\n^^^^^^^\n\nWhether to print download status to the screen.\nDefaults to `True`::\n\n path = download(url, file_path, verbose=True)\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "https://github.com/choldgraf/download", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/choldgraf/download", "keywords": "", "license": "BSD (3-clause)", "maintainer": "Chris Holdgraf", "maintainer_email": "choldgraf@gmail.com", "name": "download", "package_url": "https://pypi.org/project/download/", "platform": "any", "project_url": "https://pypi.org/project/download/", "project_urls": { "Download": "https://github.com/choldgraf/download", "Homepage": "https://github.com/choldgraf/download" }, "release_url": "https://pypi.org/project/download/0.3.4/", "requires_dist": null, "requires_python": "", "summary": "A quick module to help downloading files using python.", "version": "0.3.4" }, "last_serial": 5660063, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "afee1eb7c88cec4ec7ec024235e6fcd9", "sha256": "248fbdcf6909be147b8bd4cdbee192bd8849704fcf4df1ebdc9af90454be2354" }, "downloads": -1, "filename": "download-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "afee1eb7c88cec4ec7ec024235e6fcd9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4873, "upload_time": "2017-05-22T20:28:53", "url": "https://files.pythonhosted.org/packages/0e/e7/f70bc034f13c00e350250442ac9bf62aecfe33dcc2337b5582442bf34abb/download-0.1-py2.py3-none-any.whl" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "20152e4519291fd0b949eff996066a74", "sha256": "e87444c135549d4923f35c681e89ad2d2ff134ad552621623cea4ad671b03704" }, "downloads": -1, "filename": "download-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "20152e4519291fd0b949eff996066a74", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14707, "upload_time": "2017-06-19T18:04:27", "url": "https://files.pythonhosted.org/packages/01/77/dad2a1b085743233727757ffa86a4fd2c85f66ff07a66bc5cd31126a0783/download-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6be010e506da90d769fda550ac357037", "sha256": "bacb37205c5f70cb4c8c41c6a00d21e12a345d690066f0359df41b1f61fd237d" }, "downloads": -1, "filename": "download-0.2.tar.gz", "has_sig": false, "md5_digest": "6be010e506da90d769fda550ac357037", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 111624, "upload_time": "2017-06-19T18:04:29", "url": "https://files.pythonhosted.org/packages/58/8c/7b6fb6d93d3cf45b8ba1a85b8cd9a870a0fdda6513142dca759e7ff8755c/download-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "621b4c7049268eb1c1e8df6618b4834c", "sha256": "c2dbab5b0917b87fd7bf6306e56a29f0dfe85e60c318c154d24e5c0a6552398a" }, "downloads": -1, "filename": "download-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "621b4c7049268eb1c1e8df6618b4834c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 14729, "upload_time": "2017-06-19T18:08:58", "url": "https://files.pythonhosted.org/packages/26/e8/9e3ca8f4598197b2b186089b2132331e65daec33f84dc05bb9ae3b50d128/download-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b86923e1951e23d3fde05830108d5554", "sha256": "fc4edc4e1836d11105291e364451cf6a5b64afc41e4b8cf3d8b6906474b0e474" }, "downloads": -1, "filename": "download-0.2.1.tar.gz", "has_sig": false, "md5_digest": "b86923e1951e23d3fde05830108d5554", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 111647, "upload_time": "2017-06-19T18:09:01", "url": "https://files.pythonhosted.org/packages/24/42/55e282b28d6cde0a921fc3a21c5d2e83085d10cf58b50c86dc0ba46df0c6/download-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "02f95783c514d5dfd2eea023163ec2a9", "sha256": "65825843ad1a8963f4421b8616cb82cebd8497bf75420afa07be1ab3108ad2be" }, "downloads": -1, "filename": "download-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "02f95783c514d5dfd2eea023163ec2a9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17642, "upload_time": "2017-06-19T19:03:57", "url": "https://files.pythonhosted.org/packages/52/b8/2bd5b3d6e9aee86351fdad08fc17672a5586d7e00ebc01b38c16b0304b45/download-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "988e95bc4fcba76fbf437758ce3db952", "sha256": "883a7b02e29573bf7eabd2850c5ffd0827584671151816345f2f844ba531726d" }, "downloads": -1, "filename": "download-0.2.2.tar.gz", "has_sig": false, "md5_digest": "988e95bc4fcba76fbf437758ce3db952", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 112745, "upload_time": "2017-06-19T19:03:59", "url": "https://files.pythonhosted.org/packages/4e/32/960193c7d27e1fca12782bb7128efcd6b62b8526af35035c43aa82155df1/download-0.2.2.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "7b6144e0b69e1341b12edc70665b83c3", "sha256": "45e9372fbeee00d377f77396629da4e0c913f89d56e1644d7cdf193ca84d7574" }, "downloads": -1, "filename": "download-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7b6144e0b69e1341b12edc70665b83c3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18456, "upload_time": "2017-07-01T17:22:01", "url": "https://files.pythonhosted.org/packages/68/fc/84f8b4207d2aac161805ed8fa3023db95326af954ca8eb03d95840f7908c/download-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "488727ad9ac79c2d284fa41d478a974b", "sha256": "bf3f9bb93c5a43e4fc49d8f97ad2aa1e27b98e07552fabe51fed0dd959410d52" }, "downloads": -1, "filename": "download-0.3.1.tar.gz", "has_sig": false, "md5_digest": "488727ad9ac79c2d284fa41d478a974b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 120896, "upload_time": "2017-07-01T17:22:04", "url": "https://files.pythonhosted.org/packages/65/e2/6fdcb401077d29f3455d8fe816b2b360d6e6174da9e16b505bab401371fd/download-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "5eb52d47786ee5590792d0689302c2b6", "sha256": "8ee68aeb76fd438fd3ca58069164f393835ecad2e1114483eb15006a80d41479" }, "downloads": -1, "filename": "download-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5eb52d47786ee5590792d0689302c2b6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22314, "upload_time": "2017-11-21T20:43:04", "url": "https://files.pythonhosted.org/packages/ef/5e/b14221a4069a88e0f78b04e0841ef8c7b93725bd85237cf3dcde7b0c0d5b/download-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8b3da6ef5e2506aceff7ec9a4d627e7f", "sha256": "ba8b6c1229a7cea37139993b01ca115dd251ed50a81e9d88091196e6b6950f5c" }, "downloads": -1, "filename": "download-0.3.2.tar.gz", "has_sig": false, "md5_digest": "8b3da6ef5e2506aceff7ec9a4d627e7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 54299, "upload_time": "2017-11-21T20:43:07", "url": "https://files.pythonhosted.org/packages/24/49/a1a8ed796dfc5a2e635519057d8ddafd876ed7b42dde550100601c3c3a96/download-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "d4bd6a4c7a81b22bbef68f5dd1a8d6d9", "sha256": "58b215b233ab9caba8029ee25062122696e050aa5a5a1b4d2fb1b53e30a576bf" }, "downloads": -1, "filename": "download-0.3.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d4bd6a4c7a81b22bbef68f5dd1a8d6d9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22932, "upload_time": "2017-11-21T21:39:05", "url": "https://files.pythonhosted.org/packages/c2/79/d88026ed8be2da42437023fb30e5401c8e23410a773f37d283c07844e350/download-0.3.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bf140547460d3a6a58d2d56eedbaef0e", "sha256": "e4313bc7c6bde6218bbc0eae6b1c9b35f5fb5afb38918ace70f85bd1d5e44003" }, "downloads": -1, "filename": "download-0.3.3.tar.gz", "has_sig": false, "md5_digest": "bf140547460d3a6a58d2d56eedbaef0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 54511, "upload_time": "2017-11-21T21:39:07", "url": "https://files.pythonhosted.org/packages/f4/46/69fc7ae33f3bdad63837a644b63f5c8f1e6ce290e6290795aad61d19cb72/download-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "ed89b3d15c87e9395f20e5dedf059037", "sha256": "4f8a5ecb6607e7641eee49ad65d74698a68388c683a1724caaefdd9e63e5c0bb" }, "downloads": -1, "filename": "download-0.3.4-py3-none-any.whl", "has_sig": false, "md5_digest": "ed89b3d15c87e9395f20e5dedf059037", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8165, "upload_time": "2019-08-10T18:53:21", "url": "https://files.pythonhosted.org/packages/e3/02/10dbbf98043d6f5ec94d0715401b80e65a0dff49c3d937614d8976c35cb2/download-0.3.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "01b889c60f8ee7d345a7152637ee47b2", "sha256": "c7022eca9bb997c6df959a23a4db91354cb7d9a2bdd40bfb95e25754aac5926d" }, "downloads": -1, "filename": "download-0.3.4.tar.gz", "has_sig": false, "md5_digest": "01b889c60f8ee7d345a7152637ee47b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7183, "upload_time": "2019-08-10T18:53:23", "url": "https://files.pythonhosted.org/packages/8c/6b/f583d9a7ae2acf3a715a7441d58ebc6a040e82a4fd144f7009fb36c72056/download-0.3.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ed89b3d15c87e9395f20e5dedf059037", "sha256": "4f8a5ecb6607e7641eee49ad65d74698a68388c683a1724caaefdd9e63e5c0bb" }, "downloads": -1, "filename": "download-0.3.4-py3-none-any.whl", "has_sig": false, "md5_digest": "ed89b3d15c87e9395f20e5dedf059037", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8165, "upload_time": "2019-08-10T18:53:21", "url": "https://files.pythonhosted.org/packages/e3/02/10dbbf98043d6f5ec94d0715401b80e65a0dff49c3d937614d8976c35cb2/download-0.3.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "01b889c60f8ee7d345a7152637ee47b2", "sha256": "c7022eca9bb997c6df959a23a4db91354cb7d9a2bdd40bfb95e25754aac5926d" }, "downloads": -1, "filename": "download-0.3.4.tar.gz", "has_sig": false, "md5_digest": "01b889c60f8ee7d345a7152637ee47b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7183, "upload_time": "2019-08-10T18:53:23", "url": "https://files.pythonhosted.org/packages/8c/6b/f583d9a7ae2acf3a715a7441d58ebc6a040e82a4fd144f7009fb36c72056/download-0.3.4.tar.gz" } ] }