First off, thank you for considering contributing to Python Deep Dive! 🙌
Your support and involvement helps make this project better for everyone. Whether it's fixing bugs, improving documentation, or adding new content — we welcome all contributions.
- Fork the repository
- Create a new branch for your changes:
git checkout -b feature/my-new-topic-
Make your changes locally
-
Commit your changes with a meaningful message:
git commit -m "Add explanation for list comprehensions"- Push your changes:
git push origin feature/my-new-topic- Open a Pull Request (PR)
Go to the GitHub page of your forked repo and click on
Compare & Pull Request.
Here are some ideas on how you can help:
- ✍️ Fix typos or improve grammar in content
- 📘 Add examples or diagrams
- 🧠 Write explanations for concepts
- 🧪 Add practice problems or solutions
- 🚀 Add new topics (e.g., decorators, generators, metaclasses)
- 🧰 Suggest or build beginner-friendly Python projects
- 🐞 Fix bugs in code examples or notebooks
Follow this convention when naming your branches:
| Type | Naming Convention | Example |
|---|---|---|
| Feature | feature/topic-name |
feature/add-oop-summary |
| Bugfix | fix/short-description |
fix/typo-in-list-section |
| Documentation | docs/topic |
docs/update-readme |
- Write clear titles and descriptions
- Reference related issues if applicable:
e.g.,
Fixes #12orRelated to #7 - Ensure your code is properly formatted
- Avoid adding large files or unrelated code
- Use
snake_casefor variables and functions - Add inline comments if code isn’t self-explanatory
- Keep explanations simple and beginner-friendly
- Prefer clarity over cleverness