Skip to main content
https://img.shields.io/pypi/v/parselglossy.svg CI build status https://codecov.io/gh/dev-cafe/parselglossy/branch/master/graph/badge.svg Documentation Status

[…] I speak with tongues more than you all;

—1 Corinthians 14:18

Parse it on!

—Bobson Dugnutt, Private communication

Generic input parsing library, speaking in tongues.

parselglossy generates a fully functional Python input parsing module from a simple YAML template specification. The parser has no dependencies on external Python packages. The documentation for all input keywords is also generated in reStructuredText format from the YAML specification.

Parse all the inputs!

Requirements

  • Python 3.7 or later.

Features

  • Flexible. It can accommodate different input styles and still generate correct parsers. This is achieved by decoupling input reading and validation.

  • Extensible. We work with standard Python types and standard JSON format. Interfacing and extending to your needs is straightforward.

  • Simple. Just provide an input specification in YAML format: names of keywords/sections, defaults, documentation. The tedious bits are automatically handled for you.

  • Correct. parselglossy gives two correctness guarantees:

    1. If the YAML specification is valid, the generated parser will be correct.

    2. If validation completes, the input to your application is well-formed.

Projects using parselglossy

If your project is using parselglossy, please add a link via a pull request.

Metadata

Release files for parselglossy 0.8.1

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

Source distribution (sdist)

Source distribution for parselglossy 0.8.1
File Size Uploaded
parselglossy-0.8.1.tar.gz 5.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for parselglossy 0.8.1
File Interpreter ABI Platform
parselglossy-0.8.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 5.8 MB

Release files / parselglossy-0.8.1.tar.gz

Download URL parselglossy-0.8.1.tar.gz
Size 5.7 MB
Tags Source
SHA-256 checksum
How to use checksums
182b92de176d9c0d1a895e8a73834cd87aa6e7ebe053e1c2c57c02a46eaad2fe
BLAKE2b-256 checksum
How to use checksums
872174c40cac95067873d5e958a82f465d3d7d89f3ba7f5ff7b872f9fc8f99b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release files / parselglossy-0.8.1-py2.py3-none-any.whl

Download URL parselglossy-0.8.1-py2.py3-none-any.whl
Size 41.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9d0978c51b1177fc4fe314d92bf096277ed520b93ea1b5cac84ca70b9b15baab
BLAKE2b-256 checksum
How to use checksums
e31a91e036767dc6d5dd5603cf1fd806d401f7fe9a3459238658881d7fef784b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release history Release notifications | RSS feed

This release

0.8.1 This release

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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