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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

d42-2.4.0.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

d42-2.4.0-py3-none-any.whl (50.6 kB view details)

Uploaded Python 3

File details

Details for the file d42-2.4.0.tar.gz.

File metadata

  • Download URL: d42-2.4.0.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for d42-2.4.0.tar.gz
Algorithm Hash digest
SHA256 d89a150701c31642f8134771fd2325811bfd05f43273ba1f66e9a031fe16c845
MD5 1f60e87fcd4683ff08d67cdd4a7963fa
BLAKE2b-256 3f27d8864b710a341bb5d9ea3488022e77f7c0065313ca73cc9df905ab64b3fc

See more details on using hashes here.

File details

Details for the file d42-2.4.0-py3-none-any.whl.

File metadata

  • Download URL: d42-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 50.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for d42-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c11c12132d5d31689dd8311dc4dc80b61a75088ca646b721ec900eac2d83c021
MD5 fb163f48f6bb25ae9d5a9be29e806b73
BLAKE2b-256 e3d132482287d1d0569955fa31beb3144bf409f1985afe2c410a676c8fa7d14c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.4.0 This release

2 files

2.3.0

2 files

2.2.0

2 files

2.1.0

2 files

2.0.3

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

1.9.0

2 files

1.8.0

2 files

1.7.1

2 files

1.7.0

2 files

1.6.0

2 files

1.5.2

2 files

1.5.1

2 files

1.5.0

2 files

1.3.1

2 files

1.3.0

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page