Skip to main content

Python module for reading and writing Comtrade files.

Project description


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.

Project details

Download files

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

Files for pyComtrade, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pyComtrade-0.2.0.win32.exe (207.1 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size (234.8 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size (2.4 MB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page