Package: python3-pygmars (1.0.0-4.fc44)
Craft simple regex-based small language lexers and parser
pygmars is a simple lexing and parsing library designed to craft lightweight lexers and parsers using regular expressions. pygmars allows you to craft simple lexers that recognizes words based on regular expressions and identify sequences of words using lightweight grammars to obtain a parse tree. The lexing task transforms a sequence of words or strings (e.g. already split in words) in a sequence of Token objects, assigning a label to each word and tracking their position and line number. In particular, the lexing output is designed to be compatible with the output of Pygments lexers. It becomes possible to build simple grammars on top of existing Pygments lexers to perform lightweight parsing of the many (130+) programming languages supported by Pygments. The parsing task transforms a sequence of Tokens in a parse Tree where each node in the tree is recognized and assigned a label. Parsing is using regular expression-based grammar rules applied to recognize Token sequences. These rules are evaluated sequentially and not recursively: this keeps things simple and works very well in practice. This approach and the rules syntax has been battle-tested with NLTK from which pygmars is derived.
Package information
- Homepage
- [https://github.com/aboutcode-org/pygmars]
- License
- Apache-2.0
- Mainteneur du paquet aval
- eclipseo, gotmax23Observed Nov 24, 2026 [source]
- Paquet source
- [python-pygmars]
- Software project
- [python-pygmars]
Versions and downloads for python3-pygmars
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 1.0.0-4.fc4444 / everything | noarchFedora 44 · Everything · x86_64 | 55 KiB | 152 KiB | list of files | python3-pygmars-1.0.0-4.fc44.noarch.rpm |
| 1.0.0-4.fc4444 / everything | noarchFedora 44 · Everything · aarch64 | 55 KiB | 152 KiB | list of files | python3-pygmars-1.0.0-4.fc44.noarch.rpm |
About these downloads
Chaque ligne est une métadonnée d'index pour une version, une architecture, une suite et un dépôt. Noms, URL et tailles viennent de la source ; un lien est un emplacement de récupération mutable, pas une redistribution OpenFactory.
Other packages built from python-pygmars
- python-pygmars-doc
Documentation for python-pygmars
Dependencies and recommendations for python3-pygmars
dep: python(abi) (= 3.14)
Package not available
Chemins de fichiers du paquet (29)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/python3.14/site-packages/pygmars
- /usr/lib/python3.14/site-packages/pygmars-1.0.0.dist-info
- /usr/lib/python3.14/site-packages/pygmars-1.0.0.dist-info/INSTALLER
- /usr/lib/python3.14/site-packages/pygmars-1.0.0.dist-info/licenses
- /usr/lib/python3.14/site-packages/pygmars-1.0.0.dist-info/licenses/apache-2.0.LICENSE
- /usr/lib/python3.14/site-packages/pygmars-1.0.0.dist-info/licenses/AUTHORS.rst
- /usr/lib/python3.14/site-packages/pygmars-1.0.0.dist-info/licenses/CHANGELOG.rst
- /usr/lib/python3.14/site-packages/pygmars-1.0.0.dist-info/licenses/CODE_OF_CONDUCT.rst
- /usr/lib/python3.14/site-packages/pygmars-1.0.0.dist-info/licenses/NOTICE
- /usr/lib/python3.14/site-packages/pygmars-1.0.0.dist-info/licenses/README.rst
- /usr/lib/python3.14/site-packages/pygmars-1.0.0.dist-info/METADATA
- /usr/lib/python3.14/site-packages/pygmars-1.0.0.dist-info/top_level.txt
- /usr/lib/python3.14/site-packages/pygmars-1.0.0.dist-info/WHEEL
- /usr/lib/python3.14/site-packages/pygmars/__init__.py
- /usr/lib/python3.14/site-packages/pygmars/lex.py
- /usr/lib/python3.14/site-packages/pygmars/parse.py
- /usr/lib/python3.14/site-packages/pygmars/__pycache__
- /usr/lib/python3.14/site-packages/pygmars/__pycache__/__init__.cpython-314.opt-1.pyc
- /usr/lib/python3.14/site-packages/pygmars/__pycache__/__init__.cpython-314.pyc
- /usr/lib/python3.14/site-packages/pygmars/__pycache__/lex.cpython-314.opt-1.pyc
- /usr/lib/python3.14/site-packages/pygmars/__pycache__/lex.cpython-314.pyc
- /usr/lib/python3.14/site-packages/pygmars/__pycache__/parse.cpython-314.opt-1.pyc
- /usr/lib/python3.14/site-packages/pygmars/__pycache__/parse.cpython-314.pyc
- /usr/lib/python3.14/site-packages/pygmars/__pycache__/tree.cpython-314.opt-1.pyc
- /usr/lib/python3.14/site-packages/pygmars/__pycache__/tree.cpython-314.pyc
- /usr/lib/python3.14/site-packages/pygmars/tree.py
- /usr/share/doc/python3-pygmars
- /usr/share/doc/python3-pygmars/CODE_OF_CONDUCT.rst
- /usr/share/doc/python3-pygmars/README.rst
Field source: Fedora 44 Everything x86_64
