In this technical report, we introduce a Python based toolkit intended to act as an Energy Management System (EMS) for Smart Buildings. EMS are called to play an important role in the buildings of the future by addressing interoperability problems, improving energy efficiency and user comfort. The package presented in this report provides the mathematical and data pre-processing tools to leverage existent Home Automation software into fully-fledged EMS. The package is developed in the Smart Grid Interoperability Laboratory (SGIL) of the JRC in Petten, the Netherlands, where it has been tested. An example that is deployed in the laboratory is provided in this report.