Python code to create sqlite databases representing electrical load and then chart them.