Skip to main content
Files added late

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.

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)

Source distribution for pyparsing 1.5.7
File Size Uploaded
pyparsing-1.5.7.zip 965.0 kB Details
pyparsing-1.5.7.tar.gz 939.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pyparsing 1.5.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

3.3.2

2 release files

3.3.1

2 release files

3.3.0

2 release files

3.2.5

2 release files

3.2.4

2 release files

3.2.3

2 release files

3.2.2

2 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.4

2 release files

3.1.3

2 release files

3.1.2

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.9

2 release files

3.0.8

2 release files

3.0.7

2 release files

3.0.6

2 release files

3.0.5

2 release files

3.0.4

2 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.4.7

2 release files

2.4.6

2 release files

2.4.5

2 release files

2.4.4

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.0

2 release files

2.3.1

2 release files

2.3.0

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

7 release files

2.1.9

8 release files

2.1.8

8 release files

2.1.7

8 release files

2.1.6

8 release files

2.1.5

8 release files

2.1.4

8 release files

2.1.3

7 release files

2.1.2

8 release files

2.1.1

8 release files

2.1.0

8 release files

2.0.7

9 release files

2.0.6

8 release files

2.0.5

8 release files

2.0.4

8 release files

2.0.3

10 release files

2.0.2

9 release files

2.0.1

8 release files

2.0.0

6 release files

This release

1.5.7 This release

5 release files

1.5.6

9 release files

1.5.5

9 release files

1.5.4

9 release files

1.5.3

9 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

1 release file

1.4.11

1 release file

1.4.8

1 release file

1.4.7

1 release file

1.4.6

1 release file

1.3.3

1.2

1.1.2

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