Git Product home page Git Product logo

parselglossy's Introduction

parselglossy

CI build status 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.

parselglossy's People

Contributors

robertodr avatar bast avatar stigrj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.