| 1 |
Source: pyparsing |
| 2 |
Maintainer: Debian Python Team <[email protected]> |
| 3 |
Uploaders: |
| 4 |
Matthew Grant <[email protected]>, |
| 5 |
Thomas Goirand <[email protected]>, |
| 6 |
Section: python |
| 7 |
Testsuite: autopkgtest-pkg-pybuild |
| 8 |
Build-Depends: |
| 9 |
debhelper-compat (= 13), |
| 10 |
dh-sequence-python3, |
| 11 |
dh-sequence-sphinxdoc <!nodoc>, |
| 12 |
flit, |
| 13 |
pybuild-plugin-pyproject, |
| 14 |
python3-all, |
| 15 |
python3-myst-parser <!nodoc>, |
| 16 |
python3-pytest <!nocheck>, |
| 17 |
python3-railroad-diagrams <!nocheck>, |
| 18 |
python3-sphinx <!nodoc>, |
| 19 |
Standards-Version: 4.7.3 |
| 20 |
Vcs-Browser: https://salsa.debian.org/python-team/packages/pyparsing |
| 21 |
Vcs-Git: https://salsa.debian.org/python-team/packages/pyparsing.git |
| 22 |
Homepage: https://github.com/pyparsing/pyparsing/ |
| 23 |
|
| 24 |
Package: python-pyparsing-doc |
| 25 |
Architecture: all |
| 26 |
Multi-Arch: foreign |
| 27 |
Section: doc |
| 28 |
Depends: |
| 29 |
${misc:Depends}, |
| 30 |
${sphinxdoc:Depends}, |
| 31 |
Description: alternative to creating and executing simple grammars - doc |
| 32 |
The parsing module is an alternative approach to creating and |
| 33 |
executing simple grammars, vs. the traditional lex/yacc approach, or |
| 34 |
the use of regular expressions. The parsing module provides a |
| 35 |
library of classes that client code uses to construct the grammar |
| 36 |
directly in Python code. |
| 37 |
. |
| 38 |
Here's an example: |
| 39 |
. |
| 40 |
from pyparsing import Word, alphas |
| 41 |
greet = Word(alphas) + "," + Word(alphas) + "!" |
| 42 |
hello = "Hello, World!" |
| 43 |
print(hello, "->", greet.parseString(hello)) |
| 44 |
. |
| 45 |
This package contains documentation for python-pyparsing. |
| 46 |
|
| 47 |
Package: python3-pyparsing |
| 48 |
Architecture: all |
| 49 |
Multi-Arch: foreign |
| 50 |
Depends: |
| 51 |
${misc:Depends}, |
| 52 |
${python3:Depends}, |
| 53 |
Suggests: |
| 54 |
python-pyparsing-doc, |
| 55 |
Provides: |
| 56 |
${python3:Provides}, |
| 57 |
Description: alternative to creating and executing simple grammars - Python 3.x |
| 58 |
The parsing module is an alternative approach to creating and |
| 59 |
executing simple grammars, vs. the traditional lex/yacc approach, or |
| 60 |
the use of regular expressions. The parsing module provides a |
| 61 |
library of classes that client code uses to construct the grammar |
| 62 |
directly in Python code. |
| 63 |
. |
| 64 |
Here's an example: |
| 65 |
. |
| 66 |
from pyparsing import Word, alphas |
| 67 |
greet = Word(alphas) + "," + Word(alphas) + "!" |
| 68 |
hello = "Hello, World!" |
| 69 |
print(hello, "->", greet.parseString(hello)) |