python3-tpg - A Python "toy parser generator"

Property Value
Distribution Fedora 30
Repository Fedora x86_64
Package filename python3-tpg-3.2.2-8.fc30.noarch.rpm
Package name python3-tpg
Package version 3.2.2
Package release 8.fc30
Package architecture noarch
Package type rpm
License LGPLv2+
Maintainer -
Download size 375.22 KB
Installed size 572.96 KB
Toy Parser Generator is a lexical and syntactic parser generator
for Python3. This generator was born from a simple statement: YACC
is to complex to use in simple cases (calculators, configuration
files, small programming languages, ...).
TPG can very simply write parsers that are useful for most every
day needs (even if it can't make your coffee). With a very clear
and simple syntax, you can write an attributed grammar that is
translated into a recursive descendant parser. TPG generated code
is very closed to the original grammar. This means that the parser
works "like" the grammar. A grammar rule can be seen as a method
of the parser class, symbols as method calls, attributes as method
parameters and semantic values as return values. You can also add
Python code directly into grammar rules and build abstract syntax
trees while parsing.


Package Version Architecture Repository
python3-tpg-3.2.2-8.fc30.noarch.rpm 3.2.2 noarch Fedora
python3-tpg - - -


Name Value
/usr/bin/python3 -
python(abi) = 3.7


Name Value
python3-tpg = 3.2.2-8.fc30
python3.7dist(tpg) = 3.2.2
python3dist(tpg) = 3.2.2


Type URL
Binary Package python3-tpg-3.2.2-8.fc30.noarch.rpm
Source Package python-tpg-3.2.2-8.fc30.src.rpm

Install Howto

Install python3-tpg rpm package:

# dnf --refresh install python3-tpg




2019-02-02 - Fedora Release Engineering <> - 3.2.2-8
- Rebuilt for
2018-07-14 - Fedora Release Engineering <> - 3.2.2-7
- Rebuilt for
2018-06-19 - Miro Hrončok <> - 3.2.2-6
- Rebuilt for Python 3.7
2018-02-09 - Fedora Release Engineering <> - 3.2.2-5
- Rebuilt for
2017-07-27 - Fedora Release Engineering <> - 3.2.2-4
- Rebuilt for
2017-02-11 - Fedora Release Engineering <> - 3.2.2-3
- Rebuilt for

See Also

Package Description
python3-tqdm-4.28.1-3.fc30.noarch.rpm Fast, Extensible Progress Meter
python3-traceback2-1.4.0-19.fc30.noarch.rpm Backport of the traceback module
python3-tracer-0.7.1-4.fc30.noarch.rpm Common files for tracer
python3-trademgen-1.00.3-6.fc30.x86_64.rpm Python bindings for trademgen
python3-traitlets-4.3.2-9.fc30.noarch.rpm A lightweight derivative of Enthought Traits for configuring Python objects
python3-traitsui-6.0.0-3.fc30.noarch.rpm User interface tools designed to complement Traits
python3-transaction-2.4.0-2.fc30.noarch.rpm Transaction management for Python 3
python3-transforms3d-0.3.1-6.fc30.noarch.rpm 3 dimensional spatial transformations
python3-transitions-0.6.9-3.fc30.noarch.rpm Documentation for python-transitions
python3-translationstring-1.3-9.fc30.noarch.rpm Library used for internationalization (i18n) duties related to translation
python3-transtats-cli-0.2.0-4.fc30.noarch.rpm Transtats command line interface to query transtats server
python3-tre-0.8.0-25.20140228gitc2f5d13.fc30.x86_64.rpm Python bindings for the tre library
python3-tree-format-0.1.2-5.fc30.noarch.rpm Python library to generate nicely formatted trees, like the UNIX tree command
python3-treq-17.8.0-7.fc30.noarch.rpm A requests-like API built on top of twisted.web's Agent
python3-trezor-0.11.2-1.fc30.noarch.rpm Python library for communicating with TREZOR Hardware Wallet