Tirsvad 40135b90bd
TirSystem/git-workflows: Release / release (push) Skipped
TirSystem/git-workflows: Sync GitHub mirror metadata / sync-metadata (push) Successful in 28s
TirSystem/git-workflows: Publish accepted milestones / publish (push) Successful in 45s
TirSystem/git-workflows: Publish wiki / publish-wiki (push) Successful in 55s
TirSystem/git-workflows: Validate / validate (push) Successful in 45s
TirSystem/git-workflows: OpenGrep / opengrep (push) Successful in 2m9s
Merge pull request 'MIL-001: Baseline and framework alignment' (#22) from mil-001-baseline into main
2026-11-15 09:48:53 +01:00
2026-11-15 16:46:10 +08:00
2026-10-04 07:38:59 +02:00

🚀 Secret Auction Program

A beginner-friendly Python program that runs a blind auction: bidders enter their name and bid one after another, the screen is cleared between bidders, and the highest bidder wins.

📚 Table of Contents

🧭 Overview

This is the Day 9 project of Udemy's 100 Days of Code: The Complete Python Pro Bootcamp. Each bidder enters a name and a bid, which are stored in a dictionary (name → bid). After each bidder the program asks whether there are more bidders and, if so, clears the screen so the next bidder cannot see earlier bids. When everyone has bid, the program announces the winner.

See the program flowchart and the plan and milestones.

🖼️ Screenshots

Entering a bid:

Entering a bid

Announcing the winner:

Announcing the winner

📋 Requirements

  • Python 3.13 or newer
  • No runtime dependencies
  • pytest for the tests (installed by the dev extra)
  • Doxygen (optional, to generate the API documentation)

🛠️ Setup

Create and activate a local virtual environment, upgrade pip, then install the project with its development tools.

Windows (PowerShell):

python -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"

Linux / macOS:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"

▶️ Run

With the virtual environment active:

python -m secret_auction.main

or use the installed command:

secret-auction

🧪 Tests

python -m pytest

To generate the API documentation (output in docs/doxygen/):

doxygen Doxyfile

📄 License

Licensed under the GNU Affero General Public License v3.0 — see LICENSE.

📎 Appendix: Project documents

The documents a newcomer needs, in reading order.

Document What it tells you
Business Case Why the project exists, its scope and success criteria
Stakeholder Analysis Who is involved; the stakeholder IDs used for owners and reviewers
Project Plan The gateways and their schedule
Milestones One document per gateway: Go/No-Go criteria and tasks
Artifact registry Where each artifact type lives, the next version, the PO language and domain
Traceability matrix How the artifacts link and when each was last reviewed

S
Description
Blind auction CLI in Python - Udemy 100 Days of Code, Day 9 (The Secret Auction Program).
Readme AGPL-3.0
143 KiB
0 Stars 1 Watchers 0 Forks
Languages
Python 100%