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).

In addition, the ability to read, write and poll remote PLCs of various types including Modbus/TCP is provided.

Project details


Release history Release notifications | RSS feed

This version

2.3.1

Download files

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

Source Distribution

cpppo-2.3.1.tar.gz (151.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page