OpenPlantbook
Open Plantbook is a free service to access plant data. Anyone can use information from the database for any purpose without limitations.
Requrements
In order to use this API you need to login to Open Plantbook web UI at https://open.plantbook.io and generate API credentials. The credentials are client_id and client_secret. API authentication implements OAuth2 standard Client Credentials Grant flow.
Usage
The library is written with async functions.
import asyncio
from pyopenplantbook import OpenPlantBookApi
client_id = "xxxx"
secret = "yyyy"
api = OpenPlantBookApi(client_id=client_id, secret=secret)
async def get_plant(species):
plant = await api.get_plantbook_data(species=species)
return plant
def main():
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
result = loop.run_until_complete(get_plant("coleus 'marble'"))
print(result)
main()
Metadata
Release files for pyopenplantbook 0.0.4
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 |
|---|---|---|---|---|
| pyopenplantbook-0.0.4.tar.gz | 2.7 kB | Without provenance | Details for pyopenplantbook-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyopenplantbook-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for pyopenplantbook-0.0.4-py3-none-any.whl |
Total release size: 19.1 kB
Release files / pyopenplantbook-0.0.4.tar.gz
| Download URL | pyopenplantbook-0.0.4.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25182959a0566ca3e2528802b8e8ca09e652de7de46c15206b4e8510a16cde57
|
|
BLAKE2b-256 checksum How to use checksums |
80eb5436f5851f9153558c0bbbf0e882d0eebdfb21035e62447d808a24f94a16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
|
Release files / pyopenplantbook-0.0.4-py3-none-any.whl
| Download URL | pyopenplantbook-0.0.4-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca54a6dce151567afa95164464f68e73cd0c84c09f57bd9e1ffa9fe356eb151c
|
|
BLAKE2b-256 checksum How to use checksums |
50f5ff6eaff7ee2d4b4f2d4b8de952a5bc2b59877b2eb5be7a4d9f249cc98b62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
|
Security for pyopenplantbook 0.0.4
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.