Reference server implementation for the OpenContest protocol
Project description
OpenContest Server
Reference backend server implementation for the OpenContest protocol written using Python's HTTPServer and SQLite. No external dependencies other than the Python standard library and optionally Firejail for sandboxing.
Usage
Install the server with pip
or clone this repository. Run the server with ocs
or src/main.py
. You can place contests like the sample contest in a contests
directory.
It is highly recommended to put this server behind a reverse proxy like nginx because HTTPServer does not implement any security features.
For debugging, you can run the server with the version
flag.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for opencontest_server-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59aa9c4820f0c818c7bb52344a86d2212111ac46db330065432f8ba2b422336b |
|
MD5 | ed0c7201e72f0efdba5f194801a0d306 |
|
BLAKE2b-256 | 5996577a9fb7026aeb7fcf6feaa38ccce482a78741c9e66efcbdef15485b2dbb |