Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.27 KB

File metadata and controls

43 lines (25 loc) · 1.27 KB

Python Linear Algebra

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.

Getting Started

This project uses uv for dependency management and environment setup.

Prerequisites

Make sure you have uv installed. If not, you can install it by following the instructions on the uv documentation.

Environment Setup

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.

Running the Project

To activate the virtual environment and run Python scripts or Jupyter notebooks:

  1. Activate the virtual environment:

    source .venv/bin/activate
  2. Run Jupyter Notebooks:

    launch Jupyter Lab:

    jupyter lab

    You can then open *.ipynb in your browser.