This wrapper around python-sc2 focuses on the units. Once you tell it to create a unit the necessary buildings will be created. most upgrades work as well.
pip sc2
In the main.py file there are 6 overridable methods for controlling base expansion, upgrades, training units, and attacking. The base is automatically defended with a methode I wrote called kill_invaders.
Interesting abilities may be added in the future.