Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Parser Tools in Python, a collection of tools for hand writing lexers and parsers.

Project description

Parser Tools in Python (partpy, pronounced Par-Tee-Pie), a collection of tools for hand writing lexers and parsers in python.

There are many parser generators but there isn’t much help for those who wish to roll their own parser/lexer as counter-intuitive as that may sound. partpy provides a solid base for hand written parsers and lexers through a library of common tools.

By using partpy as the base for your own parser or lexer the hope is to provide you with an environment where you can dive straight into the language design, recognition and whatever else you need to do without having to figure out how string matching should be done or most of the error handling process.

partpy supports out of the box Cython or RPython compilation for added performance.

Documentation & Usage

All documentation and usage information is hosted at


If you have any suggestions or questions about partpy feel free to email me at

You can check out more of what I am doing at my blog.

If you encounter any errors or problems with partpy, please let me know! Open an Issue at the GitHub main repository.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
partpy-1.2.4.tar.gz (13.4 kB) Copy SHA256 hash SHA256 Source None Aug 13, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page