Skip to content

andreafiori/competitive-programming-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Competitive programming problems and solutions in Python

Competitive programming problems and solution implementations in Python from the most popular websites. All scripts and solutions are modified to write unit tests.

Requirements

Python version: 3.13.3

Create virtual env

python -m venv .venv

Activate:

Windows: .venv\Scripts\activate

MacOS/Linux source .venv/bin/activate

Install dependencies

pip install -e . pip install pytest

Docker support

Alternatively, you can use Docker:

docker build --target test -t myapp-test . docker run --rm myapp-test

Run tests

pytest

or

.venv/bin/python -m pytest

Clear pycache directories

If you need to clear all temp pycache directories:

find . | grep -E "(/pycache$|.pyc$|.pyo$)" | xargs rm -rf

Platforms

About

Competitive programming problems and solution implementations in Python from the most popular websites.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages