🐍 Python for Everyone

← Back to all chapters

Chapter 32 of 33 Intermediate 45 min read

Capstone Projects

Every chapter so far has ended with a project you could finish in an hour or two. That was deliberate — each one was scoped tightly around that chapter's own skill. A capstone is different on purpose: it's bigger, it takes days instead of hours, and nobody hands you a starter file with the shape already decided. This chapter doesn't teach new Python syntax at all — it teaches the planning skill that actually determines whether a multi-day project ships or stalls out half-finished: how to scope it, how to combine skills from chapters you've already learned, and how to write it up so it's genuinely worth putting in front of an employer.

How to read this chapter

Two candidates both submit a GitHub link with a working Python project. One is a to-do list app that looks exactly like every to-do list tutorial on YouTube — same features, same structure, no tests, a README that says "A simple to-do app built with Python." The other is a smaller, rougher project, but its README explains why it stores data the way it does, admits what it would change for production, and has a handful of tests proving the tricky parts actually work. A reviewer spends thirty seconds on each. Only one of them proves the candidate can think, not just follow instructions. This chapter is about deliberately becoming the second candidate.
Sub-topic 1 of 6

1. What makes a portfolio project worth showing

At a glance
  • "It works" is the minimum bar, not the goal — a reviewer assumes your code runs; what they're actually evaluating is the decisions behind it.
  • A project that looks identical to a well-known tutorial signals "I followed instructions," not "I can build something."
  • The signal that actually reads as hireable: real scope decisions, a real (or realistic) use case, some tests, and a README that explains why, not just what.
Why this matters: most self-taught portfolios are full of technically-working projects that all fail the same way — they prove you can type code someone else already designed, not that you can make the calls a working developer makes every day: what to build first, what to leave out, and how to explain a trade-off honestly.

"I followed a tutorial" and "I made real decisions" can produce visually similar code — the difference is invisible in a screenshot and only shows up when you look closer:

What is... a portfolio project? In a hiring context, a portfolio project is any piece of work a candidate points to as evidence of real ability — distinct from a resume bullet point, which is just a claim. Its entire value is that it's checkable: a reviewer can open the repo, read the code, and see for themselves whether the claims on the resume hold up. That's also exactly why a copy-of-a-tutorial project undercuts itself — the moment a reviewer recognizes the tutorial, the "checkable evidence" becomes evidence of the tutorial's quality, not yours.

None of this means a capstone has to be original in some grand sense — almost every project idea has been built before, many times. What has to be original is the specific set of decisions: which features made the cut, which data shape you chose, which trade-off you accepted and can explain. Two people can build "a task API" from the exact same course and end up with genuinely different, individually defensible projects.

Quick recap
  • "It works" is table stakes — what actually gets evaluated is the decisions behind the code.
  • Real scope, a realistic use case, some tests, and a reasoning-first README are what separate a capstone from a copied tutorial.
  • Originality lives in the decisions, not in inventing a never-before-built idea.
Sub-topic 2 of 6

2. Scoping a capstone

At a glance
  • A capstone needs a roadmap before it needs code: a small, genuinely finishable core (the MVP), plus an explicit list of stretch goals you're allowed to skip.
  • Time-boxing — deciding up front how many days or hours a phase gets — is what stops "just one more feature" from eating the whole project.
  • Over-scoping a first capstone is the single most common way an ambitious learner ends up with nothing finished to show at all.
Why this matters: an unfinished, over-scoped project is worth less in a portfolio than a small, finished one — a reviewer can't evaluate decisions in code that doesn't run yet.
What is... an MVP? MVP (Minimum Viable Product) is the smallest version of an idea that's genuinely usable end-to-end — every core feature present, nothing polished, nothing "extra." For a task API, that's create/read/update/delete on one resource with real persistence, not five resources with three half-built. The point of naming it explicitly is that it becomes a real checkpoint: "is the MVP done?" has a yes/no answer, while "am I making good progress?" doesn't.
What is... time-boxing? Time-boxing means assigning a fixed amount of time to a phase of work in advance, and moving on when that time is up — whether or not the phase feels "done." Applied to a capstone: "MVP gets 3 days, stretch goal 1 gets 1 day, README and tests get 1 day" — not "I'll build until it feels finished," which for a perfectionist rarely arrives on schedule.

A roadmap that actually works has three tiers, in this order, and the order matters — the MVP has to be genuinely runnable before any stretch goal is touched:

The over-scoping trap is specific and predictable: a first capstone idea almost always starts as "a full app with users, auth, a database, a REST API, a frontend, deployment, and tests" — six chapters' worth of skills, attempted simultaneously, with no MVP checkpoint along the way. The fix isn't to want less — it's to sequence the same ambition: build the MVP first, get it fully working and tested, and only then decide whether there's still time left for the rest.

Thought process: an AI assistant is genuinely useful here, but only if you give it your actual constraints (time available, skills you have vs. don't) — asking it to just "help me plan this project" tends to produce an idealized roadmap with no MVP checkpoint at all, the exact failure mode this sub-topic is warning about.

Write the prompt you'd give an AI assistant to help scope your capstone:

Show a strong version of this prompt
I'm scoping a capstone project: [describe your idea in 2-3 sentences]. I have roughly [X days / hours] total to work on it, and I already know [list the skills/chapters you're comfortable with]. Break this into three tiers: (1) a genuinely minimal MVP that's usable end-to-end with no extras -- describe exactly what it can and can't do, (2) a ranked list of 3-5 stretch goals, ordered by which would add the most value if I only have time for one, (3) an explicit "out of scope" list of things this kind of project could plausibly include that I should deliberately skip. Also suggest a rough time-box for the MVP phase alone, given my total time budget.
Go Deeper: what if I finish the MVP faster than expected?

Move straight to stretch goal 1, in ranked order — don't restart planning from scratch. A roadmap finishing ahead of schedule is a good problem to have, but it's still worth resisting the urge to add an unranked, unplanned feature just because there's time; if it's genuinely valuable, it belongs on the stretch-goal list, ranked against the others, not slipped in as an afterthought.

Quick recap
  • A roadmap has three tiers: MVP, ranked stretch goals, explicit out-of-scope.
  • MVP = the smallest genuinely end-to-end version; time-boxing keeps each phase from running long.
  • Over-scoping a first capstone is the most common reason ambitious learners finish nothing.
Sub-topic 3 of 6

3. Combining skills from multiple chapters

At a glance
  • A capstone is defined less by a single new technique than by which earlier chapters' skills it composes into one working system.
  • A useful way to scope an idea: name the 3-5 chapters it draws from, and check that each one is actually load-bearing, not just mentioned.
  • If an idea only really uses one chapter's skill, it's a regular project, not a capstone — capstones exist specifically to prove skills work together.
Why this matters: a real job rarely uses one skill in isolation — a backend feature touches a database, an API layer, error handling, and tests all in the same pull request. A capstone is the first time this course asks you to hold that many moving pieces at once on purpose.

A simple way to find a capstone-worthy idea: list a few earlier chapters whose skills genuinely go together, and see what they add up to.

example skill combinations
Databases (Ch 20-21) + Web APIs (Ch 22) + Testing (Ch 27)
    -> a real backend service with persistence, an HTTP layer, and a
       test suite proving both work together

File/CSV handling (Ch 19) + Data structures (Ch 8-9) + CLI design (Ch 31)
    -> a command-line tool that ingests real data files and reports on
       them, packaged the way a real CLI tool ships

Error handling (Ch 13) + Logging (Ch 31) + Automation/scripting
    -> an "ops toolkit" that behaves safely when things go wrong and
       leaves a trace of what it did

OOP (Ch 14-16) + File persistence (Ch 19) + Testing (Ch 27)
    -> a stateful application (tracker, simulator, small game) that
       saves and reloads its own state reliably

The check that matters isn't "did I mention four chapters in my README" — it's whether each one is actually load-bearing: if you deleted that chapter's skill from the project, would something genuinely break or disappear? A task API that happens to store data in a file it never really needs isn't "combining file handling and web APIs" — it's a web API with an incidental file next to it. A task API whose tests specifically catch a bug in how concurrent requests touch that file is combining them for real.

What is... a "load-bearing" skill? Borrowed from construction: a load-bearing wall can't be removed without the structure failing. Applied to a capstone, a chapter's skill is load-bearing if removing it would break something the project actually depends on — as opposed to a skill that's technically present but doesn't do real work. Naming which chapters are load-bearing in your own project (and being honest when one isn't) is itself part of the planning skill this chapter is teaching.
Quick recap
  • Capstones are defined by which chapters' skills they compose, not one standout technique.
  • List the 3-5 chapters an idea draws from, and check each is load-bearing.
  • An idea using only one chapter's skill is a regular project, not a capstone.
Sub-topic 4 of 6

4. Writing a capstone README that gets you hired

At a glance
  • A README that only explains how to run a project answers the least interesting question a reviewer has.
  • The README sections that actually move a hiring decision: the problem, the architecture decisions and why, honest limitations, and what you'd change for production.
  • An honest limitations section reads as more senior, not less capable — it's evidence you know what "production-ready" actually requires.
Why this matters: a hiring reviewer skims dozens of repos; "how to run it" is scannable in five seconds from the code itself, but "why did you build it this way" only exists if you write it down — and it's the part that actually differentiates candidates.

Here's the anatomy, roughly in the order a reviewer actually reads it:

Example

A directory layout that matches this anatomy — the README sits at the root, not buried where a reviewer has to go looking for it:

task-api/
├── README.md              <- problem, architecture, how to run,
│                              production notes, limitations
├── requirements.txt
├── app/
│   ├── __init__.py
│   ├── models.py
│   ├── routes.py
│   └── db.py
├── tests/
│   └── test_routes.py
└── .gitignore

Notice what's not in that anatomy: a wall of badges, a feature list copied from the code's docstrings, or a "future work" section that vaguely gestures at "add more features." Every section above answers a specific question a reviewer actually has — "what problem," "why built this way," "does it run," "do you know what's missing," in that order.

Thought process: asking an AI assistant to "write my README" tends to produce generic boilerplate padded around a feature list — the useful move is asking it to interview you, or to critique a draft you already wrote against this specific five-part anatomy, so the reasoning stays yours and the AI's job is catching gaps, not inventing content.

Write the prompt you'd give an AI assistant to get feedback on your capstone README:

Show a strong version of this prompt
Here's my capstone README draft: [paste it]. Review it against this five-part anatomy: (1) a one-to-two-sentence problem statement naming a real situation and audience, (2) an architecture/decisions section explaining WHY non-obvious choices were made, not just listing the tech stack, (3) exact, copy-pasteable run instructions, (4) an honest "what I'd do differently in production" section naming corners cut on purpose, (5) an honest limitations section naming what's untested or unhandled. Tell me which of these five sections is missing or too vague, and for each weak section, ask me a specific question that would help me write a stronger version -- don't just write the content for me.
Go Deeper: how long should a capstone README actually be?

Long enough to cover all five sections with real content, short enough that a reviewer reads the whole thing in under two minutes — usually somewhere between half a page and a full page of rendered Markdown. A ten-page README is nearly as bad a signal as a two-line one: it usually means padding, not depth. If a section has nothing substantive to say (a truly trivial project might have no real "production trade-offs"), it's fine to say so briefly rather than stretching it.

Quick recap
  • "How to run it" is necessary but not the section that differentiates a capstone.
  • Cover problem statement, architecture decisions, how to run, production trade-offs, and honest limitations.
  • Admitting what's unfinished or untested reads as senior judgment, not a weakness to hide.
Sub-topic 5 of 6

5. The 5 capstones in this course

At a glance
  • This course ships 5 full capstone roadmaps, each combining a different set of earlier chapters' skills.
  • Each one is a full standalone doc — problem framing, MVP, stretch goals, and structure — not just an idea in a paragraph.
  • You're not expected to build all 5 — Sub-topic 6 covers how to choose.

Each capstone below has its own roadmap doc with the full MVP / stretch-goal / structure breakdown — this is just the pitch for each, and the chapters it leans on hardest.

1 Full-Stack Task API

A real backend service — a Flask/FastAPI Task API backed by a real SQLite database instead of an in-memory dict, a pytest suite proving the two work together correctly (not just individually), and a GitHub Actions pipeline that runs that suite on every push. This is the closest of the five to a standard "backend engineer" portfolio piece, and the one most directly transferable to a junior backend or full-stack role.

Leans on: Ch21 (databases), Ch22 (web APIs/Flask & FastAPI), Ch27 (testing), Ch30 (CI/CD).

Open the Full-Stack Task API roadmap →

2 Data Insights CLI

Takes the pandas analysis pipeline from an earlier chapter's sales-data dashboard and repackages it as a real, installable command-line tool — proper package structure, subcommands, a working pyproject.toml — something someone else could pip install and run against their own CSV, not a script with hardcoded values.

Leans on: Ch23 (NumPy), Ch24 (Pandas), Ch31 (argparse & packaging).

Open the Data Insights CLI roadmap →

3 Ops Toolkit

Takes three separate tools you already built — a log-file analyzer, a resume/keyword scanner, and an API data fetcher — and unifies them into one multi-subcommand CLI with consistent conventions across all three: shared output formatting, shared error handling, one --help system. The point isn't any single tool; it's proving you can take three scripts that don't feel related and make them feel like one coherent product.

Leans on: Ch13 (file/CSV handling), Ch18 (regex), Ch19 (APIs/JSON), Ch31 (packaging pattern).

Open the Ops Toolkit roadmap →

4 Personal Finance Tracker

A genuinely new build, not a repackaging of an earlier project — a real polymorphic Transaction/Income/Expense class hierarchy, persisted to SQLite, with a full pytest suite and a packaged CLI. This is the "prove you can design real OOP, not just follow a template" capstone — getting the data model right (inheritance that's actually load-bearing, not forced) matters more than any single feature.

Leans on: Ch14–16 (OOP & inheritance), Ch21 (databases), Ch27 (testing), Ch31 (packaging).

Open the Personal Finance Tracker roadmap →

5 Open-Source Contribution Simulation

Not a from-scratch build — a simulated version of the actual workflow of contributing to someone else's codebase: reading unfamiliar code, finding and fixing a real bug, writing a test that proves the fix, and opening the kind of pull request description a maintainer would actually want to review. This is the capstone most directly aimed at proving you can work inside code you didn't write, which is most of what a real engineering job actually is.

Leans on: Git/GitHub workflow, testing, reading/debugging unfamiliar code, professional communication.

Open the Open-Source Contribution Simulation roadmap →

Quick recap
  • 5 capstones, each combining a different set of earlier chapters' skills: Task API, Data CLI, Ops Toolkit, Finance Tracker, OSS Simulation.
  • Each has its own full roadmap doc — this section is the pitch, not the plan.
  • Sub-topic 6 covers choosing which one(s) to actually build.
Sub-topic 6 of 6

6. How to pick which capstone(s) to build

At a glance
  • Build at least one capstone all the way to a finished MVP; two, with genuinely different skill combinations, makes a stronger portfolio than one.
  • Choose based on the job or domain you're actually targeting, not which one sounds most impressive in the abstract.
  • Partially completing one is fine — as long as your README is honest about what's done versus planned, per Sub-topic 4.
Why this matters: five finished capstones would obviously make the strongest portfolio, but "obviously strongest, unrealistic to finish" is worse advice than "genuinely finishable" — this course would rather you ship one honestly-scoped capstone than start five and finish none.

A simple way to choose: match the capstone's skill combination to the kind of role you're targeting.

If you can't decide, build two with deliberately different skill combinations — say, the Task API (backend-heavy) and the OSS Simulation (code-reading-heavy) — rather than two that mostly overlap. Two capstones that each prove a different kind of competence tell a reviewer more than two that both prove the same one twice.

What is... a "scoped-down" capstone? A scoped-down capstone is a capstone whose README honestly narrows its own MVP claim to match what actually got built — e.g. "this README originally planned full CRUD plus authentication; what's actually finished is CRUD without auth, documented below as a stretch goal I ran out of time for." This is not a failure state. A capstone that's honestly scoped down and fully working beats one that claims everything from Sub-topic 5's pitch but has broken or missing pieces a reviewer discovers by actually running it.

Thought process: the useful AI-assisted move at this stage isn't "which capstone should I pick" in the abstract — it's giving the assistant your actual constraints (time available, target role, current comfort with each chapter) so the suggestion is grounded, then treating its answer as one input to your own decision, not the decision itself.

Write the prompt you'd give an AI assistant to help you choose:

Show a strong version of this prompt
I'm choosing between 5 capstone projects from a Python course: a Full-Stack Task API (backend/REST/testing), a Data Insights CLI (file handling/CLI/data structures), an Ops Toolkit (error handling/logging/automation), a Personal Finance Tracker (OOP/persistence/data modeling), and an Open-Source Contribution Simulation (Git workflow/reading unfamiliar code/testing). I'm targeting [describe the role/domain you want], I have roughly [X days/weeks], and I'm most comfortable with [list chapters/skills]. Recommend which one (or which two, if I have time for two with different skill combinations) I should build, and explain specifically why it fits my target role better than the others -- not just a generic description of the capstone itself.
Go Deeper: should I list all 5 pitches in my resume, or just what I built?

Only list what you actually built and can defend in an interview. Naming a capstone you didn't finish (even "in progress") invites a question you can't answer well. It's completely fine, and often a good sign, to mention in an interview that you deliberately scoped down or chose one capstone over another for time reasons — that's the same honest-scoping judgment this whole chapter is teaching, just spoken instead of written.

Quick recap
  • Aim for at least one finished capstone; two with different skill combinations is a stronger portfolio than one.
  • Pick based on the role/domain you're targeting, matched against each capstone's skill combination.
  • A scoped-down, honestly-documented partial capstone beats an over-claimed one that doesn't hold up when run.
In the Real World

Points to Remember

← All Chapters Take the Quiz →