=====================
A python client library for the `Index Herbariorum https://github.com/nybgvh/IH-API/wiki` API.
To contribute code to this project, please submit a pull request to the repo on github:
https://github.com/jlramirez/index-herbariorum-python-client
Installation
------------
.. code-block::
pip install indexherbariorum
Usage
-----------
Get all available countries
.. code-block:: python
import indexherbariorum
ih = indexherbariorum.init()
countries_result = ih.countries()
Search for an institution by code
.. code-block:: python
import indexherbariorum
ih = indexherbariorum.init()
institution_result = ih.institution('ala')
Search institutions by matching a specified query
.. code-block:: python
import indexherbariorum
ih = indexherbariorum.init()
institutions_result = ih.institutions(rq={'state': 'california', 'city': 'los angeles'})
Search staff by matching a specified query
.. code-block:: python
import indexherbariorum
ih = indexherbariorum.init()
staff_result = ih.staff(rq={'state': 'new york', 'correspondent': 'yes'})
Get number of countries
.. code-block:: python
import indexherbariorum
ih = indexherbariorum.init()
count = ih.count_countries()
Get number of institution records based on search
.. code-block:: python
import indexherbariorum
ih = indexherbariorum.init()
count = ih.count_institutions(rq={'country': 'colombia', 'city': 'medellin'})
Get number of staff records based on search
.. code-block:: python
import indexherbariorum
ih = indexherbariorum.init()
count = ih.count_staff(rq={'state': 'texas', 'correspondent': 'yes'})
Download CSV file
.. code-block:: python
import indexherbariorum
ih = indexherbariorum.init()
ih.download('staff', rq={'state': 'new york', 'correspondent': 'yes'}, filename='ny_staff.csv')
Metadata
Release files for indexherbariorum 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| indexherbariorum-1.0.0.tar.gz | 3.9 kB | Without provenance | Details for indexherbariorum-1.0.0.tar.gz |
Release files / indexherbariorum-1.0.0.tar.gz
| Download URL | indexherbariorum-1.0.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3cce00885d1c9d1f076c3793aaea6cc4af4e9da874fa5db23faf976522cac92b
|
|
BLAKE2b-256 checksum How to use checksums |
ac189d9ec62f8ef4ce35f6aaabde22e1d342d8f6d7d4d67970ca745ca01b7c16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for indexherbariorum 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.