5 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.
PyParsing -- A Python Parsing Module
====================================
Introduction
============
The pyparsing module is an alternative approach to creating and executing
simple grammars, vs. the traditional lex/yacc approach, or the use of
regular expressions. The pyparsing module provides a library of classes
that client code uses to construct the grammar directly in Python code.
Here is a program to parse "Hello, World!" (or any greeting of the form
"<salutation>, <addressee>!"):
from pyparsing import Word, alphas
greet = Word( alphas ) + "," + Word( alphas ) + "!"
hello = "Hello, World!"
print hello, "->", greet.parseString( hello )
The program outputs the following:
Hello, World! -> ['Hello', ',', 'World', '!']
The Python representation of the grammar is quite readable, owing to the
self-explanatory class names, and the use of '+', '|' and '^' operator
definitions.
The parsed results returned from parseString() can be accessed as a
nested list, a dictionary, or an object with named attributes.
The pyparsing module handles some of the problems that are typically
vexing when writing text parsers:
- extra or missing whitespace (the above program will also handle
"Hello,World!", "Hello , World !", etc.)
- quoted strings
- embedded comments
The .zip file includes examples of a simple SQL parser, simple CORBA IDL
parser, a config file parser, a chemical formula parser, and a four-
function algebraic notation parser. It also includes a simple how-to
document, and a UML class diagram of the library's classes.
Installation
============
Do the usual:
python setup.py install
(pyparsing requires Python 2.3.2 or later.)
Documentation
=============
See:
HowToUsePyparsing.html
License
=======
MIT License. See header of pyparsing.py
History
=======
See CHANGES file.
Metadata
Release files for pyparsing 1.5.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Files added late
5 files were uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyparsing-1.5.7.zip | 965.0 kB | Without provenance | Details | |
| pyparsing-1.5.7.tar.gz | 939.6 kB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyparsing-1.5.7.win32-py2.7.exe | Details | |||
| pyparsing-1.5.7.win32-py2.6.exe | Details | |||
| pyparsing-1.5.7.win32-py2.5.exe | Details |
Total release size: 2.5 MB
Release files / pyparsing-1.5.7.zip
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | pyparsing-1.5.7.zip |
|---|---|
| Size | 965.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a6329d4679fb249d4e0a4afbae6e041f9abbc299920d6efe5d8c4e9fb1407bc
|
|
BLAKE2b-256 checksum How to use checksums |
2e26e8fb5b4256a5f5036be7ce115ef8db8d06bc537becfbdc46c6af008314ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyparsing-1.5.7.tar.gz
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | pyparsing-1.5.7.tar.gz |
|---|---|
| Size | 939.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
646e14f90b3689b005c19ac9b6b390c9a39bf976481849993e277d7380e6e79f
|
|
BLAKE2b-256 checksum How to use checksums |
6f2c47457771c02a8ff0f302b695e094ec309e30452232bd79198ee94fda689f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyparsing-1.5.7.win32-py2.7.exe
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | pyparsing-1.5.7.win32-py2.7.exe |
|---|---|
| Size | 231.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b21232cef657a2477036374c5790b4bbeee3f02efece80b8b68c69e0104dde6c
|
|
BLAKE2b-256 checksum How to use checksums |
2f74078bee51e3439579eee83238d0b614d63e8c8da155a56bea336eeed59b6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyparsing-1.5.7.win32-py2.6.exe
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | pyparsing-1.5.7.win32-py2.6.exe |
|---|---|
| Size | 231.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b417014a66d0896c73f0ac77b4f4c7e2c06eb2e11ddcab2f5ed14a7348a461d
|
|
BLAKE2b-256 checksum How to use checksums |
223ed3cef8d938cee7609c968ca73fefb12caab55243034fb31dff80a6dadfaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyparsing-1.5.7.win32-py2.5.exe
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | pyparsing-1.5.7.win32-py2.5.exe |
|---|---|
| Size | 101.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cac34e3620a34b7e6888d82dd62ebcf322b7c62c94c7a2816808dc37a3ec6256
|
|
BLAKE2b-256 checksum How to use checksums |
927d7f4027d01213931929c2c6a599da3f9c05efa3a3758be34ce4c391d65b43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyparsing 1.5.7
Upload timing
Files added late
5 files were uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
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.