Support multiple specs in Python API
Issue #25
new
Right now the Python API uses a global specification. This supports most use cases but not more complex ones. It would be better to use something closer to the R API where a Python object can be instantiated that holds the spec.