/pytr-binary

pytr as a single binary

Primary LanguageDockerfile

pytr: Use TradeRepublic in terminal (binary)

This repo is baesd on https://github.com/marzzzello/pytr which provides a python libary to interact with the API from Trade Republic online brokerage.


I was looking for a way to use pytr but was not keen to setup a whole Python environment. Instead, I thought of using PyInstaller to create a self-contained binary.

I created Docker files which will build the pytr binary and copy it to a scratch image. This can then be exported to the host via

docker build --output=. --target=export .

The used base image are old on purpose: PyInstaller links against libc which is forward compatible but not backward compatible. This should make sure the pytr binary runs on new and older systems.