Download domjudge contest source code tool.
$ pip install -r requirements.txt
API_HOST={Your domjuage url}
API_USERNAME={domjudge apiuser username}
API_PASSWORD={domjudge apiuser password}
$ uvicorn main:app
The server will run at http://localhost:8000