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.1.0.tar.gz (10.3 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.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vivcpy-0.1.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for vivcpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6493904eed59e300fbee8333e00889f12e190afd76152e555911f128689489f2
MD5 e3dbecd2be08f249ee75b76a859d54f9
BLAKE2b-256 d39ccb94b26694cedd9053e80d032db81762a030914dbd64cae5aecea20e63a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vivcpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cccd623b29af52913f346559010c01895f32bf53cb09fe09735f0861451501d5
MD5 f4c9457050cfe24e528f4cabc2e5862f
BLAKE2b-256 0a8d6b330cceb82b025934999aea459eb316d2529a091834faa218311ad72529

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