{ "info": { "author": "Joel Ramirez", "author_email": "joel.ramirez001@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "index-herbariorum-python-client\n=====================\n\nA python client library for the `Index Herbariorum https://github.com/nybgvh/IH-API/wiki` API.\n\nTo contribute code to this project, please submit a pull request to the repo on github:\n\nhttps://github.com/jlramirez/index-herbariorum-python-client\n\nInstallation\n------------\n\n.. code-block::\n\n pip install indexherbariorum\n\nUsage\n-----------\n\nGet all available countries\n\n.. code-block:: python\n\n import indexherbariorum\n\t\n ih = indexherbariorum.init()\n countries_result = ih.countries()\n\t\nSearch for an institution by code\n\n.. code-block:: python\n\n import indexherbariorum\n\t\n ih = indexherbariorum.init()\n institution_result = ih.institution('ala')\n\t\nSearch institutions by matching a specified query\n\n.. code-block:: python\n\n import indexherbariorum\n\t\n ih = indexherbariorum.init()\n institutions_result = ih.institutions(rq={'state': 'california', 'city': 'los angeles'})\n\nSearch staff by matching a specified query\n\n.. code-block:: python\n\n import indexherbariorum\n\t\n ih = indexherbariorum.init()\n staff_result = ih.staff(rq={'state': 'new york', 'correspondent': 'yes'})\n\t\nGet number of countries\n\n.. code-block:: python\n\n import indexherbariorum\n\t\n ih = indexherbariorum.init()\n count = ih.count_countries()\n\t\nGet number of institution records based on search\n\n.. code-block:: python\n\n import indexherbariorum\n\t\n ih = indexherbariorum.init()\n count = ih.count_institutions(rq={'country': 'colombia', 'city': 'medellin'})\n\nGet number of staff records based on search\n\n.. code-block:: python\n\n import indexherbariorum\n\t\n ih = indexherbariorum.init()\n count = ih.count_staff(rq={'state': 'texas', 'correspondent': 'yes'})\n\t\nDownload CSV file\n\n.. code-block:: python\n\n import indexherbariorum\n\t\n ih = indexherbariorum.init()\n ih.download('staff', rq={'state': 'new york', 'correspondent': 'yes'}, filename='ny_staff.csv')", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jlramirez/index-herbariorum-python-client", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "indexherbariorum", "package_url": "https://pypi.org/project/indexherbariorum/", "platform": "", "project_url": "https://pypi.org/project/indexherbariorum/", "project_urls": { "Homepage": "https://github.com/jlramirez/index-herbariorum-python-client" }, "release_url": "https://pypi.org/project/indexherbariorum/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Python client library for Index Herbariorum API Web Services", "version": "1.0.0" }, "last_serial": 3339097, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "83e12d1507dbf41ba1506d8075d1ff86", "sha256": "3cce00885d1c9d1f076c3793aaea6cc4af4e9da874fa5db23faf976522cac92b" }, "downloads": -1, "filename": "indexherbariorum-1.0.0.tar.gz", "has_sig": false, "md5_digest": "83e12d1507dbf41ba1506d8075d1ff86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3882, "upload_time": "2017-11-16T16:02:23", "url": "https://files.pythonhosted.org/packages/ac/18/9d9ec62f8ef4ce35f6aaabde22e1d342d8f6d7d4d67970ca745ca01b7c16/indexherbariorum-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "83e12d1507dbf41ba1506d8075d1ff86", "sha256": "3cce00885d1c9d1f076c3793aaea6cc4af4e9da874fa5db23faf976522cac92b" }, "downloads": -1, "filename": "indexherbariorum-1.0.0.tar.gz", "has_sig": false, "md5_digest": "83e12d1507dbf41ba1506d8075d1ff86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3882, "upload_time": "2017-11-16T16:02:23", "url": "https://files.pythonhosted.org/packages/ac/18/9d9ec62f8ef4ce35f6aaabde22e1d342d8f6d7d4d67970ca745ca01b7c16/indexherbariorum-1.0.0.tar.gz" } ] }