Pedantic Validator Tool
This package contains the validation logic to validate the data of the BO4E migration model
ibims.
It uses the pedantic-validator-framework to
create ValidationManagers for each data set in
ibims.
(Currently supported are only Customer, Network and Resource.)
This package is designed to be used together with bomf.
Although, it only uses the MigrationConfig to use the migration_key_date which is necessary for some validations.
Usage
Install it from pypi:
pip install pvtool
To use the validation logic you just need to bind the preconfigured modules of this package to
ValidationManager of your Injector. Alternatively, you could execute the provider-method of the
module on your own by supplying a MigrationConfig instance.
from injector import Injector
from pvtool import ValidationManagerProviderCustomer
from pvframework import ValidationManager
from bomf.config import MigrationConfig
from datetime import datetime, UTC
customer_injector = Injector([
ValidationManagerProviderCustomer,
lambda binder: binder.bind(MigrationConfig, MigrationConfig(migration_key_date=datetime(2021, 1, 1, tzinfo=UTC))),
])
customer_validation_manager = customer_injector.get(ValidationManager)
How to use this Repository on Your Machine
Follow the instructions in our Python template repository.
Contribute
You are very welcome to contribute to this repository by opening a pull request against the main branch.
Metadata
Release files for pvtool 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pvtool-0.3.4.tar.gz | 54.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pvtool-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 68.6 kB
Release files / pvtool-0.3.4.tar.gz
| Download URL | pvtool-0.3.4.tar.gz |
|---|---|
| Size | 54.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65f39ffb5b760335cb990e4234ce4a014f1cbaeee5800775e5cbd38c24909003
|
|
BLAKE2b-256 checksum How to use checksums |
934cc6c02c13ec9c5dfae53faeb2b885076688b1430ec38e64087fa90c55c896
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pvtool-0.3.4-py3-none-any.whl
| Download URL | pvtool-0.3.4-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e49cb56633c290729e7bdbf21f514fbff1d28d4532f92b507a2c533d9b11ead
|
|
BLAKE2b-256 checksum How to use checksums |
0f94a45750de7eff3ed53e107105a37b0dd5a3add3a92fced76e3e3e461f2f85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pvtool 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.