Course map
Stage 1: Foundations
Stage 2: Data Integration
Stage 3: Building & Shipping
Stage 4: Customer Engagement
Stage 5: Specialization

Part 02 / Topic 1 of 6

Project layout and virtual environments

Everything you build on an engagement will eventually be run by someone who is not you — a customer engineer, your successor, a scheduler. So the first discipline is a layout and environment they can reproduce without asking:

acme-sync/
  README.md            # how to install and run, in five lines
  requirements.txt     # pinned versions the tool was tested with
  acme_sync/           # the package: one module per concern
  tests/
python -m venv .venv
source .venv/bin/activate        # Windows: .venv\Scripts\activate
pip install -r requirements.txt

One virtual environment per project, versions pinned. The difference from ordinary projects is the audience: at a customer, "works on my machine" means a failed handoff. This course's own requirements.txt pins the exact versions every example ran with — the same habit, applied to a course.

Done here? The practice set for Part 2 — 4 exercises with solutions — is on the part page.

Search the guide