python3-ply - Lex and Yacc implementation for Python3

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Main amd64
Package name python3-ply
Package version 3.11
Package release 1
Package architecture all
Package type deb
Installed size 269 B
Download size 45.55 KB
Official Mirror
PLY   is   yet  another   implementation   of   lex   and  yacc   for
Python.  Although  several  other  parsing tools  are  available  for
Python, there are  several reasons why you might want  to take a look
at PLY:
* It's implemented entirely in Python.
* It uses  LR-parsing which is reasonably efficient  and well suited
for larger grammars.
* PLY  provides most  of  the standard  lex/yacc features  including
support for  empty productions, precedence  rules, error recovery,
and support for ambiguous grammars.
* PLY is  extremely easy  to use and  provides very  extensive error


Package Version Architecture Repository
python3-ply_3.11-1_all.deb 3.11 all Ubuntu Main
python3-ply - - -


Name Value
python3:any >= 3.3.2-2~


Name Value
python3-ply-lex-3.10 -
python3-ply-yacc-3.10 -


Type URL
Binary Package python3-ply_3.11-1_all.deb
Source Package ply

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python3-ply deb package:
    # sudo apt-get install python3-ply




2018-02-21 - Stefano Rivera <>
ply (3.11-1) unstable; urgency=medium
[ Stefano Rivera ]
* Team upload.
* New upstream release.
- Produces reproducible output. Closes: #890620.
* Bump copyright years.
* Bump Standards-Version to 4.1.3, no changes needed.
[ Ondřej Nový ]
* d/control: Set Vcs-* to
* d/copyright: Use https protocol in Format field
2016-11-18 - Arnaud Fontaine <>
ply (3.9-1) unstable; urgency=medium
[ Ondřej Nový ]
* Fixed VCS URL (https).
[ Arnaud Fontaine ]
* New upstream release. Closes: #833428.
* d/control:
+ Bump debhelper compat level to 10 (5 is deprecated).
+ Bump Standards-Version to 3.9.8. No change needed.
2015-09-02 - Barry Warsaw <>
ply (3.7-1) unstable; urgency=medium
* Team upload.
* New upstream release.
* debian/patches
- Refreshed: relax-lex-tabversion-check.patch
- Removed; applied upstream: fix-lex-tabversion.patch,
more-test-fixes.patch, fixed-lexer-line-tracking.patch
- Added: py35-compat.patch (Closes: #797840)
2014-10-16 - Arnaud Fontaine <>
ply (3.4-5) unstable; urgency=medium
* d/rules: add manpage for dh_python3-ply.
2014-10-16 - Arnaud Fontaine <>
ply (3.4-4) unstable; urgency=medium
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
[ Arnaud Fontaine ]
* Remove Gustavo Franco from Uploaders as he is retiring. Closes: #729398.
* Enable tests during package build. Thanks to James Page. Closes: #734366.
+ d/rules: Execute lex and yacc tests for all python versions.
+ d/p/*.patch: Cherry picked fixes from upstream VCS to resolve
compatibility issues with Python >= 3.3.
* d/control: bump Standards-Version to 3.9.6. No changes needed.
* Add dh_python3-ply to generate proper package Depends for Python3.
Closes: #714099.
* d/patches/*: remove meaningless (at least with quilt) numbering prefix.
2012-05-14 - Arnaud Fontaine <>
ply (3.4-3) unstable; urgency=low
* debian/control: bump Standards-Version to 3.9.3. No changes needed.
* Add debian/source/options to ignore changes in egg-info/* to prevent
FTBFS if built twice. Closes: #671248.
* debian/copyright: switch to version 1.0 of machine-readable format.
2011-07-04 - Jakub Wilk <>
ply (3.4-2) unstable; urgency=low
* Team upload.
* Set PYTHONPATH correctly when generating names of virtual packages.
2011-06-12 - Arnaud Fontaine <>
ply (3.4-1) unstable; urgency=low
[ Arnaud Fontaine ]
* New upstream release.
* Switch to dh_python2.
+ debian/control:
- Bump cdbs dependency to 0.4.90-1~.
- Bump python-all dependency to 2.6.6-9~.
- Remove Build-Depends on python-support.
- Add X-Python-Version field.
- Add ${python:Breaks}.
* Add python3-ply binary package. Closes: #605659.
+ debian/control:
- Add python3-ply binary package.
- Build-Depends on python3-all and add X-Python3-Version field.
* debian/copyright:
+ Update copyright years.
* Provide virtual packages for lex and yacc tabversions. Thanks to Jakub
Wilk. Closes: #627862.
[ Daniele Tricoli ]
* debian/control:
- Bumped Standard-Version to 3.9.2. No changes needed.
* debian/patches/01_fix-lex-tabversion.patch:
- Set proper _tabversion in ply.lex.
* debian/patches/02_relax-lex-tabversion-check.patch:
- Don't break already built packages with wrong _tabversion.
* debian/source/format:
- Switched to dpkg-source 3.0 (quilt) format.
2009-09-28 - Arnaud Fontaine <>
ply (3.3-1) unstable; urgency=low
* New upstream release.
* debian/control:
+ Depend on python-pkg-resources instead of python-setuptools as the
latter is not necessary on runtime. Closes: #546430.
+ Update Standards-Version to 3.8.3. No changes needed.
+ Bump python-support version to 0.90.
* Remove useless debian/pycompat.

See Also

Package Description
python3-polib_1.1.0-3_all.deb Python 3 library to parse and manage gettext catalogs
python3-prettytable_0.7.2-3_all.deb library to represent tabular data in visually appealing ASCII tables (Python3)
python3-problem-report_2.20.9-0ubuntu7_all.deb Python 3 library to handle problem reports
python3-protobuf_3.0.0-9.1ubuntu1_amd64.deb Python 3 bindings for protocol buffers
python3-psutil_5.4.2-1_amd64.deb module providing convenience functions for managing processes (Python3)
python3-psycopg2_2.7.4-1_amd64.deb Python 3 module for PostgreSQL
python3-ptyprocess_0.5.2-1_all.deb Run a subprocess in a pseudo terminal from Python 3
python3-pyasn1-modules_0.2.1-0.2_all.deb Collection of protocols modules written in ASN.1 language (Python 3)
python3-pyasn1_0.4.2-3_all.deb ASN.1 library for Python (Python 3 module)
python3-pyatspi_2.26.0+dfsg-1_all.deb Assistive Technology Service Provider Interface - Python3 bindings
python3-pycurl_7.43.0.1-0.2_amd64.deb Python bindings to libcurl (Python 3)
python3-pyelftools_0.24-4_all.deb pure-python3 library for parsing ELF and DWARF
python3-pygments_2.2.0+dfsg-1_all.deb syntax highlighting package written in Python 3
python3-pyinotify_0.9.6-1_all.deb simple Linux inotify Python bindings
python3-pylibacl_0.5.3-1build2_amd64.deb module for manipulating POSIX.1e ACLs (Python3 version)