Skip to main content

d42

Codecov PyPI PyPI - Downloads Python Version

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.

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)

Source distribution for d42 2.4.0
File Size Uploaded
d42-2.4.0.tar.gz 33.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for d42 2.4.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

2.4.0 This release

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page