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 http://pythonhosted.org/fro.

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
fro-2.0.0-py2.py3-none-any.whl (16.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3
fro-2.0.0.tar.gz (9.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page