Skip to main content

← All terms Β· Tooling

requirements.txt

Plain text list of dependencies, optionally pinned: `requests==2.31.0`. `pip install -r requirements.txt` recreates the env.

Learn this interactively:

Open lesson lesson-152 β†’

Related β€” Tooling

virtualenv / venvPer-project Python environment. Isolates dependencies so two projects can use di…pipPython's package manager. `pip install requests` fetches from PyPI.pyproject.tomlModern Python project config. Replaces setup.py + setup.cfg + (eventually) requi…BlackOpinionated Python formatter. Stops bike-shedding about style β€” one command, one…ruffFast Rust-based Python linter. Replaces flake8 + isort + several plugins, ~100Γ— …mypyStatic type checker for Python. Catches type errors before runtime. Works best w…