A module for parsing string representations of objects
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.
- 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
Initial release. Versioning begins at 1.1.0 due to a clerical error.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|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|