“We shape our tools and thereafter our tools shape us.”
–Marshall McLuhan
Most of this reflection is coming from Trevor Manz in juv: Reproducible Jupyter Notebooks
In Falling Into The Pit of Success, Jeff Atwood quotes:
“I often think of C++ as my own personal Pit of Despair Programming Language. Unmanaged C++ makes it so easy to fall into traps. Think buffer overruns, memory leaks, double frees, mismatch between allocator and deallocator, using freed memory, umpteen dozen ways to trash the stack or heap – and those are just some of the memory issues. There are lots more ‘gotchas’ in C++. C++ often throws you into the Pit of Despair and you have to climb your way up the Hill of Quality.”
–Eric Lippert
“A well-designed system makes it easy to do the right things and annoying (but not impossible) to do the wrong things.”
–Jeff Atwood
python -m venv venv
source venv/bin/activate
python -m pip install -r requirements.txt # or just pip install numpy pandas..
jupyter lab notebook.ipynb
An extremely fast Python package and project manager, written in Rust.
Following the Python Packaging User Guide
Tip
It is recommended to use a virtual environment when working with third party packages.
Following the Python Packaging User Guide
Following the Python Packaging User Guide
venv
.venv
Following the Python Packaging User Guide
venv
Following the Python Packaging User Guide
pip
virtualenv
pip-tools
requirements.in
requirements.txt
poetry
mkdir hello-world
cd hello-world
uv init
uv run hello.py
uv add numpy polars
uv build
uv publish
example.py
To make it a script:
#!/usr/bin/env -S uv run
’ at the beginning of the file./example.py
To install:
To start a marimo notebook:
To start a marimo tutorial:
cell 1:
cell 2:
cell 1:
cell 2: