An OpenContest server written in Python
Project description
OpenContest Server
An OpenContest server written using Python's HTTPServer and SQLite, with no external dependencies other than the Python standard library, requests, and Firejail.
Usage
Install the server with pip
:
pip install opencontest-server
Run the server with ocs
. You can place contests like the sample contest in a contests
directory.
For debugging, you can run the server with python -m ocs --verbose
For production usage, you should put this server behind a reverse proxy like nginx because Python's HTTPServer does not implement any security features. You will also need to a domain name and a TLS certificate which you can easily obtain using Let's Encrypt.
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.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91ea60115839f45694b130538f1008ea4d056490a48a24fa4935a87a1b8b14d3 |
|
MD5 | 89946e909c151462ac536e727fb8c72f |
|
BLAKE2b-256 | 892864bb32ba7da769819e9fb2aabd51f59037c245c50683bab2af20a1b2e369 |