Installation¶
Prerequisites¶
To start using pysynthbio, first you need to have an account with synthesize.bio. Go here to create one.
If you want to store your token in the system keyring, you need to install the keyring
package.
Standard Installation¶
You can install the latest stable version using pip:
pip install pysynthbio
To ensure it installed correctly you can run:
pip show pysynthbio
Development Installation¶
Install the latest development version directly from the repository:
git clone https://github.com/synthesizebio/pysynthbio.git
cd pysynthbio
pip install -e .
Installing from a GitHub Release¶
Alternatively, you can install a specific version directly from its GitHub Release page. This is useful for testing pre-releases or specific tagged versions.
Go to the Releases page of the repository.
Find the release tag you want to install (e.g.,
v2.2.1
).Expand the “Assets” section for that release.
Download the
.whl
(wheel) file or the.tar.gz
(source distribution) file. The wheel file is generally preferred if available for your platform.Install the downloaded file using pip:
# Example using a downloaded wheel file
pip install /path/to/pysynthbio-2.2.1-py3-none-any.whl
# Example using a downloaded source distribution
pip install /path/to/pysynthbio-2.2.1.tar.gz