A tiny Python projetc for ö-esu-esu sessions. Use it to practise finding your way around a codebase and making your first open-source contributon.
textkit has a few small helpers: counting words, checking palindromes, and working out how many classes you need to reach 75% attendance. conflicts
💡 This repo has a few deliberate mistakes: typos, missing steps, hidden bugs and missing tests. Finding and fixing them is the point!
- Python 3.9 or newer
- Git
- A GitHub account
Clone the repo and run the tool from the project folder:
git clone https://github.com/o-esu-esu/oesu-playground.git
cd oesu-playground
python -m textkit count "open source is fun"
python -m textkit attendance 30 50You should receive an answer straight away. See docs/usage.md for every command.
First install the test tools:
pip install -r requirements-dev.txtThen run the suite:
python -m pytestEvery pull request runs the tests automatically, so you will see a ✅ or ❌ on your PR.
| Path | What's inside |
|---|---|
textkit/ |
the code |
tests/ |
the tests (pytest) |
docs/ |
longer documentation |
contributors/ |
one file per contributor, add yours! |
.github/ |
issue templates, PR template and the test workflow |
New here? Start with CONTRIBUTING.md, then try the treasure hunt. Look for issues labelled good first issue.
Be kind. Read our Code of Conduct.