Skip to main content

Toolkit for data modeling, validation, and typing

Project description

ModelingKit

Toolkit for data modeling, validation, and typing

Facilitates the following:

  • Data models: Lightweight, pydantic-like modeling with validation
    • Based on dataclasses, not custom metaclasses; avoids metaclass conflicts
  • Validation: Mechanism to validate and convert objects based on annotations, with user-defined source/destination types and conversion logic
  • Typing: Utilities to extract metadata from Annotated[], handle Literal[] and unions, and wrap type info in a user-friendly container
  • TOML models: Wrapper for tomlkit with user-defined model classes for documents and tables, also handling arrays of models

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

modelingkit-0.1.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

modelingkit-0.1.0-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file modelingkit-0.1.0.tar.gz.

File metadata

  • Download URL: modelingkit-0.1.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.7 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for modelingkit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 86ccb72bba5ef20dcccda7678dcf67ca8c311aaebda1690d536badc747511ec4
MD5 858c6b1ad88f7b04009f9d015ab9d351
BLAKE2b-256 eeb978060db9d038790917c7420b9522eae53b7c7cc64908b419a101ebab198a

See more details on using hashes here.

File details

Details for the file modelingkit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: modelingkit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.7 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for modelingkit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 978d70ff14b944298a34c477c9e637ac9af20643a8051f53fb285a6138710447
MD5 ff5ffcd2ecf15ae87342c28de46533ad
BLAKE2b-256 f125e14ec1d2b00504a73a9d6fcfab9ff0825bfc05cb2599b33be865ab698484

See more details on using hashes here.

Supported by

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