A collection of small but complete command-line applications written in Python.
Each mini-project focuses on a different real-world task: validating license plates, handling greetings in a banking context, computing fuel usage, and simplifying social text.
- License Plate Validator – checks if a plate number follows formatting rules.
- Bank Greeting Evaluator – assigns a monetary value based on how politely the user greets.
- Fuel Gauge Calculator – converts fractions into fuel percentages with special cases for empty and full.
- Text Shortener (Twitter-style) – removes vowels to shorten a message.
Each project can run independently, or all can be accessed from a single interactive menu.
Clone the repository and run the main script.
git clone https://github.com/yourusername/smart-cli-mini-projects.git
cd smart-cli-mini-projects
python bank_fuel_plate_twittr.pygit clone https://github.com/yourusername/smart-cli-mini-projects.git
cd smart-cli-mini-projects
python3 bank_fuel_plate_twittr.pyChoose a project to run:
1. Plate
2. Bank
3. Fuel
4. Twitter
Enter project name or number: fuel
Fraction: 1/2
50%
Another example:
Choose a project to run:
1. Plate
2. Bank
3. Fuel
4. Twitter
Enter project name or number: twitter
What's the text?: CAPS TEST
CPS TST
- All projects run in a terminal/command prompt.
- Tested with Python 3.11+.
- Lightweight and dependency-free (except for optional test suite with
pytest).