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.3.1.tar.gz
(12.0 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
vivcpy-0.3.1-py3-none-any.whl
(10.6 kB
view details)
File details
Details for the file vivcpy-0.3.1.tar.gz.
File metadata
- Download URL: vivcpy-0.3.1.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
177de39ae3b9ec90bbf9242767fedc010fdf9bd38f1435a80db5d1c4bd21a4a3
|
|
| MD5 |
83c84d6dc636a3178cf186303440bc0c
|
|
| BLAKE2b-256 |
768feac6c648a3b77aad921c63cd342a6e8705898e853f9c01ba9657ae007235
|
File details
Details for the file vivcpy-0.3.1-py3-none-any.whl.
File metadata
- Download URL: vivcpy-0.3.1-py3-none-any.whl
- Upload date:
- Size: 10.6 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 |
888a38b524a08ce6713a092cf86eedc2c863f4b2cf4a3382a29765ecc65ee9e2
|
|
| MD5 |
b65c102156be843503f333666cea1193
|
|
| BLAKE2b-256 |
ccd28f84e579128c88d63c7e94044836014315b5f9adfb23c475f50f0ddb271a
|