Skip to main content

Python

Let's install Python! Python is a very easy-to-learn language, that we used to serve the website.

Install uv​

uv will be our python version and dependency manager, to handle dependencies of the project.

Here is the usual way to install uv with an automated script. Visit the official installation page for other installation methods.

Run this script in a powershell window:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Check that uv is correctly installed with

uv --version

Install Python and dependencies​

uv is very easy to use. It will automatically install the right python version for you and then retrieve all the dependencies with their correct versions. You need to run the following command and watch the magic.

cd backend # ensure that we are in the correct working directory
uv sync --dev

That's it! You finished to install python, congratulations 🥳