skip to navigation
skip to content

pyComtrade 0.2.0

Python module for reading and writing Comtrade files.


pyComtrade is a python module that provides you a transparent way for reading and writing oscillographic files stored in IEEE Comtrade format.

Comtrade stands for COMmon format for Transient Data Exchange for power systems. It is a file format standardised by the IEEE that is used to store transient signals from Digital Fault Recorders, Oscillographs or Digital Protective Relays.

pyContrade was created and maintained by Miguel Moreto at Federal University of Santa Catarina - Brazil

Feel free to use the module in your program. Don’t forget that pyComtrade is licensed under the GNU version 3 license. For more info about this read the COPYING.txt.

Source code version control is hosted at GitHub:

Release Notes

  • Version 0.2.0
    • Implemented a method to read digital channels.
    • Updated example.
    • Added one more test data with digital channel data.
  • Version 0.1.0
    • Reads only analog channels.
    • Reads only binary Comtrade files (1999 Standard).

To Do

  • Read ASCII Comtrade Files (only binary for now)
  • Review the last version of Comtrade Standard C37.111-2013.



Use the executables (win32 or win64). The binaries was generated for Python 2.7. If you have different version, install from source.

From source (windows and linux)

Extract the source .zip file.


python.exe install


See at the source file.

Thanks for using pyComtrade module.

File Type Py Version Uploaded on Size (md5) MS Windows installer any 2013-10-07 229KB
pyComtrade-0.2.0.win32.exe (md5) MS Windows installer any 2013-10-07 202KB (md5) Source 2013-10-07 2MB