Skip to content

Install

Cocat can be installed through PyPI or conda-forge.

With pip

Cocat has a server side and a client side. If you are a user, you just need to:

pip install cocat

But if you are setting up a server, then you need to add the server extra-dependency:

pip install "cocat[server]"

With micromamba

We recommend using micromamba to manage conda-forge environments (see micromamba's installation instructions). First create an environment, here called my_env, and activate it:

micromamba create -n my_env
micromamba activate my_env

Then install cocat.

micromamba install cocat

If you need the server side:

micromamba install fastapi fastapi-users fastapi-users-db-sqlalchemy anycorn aiosqlite

Development install

You first need to clone the repository:

git clone https://github.com/SciQLop/cocat
cd cocat
If you use conda environments, you will need to install pip first:
micromamba create -n cocat-dev
micromamba activate cocat-dev
micromamba install pip
Then install cocat in editable mode:
pip install -e ".[server]" --group test