Metadata-Version: 2.1
Name: bbndb
Version: 2019.2
Summary: BBN Configuration Database
Home-page: https://github.com/BBN-Q/bbndb
Author: Graham Rowlands
License: Apache 2.0 License
Download-URL: https://github.com/BBN-Q/bbndb
Keywords: quantum qubit instrument experiment control database configuration
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: sqlalchemy (>=1.2.15)
Requires-Dist: numpy (>=1.12.1)
Requires-Dist: networkx (>=1.11)
Requires-Dist: IPython

# BBNDB

Configuration database for BBN Qubit Measurement Framework. Used by both Auspex and QGL as a shared, versioned, means of storing instrument, qubit, and filter configurations. Based on SQLAlchemy framework.

## Upgrading your channel library to a new version

We use *alembic* to facilitate migrations. Examining the `url.sqlalchemy` field in *alembic.ini* you can see the database that is being tracked by default.

`
sqlalchemy.url = sqlite:///BBN.sqlite
`

These do not always work with SQLite due to the inability to alter the tables in certain ways. 

In the simplest case alembic can be run as follows:
`bash
alembic upgrade head
`

For information on how to generate your own migrations, please see *alembic/README*.

