Skip to main content

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:

Usage

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)

Metadata

Release files for formaldict 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for formaldict 1.1.0
File Size Uploaded Provenance
formaldict-1.1.0.tar.gz 8.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for formaldict 1.1.0
File Interpreter ABI Platform
formaldict-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.8 kB

Release files / formaldict-1.1.0.tar.gz

Download URL formaldict-1.1.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
79f1954a540560dd572a34de6f525d61c1c0331079a537008eb72e34a70abd00
BLAKE2b-256 checksum
How to use checksums
131136b1e38916a08a85ca411059b853bb349f7b8a4cd0e9f1a985d5600d6a20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.7 Linux/5.15.0-1057-aws

Release files / formaldict-1.1.0-py3-none-any.whl

Download URL formaldict-1.1.0-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0d1881157ca529109d69f7e5f41673150ef1746161e5d0782f5b2e02827bcb8
BLAKE2b-256 checksum
How to use checksums
6ddc88a38f5118c960ca3de5f7d163b8dd0a0771ca1851ecb25c7cb3d1768c7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.12.7 Linux/5.15.0-1057-aws

Security for formaldict 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page