How ehtterami/caesar works
Caesar is a small command-line utility intended to read text from a string or file, shift characters to encrypt or decrypt, and print or write the result. main.py dispatches to the transformation and file helpers and reads settings from configs/config.ini. The sampled code has data-shape mismatches between the entry point and helpers, so the documented workflow may not run successfully as written; the graph shows the calls present in source, not a guaranteed successful pipeline.
Main entry points: main.py CLI entry · reader.py File reader/writer · encrypt.py Encrypt shift · decrypt.py Decrypt shift
Components 8
Command line
- CLI entry
main.py
Text transforms
- Encrypt shift
modules/encrypt.py - Decrypt shift
modules/decrypt.py
Files and settings
- File reader/writer
modules/reader.py - Settings
configs/config.ini
Other components
- User
- Local filesystem
- Terminal
Connections 9
- User → CLI entry: provides options
- CLI entry → Settings: reads settings
- CLI entry → File reader/writer: requests file read
- File reader/writer → Local filesystem: reads input
- CLI entry → Encrypt shift: dispatches encryption
- CLI entry → Decrypt shift: dispatches decryption
- CLI entry → File reader/writer: requests file write
- File reader/writer → Local filesystem: writes output
- CLI entry → Terminal: prints result