Primary Authors
@wesleykendall (Wes Kendall)
Formal structured dictionaries parsed from a schema
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.
Install formaldict with:
pip3 install formaldict
For information on setting up formaldict for development and contributing changes, view CONTRIBUTING.rst.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46356f08c89218e29b0a2d9343463361a4aa44728ffac88186bd7c2ae9d16a54 |
|
MD5 | 1b6e4e64b231d35b59f5dc53962c9fbb |
|
BLAKE2b-256 | 9149fa394addfd5810406bdac35698824abd9a8da9b6c18f4805e4357d07e4cb |