API Versioning#

Python API version numbers are directly associated with the Flow360 solver version you want to use. New projects created with the Python API will by default use the corresponding solver version.

For example if you want to use Flow360 solver version “release-25.8”, you should install the Python API version “v25.8.*”.

Cloud resources (project, geometry, surface mesh, volume mesh, case) and their configurations are backward compatible. Meaning that an old cloud resource can be loaded into any newer Python API version and/or submitted to any newer solver version. However forward compatibility is not guaranteed.

Note

Cloud resources’ versions are determined by the solver version they are created with. It is generally recommended to use the corresponding Python API version associated with the solver version you want to work with to avoid compatibility issues.

Install a specific version of the Python API#

To install a specific version of Python API:

pip install -U "flow360==25.8.*"

-U moves to the newest 25.8 release even when an older 25.8 release is already installed; without it, pip reports “Requirement already satisfied” and keeps the older one.

Managing multiple versions#

For users who need to work with multiple solver versions simultaneously, we recommend installing each version of the Python API in a separate isolated environment. The examples below set up the Python API for both “release-25.12” and “release-25.11”, with uv or with Conda.

Conda#

Use Conda if you already work with it, or if you need a named environment to select in Jupyter or an IDE.

1. Create and configure environment for Release 25.12

# Create a new conda environment named 'flow360-25.12' with its own Python
conda create -n flow360-25.12 python=3.11 -y

# Activate the environment
conda activate flow360-25.12

# Install the specific version of Flow360 API
pip install "flow360==25.12.*"

2. Create and configure environment for Release 25.11

# Create a new conda environment named 'flow360-25.11' with its own Python
conda create -n flow360-25.11 python=3.11 -y

# Activate the environment
conda activate flow360-25.11

# Install the specific version of Flow360 API
pip install "flow360==25.11.*"

3. List available virtual environments

conda env list

You should see the following output:

# conda environments:
#
# * -> active
# + -> frozen
base                     C:\ProgramData\miniconda3
flow360-25.11        *   C:\Users\UserName\.conda\envs\flow360-25.11
flow360-25.12            C:\Users\UserName\.conda\envs\flow360-25.12

4. Switch between versions

You can now easily switch between different API versions by activating the corresponding Conda environment:

# Switch to 25.12 environment and use solver version "release-25.12"
conda activate flow360-25.12

python submit_to_25.12.py

# Switch to 25.11 environment and use solver version "release-25.11"
conda activate flow360-25.11

python submit_to_25.11.py