Skip to main content

A module for parsing string representations of objects

Project description

Fro is a Python module for parsing strings and text into Python objects. It offers a concise, declarative, and expressive interface for mapping strings to data, abstracting away boilerplate code and making it easy to quickly write bug-free parsers.

Fro is compatible with Python 2.7+ and Python 3.x, and can be installed via pip. Documentation for the module can be found at

Release Notes

2.0.0 (08-01-16)

Breaking changes:
  • Parse input by chunks, allowing for more efficient use of memory

  • Replace Parser.parse() method with a family of related parsing functions

  • Change interface of FroParseError to better accommodate chunks

  • Replace unary minus operator on Parser objects with inversion, and replace unary plus operator with significant() method

  • Remove quietness/loudness as a property of Parser object, and add it as a function argument to parse(..) and friends instead

Non-breaking changes:
  • New factory functions for constructing parsers

  • Various performance improvements

1.1.0 (07-08-16)

Initial release. Versioning begins at 1.1.0 due to a clerical error.

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

fro-2.0.0.tar.gz (9.6 kB view hashes)

Uploaded source

Built Distribution

fro-2.0.0-py2.py3-none-any.whl (16.7 kB view hashes)

Uploaded py2 py3

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