Python library that generates hierarchical, temporal labeling information for use with SQL databases