Skip to main content

Python version of SimplePEG

https://travis-ci.org/SimplePEG/Python.svg?branch=master https://coveralls.io/repos/github/SimplePEG/Python/badge.svg?branch=master

To use, simply do:

>>> from simplepeg import SPEG
>>> parser = SPEG()
>>> parser.parse_grammar('GRAMMAR test b -> "a";')
>>> ast = parser.parse_text('a')
>>> print ast.to_json()

or:

>>> from simplepeg import SPEG
>>> parser = SPEG()
>>> ast = parser.parse('GRAMMAR test b -> "a";', 'a')
>>> print ast.to_json()

Metadata

Release files for simplepeg 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simplepeg 1.0.4
File Size Uploaded Provenance Actions
simplepeg-1.0.4.tar.gz 6.8 kB Without provenance Details for simplepeg-1.0.4.tar.gz

Release files / simplepeg-1.0.4.tar.gz

Download URL simplepeg-1.0.4.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7a5260ca8e0e22ced17a89d74a7ba217f929fc8970359691f0435d34f6752fde
BLAKE2b-256 checksum
How to use checksums
43bd2b0014000f992cdbf85854e8eeb003660fc5602cbcb27567c8668dc41999
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for simplepeg 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page