{ "info": { "author": "Rodrigo Bresan", "author_email": "", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3.6" ], "description": "\n\n[![PyPI version](https://badge.fury.io/py/digipathos.svg)](https://pypi.org/project/digipathos)\n[![Build Status](https://travis-ci.org/bresan/digipathos_plant_pathology.svg?branch=master)](https://travis-ci.org/bresan/digipathos_plant_pathology)\n[![codecov](https://codecov.io/gh/bresan/digipathos_plant_pathology/branch/master/graph/badge.svg)](https://codecov.io/gh/bresan/digipathos_plant_pathology)\n[![GitHub](https://img.shields.io/github/license/bresan/digipathos_plant_pathology.svg)](https://github.com/bresan/digipathos_plant_pathology/blob/master/LICENSE.md)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e02bc243822c4ce884c4adf87ff6e9f7)](https://www.codacy.com/app/bresan/digipathos_plant_pathology?utm_source=github.com&utm_medium=referral&utm_content=bresan/digipathos_plant_pathology&utm_campaign=Badge_Grade)\n\n# Overview\n\nThis project is aimed to serve as a wrapper for the Digipathos dataset, in order to list and download public data from plant pathologies provided by Embrapa (Brazilian Agricultural Research Corporation).\n\nExample of pictures:\n\n \n\n\n\n\n# Installation\n\nThe installation is pretty simple if you have a virtualenv already installed on your machine. If you don't please rely to [VirtualEnv official documentation](https://virtualenv.pypa.io/en/latest/).\n\n```bash\npip install digipathos\n```\n\n# Documentation\n\nBesides the docstrings, major details about the documentation can be found [here](https://digipathos.readthedocs.io/en/latest/).\n\n# Testing\n\nThis project is inteded to suit most of the existent needs, so for this reason, testability is a major concern. Most of the code is heavily tested, along with [Travis](https://travis-ci.org/bresan/digipathos_plant_pathology) as Continuous Integration tool to run all the unit tests once there is a new commit.\n\n# Usage\n\nYou can use Digipathos in two different ways: via terminal or programatically.\n\n## CLI (Command-Line Interface)\n\nThis mode is highly recommended for those who are looking to explore a little bit the dataset. Here you can do the same operations from the programmatic mode, but with the advantage of being able to see all the data that is being retrieved.\n\n\n```bash\ndigipathos\n```\n\nAnd then you're gonna be greeted by our dataset browser :-)\n\n

\n\nAn example listing all the datasets:\n\n

\n\n\n## Programmatically\n\n\n```python\ndata_loader = DataLoader()\n\n# list all the datasets\ndatasets = data_loader.get_datasets()\n\n# now lets give a look at the crops\ncrops = data_loader.get_crops()\n\n# how about getting all the datasets from a crop?\ndatasets_from_crop = data_loader.get_datasets_from_crop('Pineapple')\n\n# now let's download a random dataset\ndataset_id = random.choice(list(datasets.keys()))\ndata_loader.download_dataset(dataset_id=dataset_id)\n\n# download all from a given crop\ndata_loader.download_datasets_from_crop('Pineapple')\n\n# download all the datasets\ndata_loader.download_all_datasets()\n```\n\nPretty simple, huh?\n\nA working example can be found [here as a Python script](https://github.com/bresan/digipathos_plant_pathology/blob/master/example/example.py).\n\n\n# Troubleshooting\n\nIn case of any issue with the project, or for further questions, do not hesitate to open an issue here on GitHub.\n\n# Contributions\n\nContributions are really welcome, so feel free to open a pull request :-)\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/bresan/digipathos_plant_pathology", "keywords": "", "license": "BSD-3-Clause", "maintainer": "", "maintainer_email": "", "name": "answer", "package_url": "https://pypi.org/project/answer/", "platform": "", "project_url": "https://pypi.org/project/answer/", "project_urls": { "Homepage": "https://github.com/bresan/digipathos_plant_pathology" }, "release_url": "https://pypi.org/project/answer/0.1/", "requires_dist": [ "atomicwrites (==1.3.0)", "attrs (==19.1.0)", "certifi (==2019.3.9)", "chardet (==3.0.4)", "codecov (==2.0.15)", "coverage (==4.5.3)", "idna (==2.8)", "more-itertools (==6.0.0)", "mypy (==0.670)", "mypy-extensions (==0.4.1)", "pluggy (==0.9.0)", "py (==1.8.0)", "pytest (==4.3.1)", "pytest-cov (==2.6.1)", "requests (==2.21.0)", "six (==1.12.0)", "terminaltables (==3.1.0)", "typed-ast (==1.3.1)", "urllib3 (==1.24.1)" ], "requires_python": "", "summary": "", "version": "0.1" }, "last_serial": 4974574, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "82181cda1ff4e434e5cacc1f8e1824bf", "sha256": "327ea189dc849bf9f3ed90c8d3baa528fa0a7e1ab28d5c0f577ec513b2b29cb7" }, "downloads": -1, "filename": "answer-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "82181cda1ff4e434e5cacc1f8e1824bf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13436, "upload_time": "2019-03-22T22:43:20", "url": "https://files.pythonhosted.org/packages/49/df/0e0a79fbbda56d18f49b51136213a7ec91ed4caaa8cb46923b0e54b21b34/answer-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b184ab6ff96e1d8cc09257f6a92e7bb3", "sha256": "494cc91e52dbfb38ce26876ae59d25047ae77388e84a63766fa948b32dde3540" }, "downloads": -1, "filename": "answer-0.1.tar.gz", "has_sig": false, "md5_digest": "b184ab6ff96e1d8cc09257f6a92e7bb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8687, "upload_time": "2019-03-22T22:43:21", "url": "https://files.pythonhosted.org/packages/11/99/ef9bd6fa5b5d849071decc38bff396c594ca789a1e3a5796a03d137a9a1d/answer-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "82181cda1ff4e434e5cacc1f8e1824bf", "sha256": "327ea189dc849bf9f3ed90c8d3baa528fa0a7e1ab28d5c0f577ec513b2b29cb7" }, "downloads": -1, "filename": "answer-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "82181cda1ff4e434e5cacc1f8e1824bf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 13436, "upload_time": "2019-03-22T22:43:20", "url": "https://files.pythonhosted.org/packages/49/df/0e0a79fbbda56d18f49b51136213a7ec91ed4caaa8cb46923b0e54b21b34/answer-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b184ab6ff96e1d8cc09257f6a92e7bb3", "sha256": "494cc91e52dbfb38ce26876ae59d25047ae77388e84a63766fa948b32dde3540" }, "downloads": -1, "filename": "answer-0.1.tar.gz", "has_sig": false, "md5_digest": "b184ab6ff96e1d8cc09257f6a92e7bb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8687, "upload_time": "2019-03-22T22:43:21", "url": "https://files.pythonhosted.org/packages/11/99/ef9bd6fa5b5d849071decc38bff396c594ca789a1e3a5796a03d137a9a1d/answer-0.1.tar.gz" } ] }