schema
Python library for validating Python data structures, such as data converted from JSON or YAML.
schema is a Python library for validating Python data structures, such as data read from config files, forms, external services or command-line parsing and converted from JSON or YAML. A schema is built from Python types, functions and containers, and validation returns the checked data or raises an error. The README is the library’s documentation.
Worth knowing
A dict schema can generate a draft-07 JSON Schema for use with JSON Schema compatible libraries. The README says that result is not guaranteed to accept the same objects as the library itself.
Identity
- Status
- Active
- Maintainer
- Vladimir Keleshev3
- Maintained by
- Individual
- First release
- 20124
Rendering and deploy
- Install with
- pip, from PyPI, copy the file into the project1
Releases
Adoption
Sources
- 2026-11-16: name, Categories, Install with
github.com/keleshev/schema/blob/master/README.rst - 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/keleshev/schema - 2026-11-16: Maintainer
github.com/keleshev/schema/blob/master/LICENSE-MIT - 2026-11-16: First release
api.github.com/repos/keleshev/schema/commits/0.1.0 - 2026-11-16: Runtime, License, License model
github.com/keleshev/schema/blob/v0.7.8/setup.py - 2026-11-16: Current major version
api.github.com/repos/keleshev/schema/releases/tags/v0.7.6 - 2026-11-16: Last release
pypi.org/pypi/schema/json - 2026-11-16: Contributors
api.github.com/repos/keleshev/schema/contributors?per_page=1 - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/pypi.org/packages/schema