A playful yet practical Python library packed with mini-modules for creative coding, automation experiments, and terminal fun.
py-libs is your mini-toolkit of Python scripts designed for quick creativity โ whether youโre building a fun CLI project, testing logic, or exploring how small utilities evolve into full-fledged packages.
Each module is self-contained yet extendable โ perfect for learners who want to practice Python concepts (functions, imports, randomness, data structures, file I/O) while creating something delightful.
| ๐งฉ Module | โ๏ธ Description | ๐ง Concepts Practiced |
|---|---|---|
| ๐ญ MadLibs Generator | Interactive word-based story builder. Input random words and watch a story unfold! | Strings, Input/Output, Randomization |
| ๐ Joke Generator | Returns a random programming or general joke every time. | Lists, Random module |
| ๐ฌ Quote Generator | Displays a random motivational or witty quote from curated collections. | File handling, Functions |
| ๐งฎ Math Tricks (experimental) | Showcases small algorithmic tricks or fun numeric patterns. | Logic building, Loops |
| ๐ง Trivia & Riddles (planned) | Challenge mode with riddles or trivia questions. | Conditionals, Dictionaries |
| ๐ผ๏ธ ASCII Art Engine (coming soon) | Convert text into ASCII visuals for terminal art. | Algorithms, Character mapping |
| ๐งฐ Utils (core) | Common helper functions and template code reused across modules. | Modular programming |
- ๐งฉ Plug-and-Play โ Run any file directly or import into your own scripts.
- ๐ Modular โ Each module works independently but shares a common style.
- ๐ง Educational โ Perfect for learning Python through creative tasks.
- ๐จ Expandable โ Add your own mini-module and submit a PR!
- ๐ฌ Community-Driven โ Fun scripts from developers, for developers.
Think of
py-libsas your Python playground โ where logic meets creativity.๐ก From a simple quote generator today to a meme bot tomorrow โ itโs all about small ideas evolving into big ones.
- Clone the repository:
git clone https://github.com/bugOpsX/py-libs.git
cd py-libs
cd src-
Make sure you have Python installed (Python 3.8+ recommended).
-
Install dependencies (if any):
pip install -r requirements.txt
I welcome contributions from the community! Hereโs how you can contribute:
-
Fork the Repository Click the Fork button at the top-right corner of this page to create a copy of the repository in your GitHub account.
-
Clone Your Fork
git clone https://github.com/your-username/py-libs.git -
Create a Branch Create a new branch for your contribution:
git checkout -b feature/your-feature-name
-
Make Your Changes Add new programs, scripts, or improvements. Follow the folder structure (C++/PYTHON). Add comments and make your code clean and readable.
-
Commit Your Changes
git add .
git commit -m "Add your message here"
-
Push to Your Branch
git push origin feature/your-feature-name- Create a Pull Request
Go to your forked repository on GitHub. Click Compare & Pull Request. Provide a description of your changes and submit the PR.
Your contribution will be reviewed and merged if everything looks good! ๐ Happy Coding! ๐