1
1
Metadata-Version: 2.1
2
2
Name: pyparsing
3
- Version: 2.4 .7
3
+ Version: 3.0 .7
4
4
Summary: Python parsing module
5
5
Home-page: https://github.com/pyparsing/pyparsing/
6
6
Author: Paul McGuire
7
- Author-email: ptmcg@users.sourceforge.net
7
+ Author-email: ptmcg
[email protected]
8
8
License: MIT License
9
9
Download-URL: https://pypi.org/project/pyparsing/
10
10
Platform: UNKNOWN
@@ -14,22 +14,25 @@ Classifier: Intended Audience :: Information Technology
14
14
Classifier: License :: OSI Approved :: MIT License
15
15
Classifier: Operating System :: OS Independent
16
16
Classifier: Programming Language :: Python
17
- Classifier: Programming Language :: Python :: 2
18
- Classifier: Programming Language :: Python :: 2.6
19
- Classifier: Programming Language :: Python :: 2.7
20
17
Classifier: Programming Language :: Python :: 3
21
- Classifier: Programming Language :: Python :: 3.3
22
- Classifier: Programming Language :: Python :: 3.4
23
- Classifier: Programming Language :: Python :: 3.5
24
18
Classifier: Programming Language :: Python :: 3.6
25
19
Classifier: Programming Language :: Python :: 3.7
26
20
Classifier: Programming Language :: Python :: 3.8
27
- Requires-Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.*
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3 :: Only
24
+ Classifier: Programming Language :: Python :: Implementation :: CPython
25
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
26
+ Requires-Python: >=3.6
27
+ Description-Content-Type: text/x-rst
28
+ Provides-Extra: diagrams
29
+ Requires-Dist: jinja2 ; extra == 'diagrams'
30
+ Requires-Dist: railroad-diagrams ; extra == 'diagrams'
28
31
29
32
PyParsing -- A Python Parsing Module
30
33
====================================
31
34
32
- |Build Status|
35
+ |Build Status| |Coverage|
33
36
34
37
Introduction
35
38
============
@@ -42,8 +45,9 @@ Python code.
42
45
43
46
*[Since first writing this description of pyparsing in late 2003, this
44
47
technique for developing parsers has become more widespread, under the
45
- name Parsing Expression Grammars - PEGs. See more information on PEGs at*
46
- https://en.wikipedia.org/wiki/Parsing_expression_grammar *.]*
48
+ name Parsing Expression Grammars - PEGs. See more information on PEGs*
49
+ `here <https://en.wikipedia.org/wiki/Parsing_expression_grammar>`__
50
+ *.]*
47
51
48
52
Here is a program to parse ``"Hello, World!"`` (or any greeting of the form
49
53
``"salutation, addressee!"``):
@@ -63,7 +67,8 @@ The Python representation of the grammar is quite readable, owing to the
63
67
self-explanatory class names, and the use of '+', '|' and '^' operator
64
68
definitions.
65
69
66
- The parsed results returned from ``parseString()`` can be accessed as a
70
+ The parsed results returned from ``parseString()`` is a collection of type
71
+ ``ParseResults``, which can be accessed as a
67
72
nested list, a dictionary, or an object with named attributes.
68
73
69
74
The pyparsing module handles some of the problems that are typically
@@ -81,24 +86,24 @@ Documentation
81
86
=============
82
87
83
88
There are many examples in the online docstrings of the classes
84
- and methods in pyparsing. You can find them compiled into online docs
85
- at https://pyparsing-docs.readthedocs.io/en/latest/. Additional
89
+ and methods in pyparsing. You can find them compiled into `online docs <https://pyparsing-docs.readthedocs.io/en/latest/>`__. Additional
86
90
documentation resources and project info are listed in the online
87
- GitHub wiki, at https://github.com/pyparsing/pyparsing/wiki. An
88
- entire directory of examples is at
89
- https://github.com/pyparsing/pyparsing/tree/master/examples.
91
+ `GitHub wiki <https://github.com/pyparsing/pyparsing/wiki>`__. An
92
+ entire directory of examples can be found `here <https://github.com/pyparsing/pyparsing/tree/master/examples>`__.
90
93
91
94
License
92
95
=======
93
96
94
- MIT License. See header of pyparsing.py
97
+ MIT License. See header of the ` pyparsing.py <https://github.com/pyparsing/pyparsing/blob/master/pyparsing/__init__.py#L1-L23>`__ file.
95
98
96
99
History
97
100
=======
98
101
99
- See CHANGES file.
102
+ See ` CHANGES <https://github.com/pyparsing/pyparsing/blob/master/CHANGES>`__ file.
100
103
101
- .. |Build Status| image:: https://travis-ci.org/pyparsing/pyparsing.svg?branch=master
102
- :target: https://travis-ci.org/pyparsing/pyparsing
104
+ .. |Build Status| image:: https://github.com/pyparsing/pyparsing/actions/workflows/ci.yml/badge.svg
105
+ :target: https://github.com/pyparsing/pyparsing/actions/workflows/ci.yml
106
+ .. |Coverage| image:: https://codecov.io/gh/pyparsing/pyparsing/branch/master/graph/badge.svg
107
+ :target: https://codecov.io/gh/pyparsing/pyparsing
103
108
104
109
0 commit comments