~/talk

Reproducible Python projects using Nix

Talkat PyData Global 2024 · 2024-12-03..12-05· [devops-and-delivery]
name:Avik Basu
links:none on file
slides:none on file

Claims reproducible deterministic environments by using Nix to freeze OS and non‑Python dependencies and combine them with Python tooling. Demonstration builds a small plotting project using Python 3.12, creates a Nix shell that activates a virtualenv, installs a UV-generated requirements lock, and fixes numpy 1.26 by pinned nixpkgs 24.05. It works end‑to‑end — project plots reproduce across machines — while noting harder-to-learn Nix language, modest performance overhead, and limited Python community adoption.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47Deterministic behavior in data science
  3. 5:06Reproducible experiments components
  4. 8:38Challenges in deterministic environments
  5. 10:25Solutions for environment consistency
  6. 15:01What is Nix and why use it
  7. 19:17Building project with Nix
  8. 24:57Running deterministically
  9. 25:41Nix drawbacks and limits
  10. 26:25Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.