Fixed database typo and removed unnecessary class identifier.
This commit is contained in:
parent
00ad49a143
commit
45fb349a7d
5098 changed files with 952558 additions and 85 deletions
|
@ -0,0 +1 @@
|
|||
pip
|
18
venv/Lib/site-packages/pyparsing-2.4.7.dist-info/LICENSE
Normal file
18
venv/Lib/site-packages/pyparsing-2.4.7.dist-info/LICENSE
Normal file
|
@ -0,0 +1,18 @@
|
|||
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.
|
104
venv/Lib/site-packages/pyparsing-2.4.7.dist-info/METADATA
Normal file
104
venv/Lib/site-packages/pyparsing-2.4.7.dist-info/METADATA
Normal file
|
@ -0,0 +1,104 @@
|
|||
Metadata-Version: 2.1
|
||||
Name: pyparsing
|
||||
Version: 2.4.7
|
||||
Summary: Python parsing module
|
||||
Home-page: https://github.com/pyparsing/pyparsing/
|
||||
Author: Paul McGuire
|
||||
Author-email: ptmcg@users.sourceforge.net
|
||||
License: MIT License
|
||||
Download-URL: https://pypi.org/project/pyparsing/
|
||||
Platform: UNKNOWN
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: Intended Audience :: Information Technology
|
||||
Classifier: License :: OSI Approved :: MIT License
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 2
|
||||
Classifier: Programming Language :: Python :: 2.6
|
||||
Classifier: Programming Language :: Python :: 2.7
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.3
|
||||
Classifier: Programming Language :: Python :: 3.4
|
||||
Classifier: Programming Language :: Python :: 3.5
|
||||
Classifier: Programming Language :: Python :: 3.6
|
||||
Classifier: Programming Language :: Python :: 3.7
|
||||
Classifier: Programming Language :: Python :: 3.8
|
||||
Requires-Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.*
|
||||
|
||||
PyParsing -- A Python Parsing Module
|
||||
====================================
|
||||
|
||||
|Build Status|
|
||||
|
||||
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 at*
|
||||
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.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 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
|
||||
at https://pyparsing-docs.readthedocs.io/en/latest/. Additional
|
||||
documentation resources and project info are listed in the online
|
||||
GitHub wiki, at https://github.com/pyparsing/pyparsing/wiki. An
|
||||
entire directory of examples is at
|
||||
https://github.com/pyparsing/pyparsing/tree/master/examples.
|
||||
|
||||
License
|
||||
=======
|
||||
|
||||
MIT License. See header of pyparsing.py
|
||||
|
||||
History
|
||||
=======
|
||||
|
||||
See CHANGES file.
|
||||
|
||||
.. |Build Status| image:: https://travis-ci.org/pyparsing/pyparsing.svg?branch=master
|
||||
:target: https://travis-ci.org/pyparsing/pyparsing
|
||||
|
||||
|
8
venv/Lib/site-packages/pyparsing-2.4.7.dist-info/RECORD
Normal file
8
venv/Lib/site-packages/pyparsing-2.4.7.dist-info/RECORD
Normal file
|
@ -0,0 +1,8 @@
|
|||
__pycache__/pyparsing.cpython-36.pyc,,
|
||||
pyparsing-2.4.7.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
pyparsing-2.4.7.dist-info/LICENSE,sha256=ENUSChaAWAT_2otojCIL-06POXQbVzIGBNRVowngGXI,1023
|
||||
pyparsing-2.4.7.dist-info/METADATA,sha256=Ry40soZZiZrAkSMQT_KU1_1REe6FKa5UWzbT6YA8Mxs,3636
|
||||
pyparsing-2.4.7.dist-info/RECORD,,
|
||||
pyparsing-2.4.7.dist-info/WHEEL,sha256=kGT74LWyRUZrL4VgLh6_g12IeVl_9u9ZVhadrgXZUEY,110
|
||||
pyparsing-2.4.7.dist-info/top_level.txt,sha256=eUOjGzJVhlQ3WS2rFAy2mN3LX_7FKTM5GSJ04jfnLmU,10
|
||||
pyparsing.py,sha256=oxX_ZOz8t-eros-UWY7nJgcdUgD-rQ53Ck0qp7_v3Ig,273365
|
6
venv/Lib/site-packages/pyparsing-2.4.7.dist-info/WHEEL
Normal file
6
venv/Lib/site-packages/pyparsing-2.4.7.dist-info/WHEEL
Normal file
|
@ -0,0 +1,6 @@
|
|||
Wheel-Version: 1.0
|
||||
Generator: bdist_wheel (0.34.2)
|
||||
Root-Is-Purelib: true
|
||||
Tag: py2-none-any
|
||||
Tag: py3-none-any
|
||||
|
|
@ -0,0 +1 @@
|
|||
pyparsing
|
Loading…
Add table
Add a link
Reference in a new issue