Competitive programming problems and solution implementations in Python from the most popular websites. All scripts and solutions are modified to write unit tests.
Python version: 3.13.3
python -m venv .venv
Activate:
Windows: .venv\Scripts\activate
MacOS/Linux source .venv/bin/activate
pip install -e . pip install pytest
Alternatively, you can use Docker:
docker build --target test -t myapp-test . docker run --rm myapp-test
pytest
or
.venv/bin/python -m pytest
If you need to clear all temp pycache directories:
find . | grep -E "(/pycache