Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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.

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyComtrade-0.2.0.win32.exe (207.1 kB) Copy SHA256 Checksum SHA256 any Windows Installer Oct 7, 2013 (234.8 kB) Copy SHA256 Checksum SHA256 any Windows Installer Oct 7, 2013 (2.4 MB) Copy SHA256 Checksum SHA256 Source Oct 7, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting