A Python CLI quiz-game built as learning project following the BeCoder requirements.
- Python (>=3.12,<3.14) — main programming language used to build the CLI application.
- Poetry — dependency manager and project builder for Python.
- mypy – static type checker ensuring type safety and code correctness.
- ruff – Python linter for maintaining clean and consistent code style.
To install project dependencies run:
poetry installThis will automatically create a virtual environment and install all dependencies defined in pyproject.toml
To build the Python package, use:
poetry buildThis command generates two distribution files inside the dist/ folder:
- Wheel (
.whl) — a prebuilt installable package - Source tarball (
.tar.gz) — a gzipped archive of your source code
To install the built wheel into your local Poetry environment (not globally or in the system environment):
poetry run pip install dist/app-1.0.0-py3-none-any.whlAfter that if you run:
poetry run pip listIn the output you will see between packages:
Package Version
----------------- -------
app 1.0.0 <- ✅ installed right now
mypy 1.18.2
ruff 0.14.4
...rest of packagesTo run the installed app now you can run:
poetry run python -m appI hope you find the project interesting — if not, the app doesn’t come with a refund policy 💰
Thanks for checking out the repo ✌🏼