Skip to content

arthurazs/pytrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTRADE

Python COMTRADE reader for revision 1999.

TODO

  • Reader for revision 1991 and 2013.
  • Reader for BINARY, BINARY32 and FLOAT32 types.
    • BINARY
    • BINARY32
    • FLOAT32
  • get_analog
    • primary
    • secondary
    • default
  • Unit testing.

Quickstart

pytrade is meant to be used as a lib. The rc below is a mere example to show you what it does.

Tested on debian.

git clone https://github.com/arthurazs/pytrade
cd pytrade

# venv
python -m venv .venv
. .venv/bin/activate

# requirements
pip install .[dev,plot]

# if you get an error running the plots, try installing tk
sudo apt install python3.10-tk

# running the examples
rc

See reader.py for the example code.

About

Python COMTRADE reader for revision 1999.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages