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.

Source Distribution

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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file fro-2.0.0.tar.gz.

File metadata

  • Download URL: fro-2.0.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fro-2.0.0.tar.gz
Algorithm Hash digest
SHA256 24d68e91f5dd7ece9da7dd9db2388064d9ad7a345814a6d275114e62295806d8
MD5 d22f049880ccf4763ca465ba0ce68b32
BLAKE2b-256 b09016a38a807067649315baaf169e3e0f4e9e7520bfe3209509e7338f86a5e8

See more details on using hashes here.

File details

Details for the file fro-2.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for fro-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e4dae70ed047712e1cf98f8b1d5091a93b6887f3415e90e9483cb4a28f0d209a
MD5 e0296ebf259fc217d7189f2520229ee3
BLAKE2b-256 bad3cbf9880337d408976aef5b7c41fe766cc1e6d9fedb7d6836b3c256d4906a

See more details on using hashes here.

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