Connector to the database of the Vitis International Variety Catalogue (VIVC).
Project description
vivcPy
A Python connector to the Vitis International Variety Catalogue (VIVC) database.
Installation
pip install vivcpy
Usage
from vivcpy.search import PassportDataSearch, PassportDataSearchParams
from vivcpy.enums import ColorOfBerrySkin, Species
params = PassportDataSearchParams(
color_of_berry_skin=ColorOfBerrySkin.RED,
species=Species.VITIS_VINIFERA_SUBSP_SATIVA,
)
for variety in PassportDataSearch(params):
print(variety.prime_name)
Collect all results into a list:
varieties = list(PassportDataSearch(params))
Development
Install dev dependencies:
pip install -e ".[dev]"
Run tests:
python -m unittest tests
Format code:
black vivcpy tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vivcpy-0.2.0.tar.gz
(10.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vivcpy-0.2.0.tar.gz.
File metadata
- Download URL: vivcpy-0.2.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5a131187866c558890351204574143d63d75ceb8e421f20dd6fec3c82d584c5
|
|
| MD5 |
3e4d8e2dd5de683f77ab8cd3b61f3eb2
|
|
| BLAKE2b-256 |
e92161fc720b29866faa6d9d6ac1da77a937ffd3847973a2ea85adab329d3126
|
File details
Details for the file vivcpy-0.2.0-py3-none-any.whl.
File metadata
- Download URL: vivcpy-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e9f4370895aff20bb992a2f3dfcbbddf90783fb30930625459d62e84b44d138
|
|
| MD5 |
124b6aa302f43cd01966b9bb162e37d3
|
|
| BLAKE2b-256 |
e6501ca17d13a5622bc4976af367b7cec941fb4dc55954659f2a8e7bd27deb3c
|