Formal structured dictionaries parsed from a schema
Project description
formaldict
formaldict
provides the constructs for parsing structured dictionaries that adhere to a schema. Along with a simple and flexible schema definition to parse and validate dictionaries, formaldict
is integrated with python-prompt-toolkit. This integration allows users to easily construct flows for command line interfaces (CLIs) when parsing structured user input.
Below is an example user input flow constructed with a formaldict
schema used by git-tidy:
Check out the docs for a tutorial on how to use formaldict
as the backbone for parsing structured input in your library.
Documentation
View the formaldict docs here.
Installation
Install formaldict with:
pip3 install formaldict
Contributing Guide
For information on setting up formaldict for development and contributing changes, view CONTRIBUTING.md.
Compatibility
formaldict
is compatible with Python 3.9 - 3.13.
Creators
- @wesleykendall (Wes Kendall)
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
Built Distribution
Hashes for formaldict-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0d1881157ca529109d69f7e5f41673150ef1746161e5d0782f5b2e02827bcb8 |
|
MD5 | 202713302e658c1d96be9c3ee7cc7eb8 |
|
BLAKE2b-256 | 6ddc88a38f5118c960ca3de5f7d163b8dd0a0771ca1851ecb25c7cb3d1768c7e |