Skip to main content

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:

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

formaldict-1.1.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

formaldict-1.1.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file formaldict-1.1.0.tar.gz.

File metadata

  • Download URL: formaldict-1.1.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/5.15.0-1057-aws

File hashes

Hashes for formaldict-1.1.0.tar.gz
Algorithm Hash digest
SHA256 79f1954a540560dd572a34de6f525d61c1c0331079a537008eb72e34a70abd00
MD5 470b02104c5828c2d24748d159014dc4
BLAKE2b-256 131136b1e38916a08a85ca411059b853bb349f7b8a4cd0e9f1a985d5600d6a20

See more details on using hashes here.

File details

Details for the file formaldict-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: formaldict-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/5.15.0-1057-aws

File hashes

Hashes for formaldict-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0d1881157ca529109d69f7e5f41673150ef1746161e5d0782f5b2e02827bcb8
MD5 202713302e658c1d96be9c3ee7cc7eb8
BLAKE2b-256 6ddc88a38f5118c960ca3de5f7d163b8dd0a0771ca1851ecb25c7cb3d1768c7e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page