Annotation-native toolkit for data validation, transformation, and type inspection
Project description
TypeCraft
Annotation-native toolkit for data validation, transformation, and type inspection
Facilitates the following:
- Validation and transformation: 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[], handleLiteral[]and unions, and wrap type info in a user-friendly container - Data modeling: Lightweight, pydantic-like modeling with validation
- Based on dataclasses, avoiding metaclass conflicts
- TOML modeling: Wrapper for
tomlkitwith user-defined model classes for documents, tables, and arrays
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
typecraft-0.1.0.tar.gz
(20.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
typecraft-0.1.0-py3-none-any.whl
(27.1 kB
view details)
File details
Details for the file typecraft-0.1.0.tar.gz.
File metadata
- Download URL: typecraft-0.1.0.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.3 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf5a4a38661784a0121bdd1163a0d45f1741fe8d918ac61332845d39da17a8c9
|
|
| MD5 |
3b7c7d7a2f86b28c039ae5323cfa310c
|
|
| BLAKE2b-256 |
b88a179c126dc0a70fafc78ca2668b67c37cab83cefac63aa7eeed460aea7ad2
|
File details
Details for the file typecraft-0.1.0-py3-none-any.whl.
File metadata
- Download URL: typecraft-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.3 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bb2fc396cdb97a190adeea7d5f78ef4a00d3d05bec5c673380a1131b3f47623
|
|
| MD5 |
b78481bb9b76deef588e63b20776b97a
|
|
| BLAKE2b-256 |
6693acc31eb86f788f376c07b55cc0f8f4eaf77e3ba8f39f3a214ded38669a14
|