Python Quickstart: Setup in minutes

How to get setup with python in minutes

A very handy pattern collection of links and commands to get setup in any project/repo quickly!

Install the following:

Python package and project manager

Install uv, a "An extremely fast Python package and project manager, written in Rust."

UV install link

Recommended Options, especially on Windows

Project setup

uv: project setup

mkdir project
cd project
uv init
uv run main.py

Add packages

On Windows

uv add pandas --native-tls
uv add ruff --dev --native-tls
uv add pytest --dev --native-tls

On other systems

uv add pandas
uv add ruff --dev
uv add pytest --dev