Contributions are welcome. The goal of this collection is to provide approachable, self-contained Python projects that beginners can download and run immediately — no setup, no dependencies, just Python. Every script you add should fit that same spirit.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/muhammadalamzeb/python_projects/llms.txt
Use this file to discover all available pages before exploring further.
Project conventions
Before writing any code, make sure your project follows these rules:- Single
.pyfile — each project lives entirely in one file at the repository root. No packages, no subdirectories, no supporting modules. - Standard library only — use only modules that ship with Python (
random,time,os,math, etc.). Nopip installshould ever be required. - Interactive command-line program — scripts must prompt the user for input, respond meaningfully, and run in a clear loop with an explicit exit condition.
Title_Case_With_Underscores.pyfilename — match the naming style of existing files:Fake_Headline_Generator.py,Restaurant_Management_System.py, and so on.
How to contribute
Fork the repository on GitHub
Navigate to the repository page and click Fork to create your own copy under your GitHub account.
Create your script
Add a new
.py file in the repository root following the conventions above. See the section below on what makes a good mini-project.Test that it runs
What makes a good mini-project
Not every script is a good fit. The best contributions share these qualities:- A clear interactive loop — the script keeps running and accepting input until the user deliberately quits.
- Meaningful feedback — the program responds to each action in a way that tells the user what happened (a result, a score, a generated output).
- Graceful handling of invalid input — if a user types a letter where a number is expected, the script should explain the problem and ask again rather than crash.
- Readable by someone learning Python — avoid advanced patterns that would confuse a beginner. If you use a less common technique, add a comment explaining it.
Code style
- Follow PEP 8 for formatting: 4-space indentation, spaces around operators, blank lines between functions.
- Use descriptive variable names (
player_scorerather thanps,user_choicerather thanuc). - Add a comment above any logic that is not immediately obvious — particularly anything involving
random, string manipulation, or game state.
Pull requests that introduce external dependencies (anything requiring
pip install) will not be accepted. The zero-install promise is a core part of what makes this collection useful for beginners.