cquery.py can now be used as a Python module