Rapid fire: set up a project environment from scratch.
BeginnerConceptBest practices & rapid-fire commands
Answer
python3 -m venv .venv && source .venv/bin/activate
python -m pip install --upgrade pip
pip install -e ".[dev]"
pip install -r requirements.txt
pip list --outdated
pip show boto3
python -c "import sys; print(sys.version, sys.executable)"
uv venv && uv pip install -r requirements.txt # uv equivalent
More on Best practices & rapid-fire commands
What does a production-quality automation script always include?IntermediateHow do you handle configuration in a Python tool?IntermediateWhat are the most common security mistakes in Python ops code?AdvancedBash or Python for this task: how do you decide?BeginnerRapid fire: one-liners useful during an incident.IntermediateRapid fire: pytest commands.Beginner