{ "info": { "author": "Sherry aka potatowagon", "author_email": "e0007652@u.nus.edu", "bugtrack_url": null, "classifiers": [], "description": "[![Build Status](https://travis-ci.org/potatowagon/copinicoos.svg?branch=master)](https://travis-ci.org/potatowagon/copinicoos)\n[![codecov](https://codecov.io/gh/potatowagon/copinicoos/branch/master/graph/badge.svg)](https://codecov.io/gh/potatowagon/copinicoos)\n[![PyPI](https://img.shields.io/pypi/v/copinicoos)](https://pypi.org/project/copinicoos/)\n[![python version](https://img.shields.io/badge/python-3.6%20%7C%203.7-blue.svg)](https://pypi.org/project/copinicoos/)\n[![Platform support](https://img.shields.io/badge/platform-windows%20%7C%20macos%20%7C%20linux-lightgrey.svg)](https://travis-ci.org/potatowagon/copinicoos)\n[![GitHub license](https://img.shields.io/github/license/potatowagon/copinicoos)](https://github.com/potatowagon/copinicoos/blob/master/LICENSE) \n[![Join the chat at https://gitter.im/copinicoos/community](https://badges.gitter.im/copinicoos/community.svg)](https://gitter.im/copinicoos/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\n# Copinicoos\nCopinicoos is a Copernicus satellite image download manager. \n\nCopinicoos can ...\n1. Automate the download of all results in a search query. \n2. Download in parallel processes, for faster downloads. \n3. Manage polling for offline products. \n4. Stop and resume downloads, anytime!\n\n## Install\n\n```\npip install copinicoos\n```\n\n## Usage\n### Interactive Mode\n\n![](img/i_mode.gif)\n\nTo launch,\n```\npy -m copinicoos\n```\nAnd then follow on-screen prompt:\n\n1. Enter Download Directory. Where products will be downloaded to. Entering nothing will default to current directory.\n\n2. Enter number of Corpernicus accounts. Each account will initialise 2 parallel download processes.\n\n3. Authenticate accounts by entering login credentials.\n\n4. Enter query. This can be obtained from Copernicus Open Hub `Request Done: ( ... )`. Just copy that whole string.\n\n5. Enter Polling Interval. Entering nothing will use default.\n\n6. Enter offline product download retries. Entering nothing will use default.\n\n#### Resume download\n![](img/i_mode_resume.gif)\n\nAgain, launch \n```\npy -m copinicoos\n```\nAnd then follow on-screen prompt:\n\n1. Enter download directory containing `copinicoos_logs`. Or, if current working directory has `copinicoos_logs`, entering nothing will resume download from current working directory's savepoint. Savepoints are stored inside `copinicoos_logs`.\n\n2. Agree to resume download \n\n3. Enter Polling Interval. Entering nothing will use default.\n\n4. Enter offline product download retries. Entering nothing will use default.\n\n### Argparse Mode\n\nThis mode is so that copinicoos can be called from a script.\n\nAll options:\n```\npy -m copinicoos -d -r -p \n```\nSubcommand:\n- resume \n\n- fresh\n\n#### resume\n\n```\npy -m copinicoos resume\n```\nResume download from savepoint in current working directory.\n\n```\npy -m copinicoos resume -d \n```\nResume download from savepoint in ``.\n\n#### fresh\n```\npy -m copinicoos fresh \n```\nStart a fresh download. \n\nInput can be read from a text file by affixing `@` to file name eg.\n\n```\npy -m copinicoos fresh @query.txt @secrets.json\n```\n\neg. Inside `query.txt`\n```\n( footprint:\"Intersects(POLYGON((91.45532862800384 22.42016942838278,91.34620270146559 22.43895934481047,91.32598614177974 22.336847270362682,91.4350291249018 22.31804599405974,91.45532862800384 22.42016942838278)))\" ) AND ( (platformname:Sentinel-1 AND producttype:GRD))\n```\n\neg. Inside `secrets.json`\n```\n{\n \"u1\":\"username1\",\n \"p1\":\"password1\",\n \"u2\":\"username2\",\n \"p2\":\"password2\"\n}\n```\n\nNote: `\"` has to be escaped, ie `\\\"`, if parsing directly to the cmd.\n\n#### For more details:\n```\npy -m copinicoos --help\n```\n\n## Logs\nLogs can be found in a folder named `copinicoos_logs` in the same directory where products are downloaded to. Manually deleting `copinicoos_logs` will restart the download.\n\nA summary of finished downloads can be found in `copinicoos_logs\\WorkerManager.log`. Resume points are saved in `_progress.txt`\n\n\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/potatowagon/copinicoos", "keywords": "copinicoos,copernicus,downloader,radar,ESA,EU,satellite,sentinel,sar,download,manager,image,data", "license": "", "maintainer": "", "maintainer_email": "", "name": "copinicoos", "package_url": "https://pypi.org/project/copinicoos/", "platform": "", "project_url": "https://pypi.org/project/copinicoos/", "project_urls": { "Homepage": "https://github.com/potatowagon/copinicoos" }, "release_url": "https://pypi.org/project/copinicoos/0.0.2/", "requires_dist": [ "colorama (>=0.3.4)", "cryptography", "codecov (>=2.0.15) ; extra == 'dev'", "colorama (>=0.3.4) ; extra == 'dev'", "tox (>=3.9.0) ; extra == 'dev'", "tox-travis (>=0.12) ; extra == 'dev'", "pytest (>=4.6.2) ; extra == 'dev'", "pytest-cov (>=2.7.1) ; extra == 'dev'", "Pillow (>=5.0.0) ; extra == 'dev'", "psutil ; extra == 'dev'" ], "requires_python": ">=3.4", "summary": "Copernicus Download Manager", "version": "0.0.2" }, "last_serial": 5800108, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "3439045a2d61fe36a8998a946ebc0ac8", "sha256": "7af6ad1cdb8243a87fb6be5030d22212a41197f20ad7c45aad806f687a0c056f" }, "downloads": -1, "filename": "copinicoos-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3439045a2d61fe36a8998a946ebc0ac8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 18219, "upload_time": "2019-09-08T09:45:57", "url": "https://files.pythonhosted.org/packages/e4/0c/c87a3cfd094fac839ba3d968e93f0202552255815216a46a6927c84b16ac/copinicoos-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "154e9f7dbd12264665afa38629db4cd1", "sha256": "1f0e2f782794270427d03f9ab7d8855c8445857cd7ef3b31dd152309b3567bbc" }, "downloads": -1, "filename": "copinicoos-0.0.1.tar.gz", "has_sig": false, "md5_digest": "154e9f7dbd12264665afa38629db4cd1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 15959, "upload_time": "2019-09-08T09:45:59", "url": "https://files.pythonhosted.org/packages/f9/b9/f1cfa2b323a42d851282fdabff21f1eb9b3c6bc7639472f7356c4fb1b21d/copinicoos-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "e4c6ec297a910684c4876eb9e6fc7c2e", "sha256": "638283be9e678e6d70b8a644c56896ff4b6766821786fe3d237818d81bbb97e6" }, "downloads": -1, "filename": "copinicoos-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e4c6ec297a910684c4876eb9e6fc7c2e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 18288, "upload_time": "2019-09-08T18:23:46", "url": "https://files.pythonhosted.org/packages/45/85/48da4afb5436a00319eee9e6d39d839ecdb3079b276ca63e2ad09f67272e/copinicoos-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "45ddea63769235de0bdfd132ea8de9f0", "sha256": "a7611ef6e100870fd4407c032b5ccf07f5c62f93bdd7b98243a1de13d3f687ec" }, "downloads": -1, "filename": "copinicoos-0.0.2.tar.gz", "has_sig": false, "md5_digest": "45ddea63769235de0bdfd132ea8de9f0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 16100, "upload_time": "2019-09-08T18:23:48", "url": "https://files.pythonhosted.org/packages/a5/5a/efdd38b7b7e5a52d436eeb28bedf538aeadbe441ef6c3ce4b57e8c63e463/copinicoos-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e4c6ec297a910684c4876eb9e6fc7c2e", "sha256": "638283be9e678e6d70b8a644c56896ff4b6766821786fe3d237818d81bbb97e6" }, "downloads": -1, "filename": "copinicoos-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e4c6ec297a910684c4876eb9e6fc7c2e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 18288, "upload_time": "2019-09-08T18:23:46", "url": "https://files.pythonhosted.org/packages/45/85/48da4afb5436a00319eee9e6d39d839ecdb3079b276ca63e2ad09f67272e/copinicoos-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "45ddea63769235de0bdfd132ea8de9f0", "sha256": "a7611ef6e100870fd4407c032b5ccf07f5c62f93bdd7b98243a1de13d3f687ec" }, "downloads": -1, "filename": "copinicoos-0.0.2.tar.gz", "has_sig": false, "md5_digest": "45ddea63769235de0bdfd132ea8de9f0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 16100, "upload_time": "2019-09-08T18:23:48", "url": "https://files.pythonhosted.org/packages/a5/5a/efdd38b7b7e5a52d436eeb28bedf538aeadbe441ef6c3ce4b57e8c63e463/copinicoos-0.0.2.tar.gz" } ] }