TypeForge
Annotation-native data validation and transformation
Facilitates the following:
- Typing: Utilities to extract metadata from
Annotated[], handleLiteral[]and unions, and wrap type info in a user-friendly container - Validation and transformation: Mechanism to validate and convert objects based on annotations, with user-defined source/destination types and conversion logic
- 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
typeforge-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
typeforge-0.1.0-py3-none-any.whl
(27.0 kB
view details)
File details
Details for the file typeforge-0.1.0.tar.gz.
File metadata
- Download URL: typeforge-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 |
07f46a81985175d4cf3ad95aa97de4861c2a2a2965f3e8b93326b00fe41322ae
|
|
| MD5 |
e154bf73ebc9954fe46ab7b8935274b6
|
|
| BLAKE2b-256 |
0ff688edcb71687fdea033275b070303a5a181cc1cbe39e2a630a165110d696d
|
File details
Details for the file typeforge-0.1.0-py3-none-any.whl.
File metadata
- Download URL: typeforge-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.0 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 |
6e7adeb9b6ff61ca888752e7948c7f4b26ae94fe27c0585f33ef7d39e3606bf8
|
|
| MD5 |
8e76713ae1c5e3e949435748f0ec3954
|
|
| BLAKE2b-256 |
47b5a9ae61be31d5b3ce284232534747be71c0303d3c6fb198b42b7043e1c597
|