This repository tries to summarize and replicate the core concepts expressed in 3Blue1Brown's Essence of linear algebra playlist with Python, showcasing the power of Numpy where possible.
This project uses uv
for dependency management and environment setup.
Make sure you have uv
installed. If not, you can install it by following the instructions on the uv documentation.
After cloning the repository, set up your development environment:
Install dependencies and create virtual environment:
uv sync
This command reads pyproject.toml
and uv.lock
to create a virtual environment (.venv
) and install all the required packages (e.g., numpy
). It will also ensure the correct Python version (as specified in .python-version
) is used.
To activate the virtual environment and run Python scripts or Jupyter notebooks:
-
Activate the virtual environment:
source .venv/bin/activate
-
Run Jupyter Notebooks:
launch Jupyter Lab:
jupyter lab
You can then open
*.ipynb
in your browser.