Update dashboard, memory, root +2 more (+3 ~5)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pip
|
||||
@@ -0,0 +1,145 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: pyparsing
|
||||
Version: 3.3.2
|
||||
Summary: pyparsing - Classes and methods to define and execute parsing grammars
|
||||
Author-email: Paul McGuire <ptmcg.gm+pyparsing@gmail.com>
|
||||
Requires-Python: >=3.9
|
||||
Description-Content-Type: text/x-rst
|
||||
License-Expression: MIT
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Intended Audience :: Information Technology
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Programming Language :: Python :: 3.13
|
||||
Classifier: Programming Language :: Python :: 3.14
|
||||
Classifier: Programming Language :: Python :: 3 :: Only
|
||||
Classifier: Programming Language :: Python :: Implementation :: CPython
|
||||
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
||||
Classifier: Topic :: Software Development :: Compilers
|
||||
Classifier: Topic :: Text Processing
|
||||
Classifier: Typing :: Typed
|
||||
License-File: LICENSE
|
||||
Requires-Dist: railroad-diagrams ; extra == "diagrams"
|
||||
Requires-Dist: jinja2 ; extra == "diagrams"
|
||||
Project-URL: Documentation, https://pyparsing-docs.readthedocs.io/en/latest/
|
||||
Project-URL: Homepage, https://github.com/pyparsing/pyparsing/
|
||||
Project-URL: Source, https://github.com/pyparsing/pyparsing.git
|
||||
Provides-Extra: diagrams
|
||||
|
||||
PyParsing -- A Python Parsing Module
|
||||
====================================
|
||||
|
||||
|Version| |Build Status| |Coverage| |License| |Python Versions| |Snyk Score|
|
||||
|
||||
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.
|
||||
|
||||
*[Since first writing this description of pyparsing in late 2003, this
|
||||
technique for developing parsers has become more widespread, under the
|
||||
name Parsing Expression Grammars - PEGs. See more information on PEGs*
|
||||
`here <https://en.wikipedia.org/wiki/Parsing_expression_grammar>`__
|
||||
*.]*
|
||||
|
||||
Here is a program to parse ``"Hello, World!"`` (or any greeting of the form
|
||||
``"salutation, addressee!"``):
|
||||
|
||||
.. code:: python
|
||||
|
||||
from pyparsing import Word, alphas
|
||||
greet = Word(alphas) + "," + Word(alphas) + "!"
|
||||
hello = "Hello, World!"
|
||||
print(hello, "->", greet.parse_string(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 ``parse_string()`` is a collection of type
|
||||
``ParseResults``, which 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 examples directory includes a simple SQL parser, simple CORBA IDL
|
||||
parser, a config file parser, a chemical formula parser, and a four-
|
||||
function algebraic notation parser, among many others.
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
There are many examples in the online docstrings of the classes
|
||||
and methods in pyparsing. You can find them compiled into `online docs <https://pyparsing-docs.readthedocs.io/en/latest/>`__. Additional
|
||||
documentation resources and project info are listed in the online
|
||||
`GitHub wiki <https://github.com/pyparsing/pyparsing/wiki>`__. An
|
||||
entire directory of examples can be found `here <https://github.com/pyparsing/pyparsing/tree/master/examples>`__.
|
||||
|
||||
AI Instructions
|
||||
===============
|
||||
|
||||
There are also instructions for AI agents to use when helping you to create your parser. They can
|
||||
be pulled from the GitHub project repository, at pyparsing/ai/best_practices.md. You can also tell
|
||||
the AI to access them programmatically after installing pyparsing, either from the CLI with
|
||||
``python -m pyparsing.ai.show_best_practices`` or within python with
|
||||
``import pyparsing; pyparsing.show_best_practices()``.
|
||||
|
||||
|
||||
License
|
||||
=======
|
||||
|
||||
MIT License. See header of the `pyparsing __init__.py <https://github.com/pyparsing/pyparsing/blob/master/pyparsing/__init__.py#L1-L23>`__ file.
|
||||
|
||||
History
|
||||
=======
|
||||
|
||||
See `CHANGES <https://github.com/pyparsing/pyparsing/blob/master/CHANGES>`__ file.
|
||||
|
||||
|
||||
Performance benchmarks
|
||||
======================
|
||||
|
||||
For usage instructions and details on the performance benchmark suite, see
|
||||
``tests/README.md`` in this repository.
|
||||
|
||||
.. |Build Status| image:: https://github.com/pyparsing/pyparsing/actions/workflows/ci.yml/badge.svg
|
||||
:target: https://github.com/pyparsing/pyparsing/actions/workflows/ci.yml
|
||||
|
||||
.. |Coverage| image:: https://codecov.io/gh/pyparsing/pyparsing/branch/master/graph/badge.svg
|
||||
:target: https://codecov.io/gh/pyparsing/pyparsing
|
||||
|
||||
.. |Version| image:: https://img.shields.io/pypi/v/pyparsing?style=flat-square
|
||||
:target: https://pypi.org/project/pyparsing/
|
||||
:alt: Version
|
||||
|
||||
.. |License| image:: https://img.shields.io/pypi/l/pyparsing.svg?style=flat-square
|
||||
:target: https://pypi.org/project/pyparsing/
|
||||
:alt: License
|
||||
|
||||
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/pyparsing.svg?style=flat-square
|
||||
:target: https://pypi.org/project/python-liquid/
|
||||
:alt: Python versions
|
||||
|
||||
.. |Snyk Score| image:: https://snyk.io//advisor/python/pyparsing/badge.svg
|
||||
:target: https://snyk.io//advisor/python/pyparsing
|
||||
:alt: pyparsing
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
pyparsing-3.3.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
pyparsing-3.3.2.dist-info/METADATA,sha256=MxGouUnXD3GiuXiKkyfxHZ1aaoAS1sBGyiVK0t6Hf0U,5783
|
||||
pyparsing-3.3.2.dist-info/RECORD,,
|
||||
pyparsing-3.3.2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
||||
pyparsing-3.3.2.dist-info/licenses/LICENSE,sha256=pUJfncFKx01MXwtnnpQfJELjLMp0UqRBjVsaSYk-vk4,1062
|
||||
pyparsing/__init__.py,sha256=CMHM5EzJSJglz-PCASv_k5W14tRkhrCf6GSI4KrPL24,13438
|
||||
pyparsing/__pycache__/__init__.cpython-312.pyc,,
|
||||
pyparsing/__pycache__/actions.cpython-312.pyc,,
|
||||
pyparsing/__pycache__/common.cpython-312.pyc,,
|
||||
pyparsing/__pycache__/core.cpython-312.pyc,,
|
||||
pyparsing/__pycache__/exceptions.cpython-312.pyc,,
|
||||
pyparsing/__pycache__/helpers.cpython-312.pyc,,
|
||||
pyparsing/__pycache__/results.cpython-312.pyc,,
|
||||
pyparsing/__pycache__/testing.cpython-312.pyc,,
|
||||
pyparsing/__pycache__/unicode.cpython-312.pyc,,
|
||||
pyparsing/__pycache__/util.cpython-312.pyc,,
|
||||
pyparsing/__pycache__/warnings.cpython-312.pyc,,
|
||||
pyparsing/actions.py,sha256=pDW63VkWh5TqR6AKOMyDCobI0JF-QuBc45AI-oIkD8w,8104
|
||||
pyparsing/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
pyparsing/ai/__pycache__/__init__.cpython-312.pyc,,
|
||||
pyparsing/ai/best_practices.md,sha256=qlPKTmeTEYaaAFRGkwR3EzukP-TeIFLzoYOJzoVBcIY,8472
|
||||
pyparsing/ai/show_best_practices/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
pyparsing/ai/show_best_practices/__main__.py,sha256=xGXaCqBTTWZxbdLNz5G9y6cMK1Ppm7bcgVYgD1AcKmE,49
|
||||
pyparsing/ai/show_best_practices/__pycache__/__init__.cpython-312.pyc,,
|
||||
pyparsing/ai/show_best_practices/__pycache__/__main__.cpython-312.pyc,,
|
||||
pyparsing/common.py,sha256=SsEAzXRJq2D3HdGA5XRP-ww2aY2ctCpS5EbuDaglK1I,17205
|
||||
pyparsing/core.py,sha256=v4WJji-3hVmlTNHU0ihPRj1omvu3Tbl7y0JmuznPVEY,251832
|
||||
pyparsing/diagram/__init__.py,sha256=NAtp0ZWok37JJ1TVREvZaD4CqzvIQJRUHOAFHl_auoA,26929
|
||||
pyparsing/diagram/__pycache__/__init__.cpython-312.pyc,,
|
||||
pyparsing/exceptions.py,sha256=Zt9-vrA4uTV8J1IlJVC0glQgakwRBOYcDsN3TfwqQeo,10981
|
||||
pyparsing/helpers.py,sha256=TWvUo8mnkQz4_kjjJUTlkF_CwshTx0vZDkPzd2yFW9I,41793
|
||||
pyparsing/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
pyparsing/results.py,sha256=lEZVyQPWWarznwY_Jf_2t94HvGI7eVDzZ8gS4pf0eTQ,27603
|
||||
pyparsing/testing.py,sha256=kcq6sLPyA23hrwDzB0NF5X61KGz0IRDjnhObC62_mOk,15452
|
||||
pyparsing/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
pyparsing/tools/__pycache__/__init__.cpython-312.pyc,,
|
||||
pyparsing/tools/__pycache__/cvt_pyparsing_pep8_names.cpython-312.pyc,,
|
||||
pyparsing/tools/cvt_pyparsing_pep8_names.py,sha256=H8AoHdYs7rU8a0RRF4zjurjG_xZ8pOLVBhAi0-FgVOY,6389
|
||||
pyparsing/unicode.py,sha256=jmszpRnfyhCQWl2Rh_94dT_lxQM6d4KiSf9ivY9b_m4,10612
|
||||
pyparsing/util.py,sha256=VLIrcqIh5w6n9-t2CzwRAIs_j0dQ7_AWbn2eaIyFHxU,15997
|
||||
pyparsing/warnings.py,sha256=wQWNM7Kal10OQBHHcG9SgdwaBeFbUe3fDEF3fcHBHCE,357
|
||||
@@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: flit 3.12.0
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
@@ -0,0 +1,20 @@
|
||||
Copyright (c) 2003-2025 Paul McGuire
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be
|
||||
included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
Reference in New Issue
Block a user