No project description provided
Project description
A HTTP interface around SRComp, the fifth round of Student Robotics competition software.
This repository provides a JSON API to accessing information about the state of the competition. It is a lightweight Flask application wrapping the SRComp python APIs to the competition state.
Usage
Run with ./run $COMPSTATE.
Test with ./run-tests.
Developers may wish to use the SRComp Dev repo to setup a dev instance.
State Caching
Since loading a given state repo takes a non-trivial amount of time, this is cached within the Flask application. Updates to the state repo are not tracked directly, and must be signalled by running the ./update script provided.
Requirements
Flask
python-dateutil
simplejson
Don’t forget to also check the requirements for SRComp!
Project details
Release history Release notifications | RSS feed
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 sr.comp.http-1.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 905aed1b252aaee43cebdd58f1520d429a4cd8e88696f9046b1ca1f29579cbe0 |
|
MD5 | 52fc60faad69c83f55ae24cd8cbcdc33 |
|
BLAKE2b-256 | e62bd04cb4d913433efd3f345624181bbed1390b2a28a6eed26f70f4797b44a4 |