A package for evaluating values for terms in a controlled vocabulary.
Project description
Controlled Vocabulary Utils
A package for evaluating values for terms in a controlled vocabulary.
Usage
from controlled_vocabulary_utils import Manager as ValidationManager
config_file = "conf/controlled_vocabulary.yaml"
vm = ValidationManager(
config_file=config_file,
verbose=verbose,
)
term = "zygosity"
val = "mosaic"
if vm.is_valid(term, val):
print(f"'{val}' is a valid value for term '{term}'")
else:
print(f"'{val}' is NOT a valid value for term '{term}'")
History
0.1.0 (2025-02-22)
First release on PyPI.
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
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 controlled_vocabulary_utils-0.1.0.tar.gz.
File metadata
- Download URL: controlled_vocabulary_utils-0.1.0.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8da9c40c0f20812ef75e98919a81e87ad5a10fb2aa868858bfb7f48fd11901eb
|
|
| MD5 |
d6357de07eafb2893d9bb493b389d18b
|
|
| BLAKE2b-256 |
ca51c3c6dbc694db43909c9aa6ef1a8e6764e0943b3b10e51a10cf9e85f436e1
|
File details
Details for the file controlled_vocabulary_utils-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: controlled_vocabulary_utils-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6d92d785cededbab28f92bf257ea345131b6cb8730f8df83de72f6da2e208f3
|
|
| MD5 |
b6a0720a24c6df6c553bb9be60814819
|
|
| BLAKE2b-256 |
e80c36f7943cdb1e185e3c29eae10778d8e6a8520b0619044053db843115351a
|