Python Versions and Packages

The project settings file configures the project for a specific version of Python. This file is named yourprojectname.celbridge , and is visible in the explorer panel.

Python version

The Python section of the project settings file declares the Python version for the project. For example, this declares Python version 3.13.6 for a project:

[python]
version = "3.13.6"

Note

Every project must have a [python] section, and a Python language version specified.

When you create a new Celbridge project an up-to-date version of Python will autopmatically be declared in the project settings file created with the project.

Python Packages

Additionally, you can specific Pythn (PyPi) packages to be automatically loaded through the project settings file.

For example, let’s add the data analysis library Pandas to our Celbridge project.

  1. Open the .celbridge project settings file:
    • double-click it in the explorer panel.

  2. Under the packages key in the [python] section, type “pandas”:
    • ensure you wrap double-quotes around the package name.

Screenshot showing Python version and extensions in .celbridge configuration file
  1. Reload the project:
    • navigate to the hambuger menu in the top left and click Reload project.

  2. The console window will show Pandas being installed.

You can specify multiple packages by declaring a comma-separate list of them in the packages key. For example, here we specify both the “pandas” and “numpy” packages:

[python]
version = "3.13.6"
packages = ["pandas", "numpy"]

For a list of Python packages visit Pypi