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.

Files for fro, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size fro-2.0.0-py2.py3-none-any.whl (16.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size fro-2.0.0.tar.gz (9.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page