Type-safe Python
Project description
typedpy
typedpy is a library for type-safe, strict, Python structures. It supports Python 3.4+.
Features
Supports JSON schema draft4 features, including mapping schema-to-code and code-to-schema
Class/Field definition
Easily extensible. Wrapper of any class as a Field
Embedded structures within structures/fields and fields within fields
Clean Java-generics-like definitions, but more flexible. e.g.: Set[Integer], Map[String(maxLength=8), String]
No dependencies on third-party libs
There are many examples under “tests/”.
Documentation
Installation
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
typedpy-0.25.tar.gz
(12.7 kB
view hashes)
Built Distribution
typedpy-0.25-py3-none-any.whl
(15.5 kB
view hashes)