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 ControlLogix 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

Download files

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

Source Distribution

cpppo-4.4.2.tar.gz (457.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page