Q-CTRL Open Controls can be installed through
pip or from source. We recommend
pip distribution to get the most recent stable release. If you want the
latest features then install from source.
To use Q-CTRL Open Controls you will need an installation of Python. We recommend using the Anaconda distribution of Python. Anaconda includes standard numerical and scientific Python packages which are optimally compiled for your machine. Follow the Anaconda Installation instructions and consult the Anaconda User guide to get started.
We use interactive jupyter notebooks for our usage examples. The Anaconda python distribution comes with editors for these files, or you can install the jupyter notebook editor on its own.
pip to install the latest version of the Q-CTRL Open Controls Python package.
pip install qctrl-open-controls
The source code is hosted on Github. The repository can be cloned using
git clone email@example.com:qctrl/python-open-controls.git
Once the clone is complete, you have two options:
cd python-open-controls python setup.py develop
Note: We recommend installing using
developto point your installation at the source code in the directory where you cloned the repository.
Follow the instructions from the Poetry documentation to install Poetry.
After you have installed Poetry, use:
cd python-open-controls poetry install
Once installed via one of the above methods, test your installation by running