Skip to main content

Connector to the database of the Vitis International Variety Catalogue (VIVC).

Project description

vivcPy

Tests MyPy Code style: black

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


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.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vivcpy-0.3.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file vivcpy-0.3.0.tar.gz.

File metadata

  • Download URL: vivcpy-0.3.0.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

Hashes for vivcpy-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ffc90907a731d9ddc683351d7fde7567dc1fbd78172f83ecc05e2909ade7842e
MD5 a6ba848c8b4c046e0b42df4ead456928
BLAKE2b-256 5dec114b56d3db3be533c0c4e674b6b3686768e0db8f3e04affa6d221b2a107c

See more details on using hashes here.

File details

Details for the file vivcpy-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: vivcpy-0.3.0-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

Hashes for vivcpy-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d4e041bc04c9010a475b3293ece33e2bd78dcf3a2de5427f25cfd4ea0c23f6f
MD5 7ad4ec53becfa667c89096a0b06bc415
BLAKE2b-256 8b68e5c61e0d5f6f3a726f16db937c06984b4e439401b90f78b7468687d7c941

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page