Verdantly Python Client
The official Python client for accessing plant variety and species data from the Verdantly API.
Installation
pip install verdantly
Or install from source:
pip install -e .
Getting Started
You'll need a valid API key from RapidAPI.
from verdantly_client import VerdantlyClient
client = VerdantlyClient(api_key="your-api-key")
Example Usage (Sync)
results = client.search_plant_varieties_by_filter({
"category": "fruit",
"waterRequirement": "low"
})
for plant in results["data"]:
print(plant["name"])
Example Usage (Async)
from verdantly_client_async import VerdantlyClientAsync
import asyncio
async def main():
client = VerdantlyClientAsync(api_key="your-api-key")
results = await client.search_plant_varieties_by_filter({
"category": "fruit",
"waterRequirement": "low"
})
for plant in results["data"]:
print(plant["name"])
await client.close()
asyncio.run(main())
More examples available in starter/.
Supported Endpoints
get_plant_variety_categories()get_types_by_category(category: str)get_subtypes_by_type(type: str)search_plant_varieties_by_name(query: str, page: int = 1)search_plant_varieties_by_filter(filters: dict, page: int = 1)search_plant_species_by_name(query: str, page: int = 1)search_plant_species_by_filter(filters: dict, page: int = 1)
Project Structure
verdantly_client.py— sync clientverdantly_client_async.py— async clientstarter/— runnable starter project with real use casetests/— test suite for both clients
License
MIT © Verdantly
Metadata
Release files for verdantly 0.1.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 | |
|---|---|---|---|---|
| verdantly-0.1.0.tar.gz | 5.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| verdantly-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / verdantly-0.1.0.tar.gz
| Download URL | verdantly-0.1.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92fea0327615a2c12774ba3c030c4dafb300afecd1ea6167e271704fd5ceb7d3
|
|
BLAKE2b-256 checksum How to use checksums |
20e7ac04d646456f99fe7df18d6080e483c26a61199eaa1ee08db347bb28b5bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / verdantly-0.1.0-py3-none-any.whl
| Download URL | verdantly-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b59ee6f46d6ceb7a31375ba2b2ecec55f9495fca3de50b6b4a91367192595984
|
|
BLAKE2b-256 checksum How to use checksums |
f68d8b2234f81831409516b41d6e7b679e298781534cd889e48b85f110c09e59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for verdantly 0.1.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.