Cpppo is a Communication Protocol Python Parser and Originator
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.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size cpppo-2.4.1.tar.gz (158.3 kB)||File type Source||Python version None||Upload date||Hashes View hashes|