Tirsvad 2426ec8d90
TirSystem/git-workflows: Release / release (push) Skipped
TirSystem/git-workflows: Sync GitHub mirror metadata / sync-metadata (push) Successful in 19s
TirSystem/git-workflows: Publish accepted milestones / publish (push) Successful in 37s
TirSystem/git-workflows: Publish wiki / publish-wiki (push) Successful in 46s
TirSystem/git-workflows: Validate / validate (push) Successful in 42s
TirSystem/git-workflows: OpenGrep / opengrep (push) Successful in 2m2s
Merge pull request 'MIL-001: Baseline and framework alignment' (#10) from mil-001-baseline into main
2026-11-15 09:42:50 +01:00
2026-11-15 16:39:56 +08:00
2026-10-04 06:54:44 +02:00

🔐 Caesar Cipher

A beginner-friendly Python program that encodes and decodes messages with the Caesar cipher.

📚 Table of Contents

🧭 Overview

The Caesar cipher shifts every letter by a fixed number of places (with a shift of 3, E becomes H). This project, from Udemy's 100 Days of Code: The Complete Python Pro Bootcamp (Day 8), finds letter positions with list.index and wraps around the alphabet with the modulo operator. The interactive program lets you encode or decode as many messages as you like. Code lives in src/, tests in tests/, docs in docs/.

📋 Requirements

  • Python 3.13 or newer
  • pytest (development only; no runtime dependencies)
  • Optional: Doxygen to build the API docs

🛠️ Setup

Create and activate a local virtual environment, then upgrade pip and install the project:

python -m venv .venv

Activate it:

# Linux / macOS
source .venv/bin/activate
# Git Bash on Windows
source .venv/Scripts/activate
# Windows PowerShell
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"

▶️ Run

python -m caesar_cipher

or, after installation, caesar-cipher.

Caesar cipher running in a terminal

🧪 Tests

python -m pytest

Build the API docs with doxygen Doxyfile (output in docs/doxygen/html).

📄 License

GNU AGPL-3.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
Caesar cipher in Python: encode and decode messages. Udemy 100 Days of Code, Day 8.
Readme AGPL-3.0
123 KiB
0 Stars 1 Watchers 0 Forks
Languages
Python 100%