d42
The d42 package is a comprehensive toolkit for data modeling, which includes functionalities for definition, generation, validation, and substitution of data models using a robust data description language.
Installation
$ pip3 install d42
Usage Example
from d42 import schema, fake, validate_or_fail
# Define a schema for a string containing "banana"
sch = schema.str("banana")
# Generate a fake value based on the schema and validate it
assert validate_or_fail(sch, fake(sch))
Documentation
For detailed documentation, visit the official d42 documentation.
Metadata
Release files for d42 2.4.0
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 | |
|---|---|---|---|---|
| d42-2.4.0.tar.gz | 33.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| d42-2.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 84.0 kB
Release files / d42-2.4.0.tar.gz
| Download URL | d42-2.4.0.tar.gz |
|---|---|
| Size | 33.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d89a150701c31642f8134771fd2325811bfd05f43273ba1f66e9a031fe16c845
|
|
BLAKE2b-256 checksum How to use checksums |
3f27d8864b710a341bb5d9ea3488022e77f7c0065313ca73cc9df905ab64b3fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / d42-2.4.0-py3-none-any.whl
| Download URL | d42-2.4.0-py3-none-any.whl |
|---|---|
| Size | 50.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c11c12132d5d31689dd8311dc4dc80b61a75088ca646b721ec900eac2d83c021
|
|
BLAKE2b-256 checksum How to use checksums |
e3d132482287d1d0569955fa31beb3144bf409f1985afe2c410a676c8fa7d14c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for d42 2.4.0
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.