Registry / data / openplantbook-sdk

openplantbook-sdk

JSON →
library0.6.1pypypi✓ verified 79d ago

Python SDK for the Open Plantbook API, providing access to a crowdsourced database of plant species. Current version 0.6.1, released on PyPI with monthly cadence. Supports Python >=3.9.

pip install openplantbook-sdk
INSTALL
IMPORT
SIG · OPENPLANTBOOK-SDK
O
openplantbook-sdk
datapythonv0.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OpenPlantBookApi
from openplantbook_sdk import OpenPlantBookApi
from openplantbook_sdk import OpenPlantbookClient

Initialize client with API credentials (from environment variables) and perform a search.

from openplantbook_sdk import OpenPlantbookClient client = OpenPlantbookClient( client_id=os.environ.get('OPB_CLIENT_ID', ''), client_secret=os.environ.get('OPB_CLIENT_SECRET', '') ) plants = client.search_plants(q='monstera') print(plants)
Debug
Known issues
gotchaAPI credentials must be obtained separately from the Open Plantbook website. The SDK does not provide default keys.
fix
Register at https://open.plantbook.io and create an application to get client_id and client_secret.
affects: all
gotchaThe search_plants method requires the 'q' parameter (query string). Omitting it raises a TypeError.
fix
Always pass a query string, e.g., client.search_plants(q='monstera').
affects: all
gotchaThe SDK may use rate limiting; frequent requests without delays may result in HTTP 429 errors.
fix
Implement exponential backoff or respect the Retry-After header.
affects: all
Upgrade
Version history
0.6.1latest on PyPI · released Jan 29, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
openplantbook-sdk — pip install openplantbook-sdk · libregistry