That library is just a rewrite of an Arduino library. Check if there is a Python version and apply changes.
A better approach would be to use a Linux framebuffer. Then you would run a framebuffer kernel driver for your OLED screen and your Python code would write to the framebuffer.
This project maintains OLED framebuffer drivers for the Raspberry Pi LCD Modules · notro/fbtft Wiki · GitHub
It needs tweaking for the Edison that require programming skills. There were threads here about it.