Skip to main content

Cpppo is a Communication Protocol Python Parser and Originator

Project description

Cpppo is used to create event-driven state machines which consume a stream of input and generate a series of state changes, or an indication that no progress is possible due to (for example) exhaustion of input symbols.

This is useful for creating parsers for complex grammars describing languages, including binary computer protocols.

An example included with cpppo is an implementation of a subset of the EtherNet/IP CIP language used by some industrial control equipment, such as Rockwell’s Logix Controllers. The cpppo.server.enip package can be used to create Python programs which can parse requests in this protocol (eg. as a server, to implement something like a simulated Controller) or originate requests in this protocol (eg. as a client, sending commands to a Controller).

Project details

Release history Release notifications

This version


Download files

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

Files for cpppo, version 1.7
Filename, size File type Python version Upload date Hashes
Filename, size cpppo-1.7.tar.gz (121.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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