Skip to main content

No project description provided

Project description

Build Status Docs Status

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

  • SRComp

  • Flask

  • python-dateutil

  • simplejson

Don’t forget to also check the requirements for SRComp!

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

sr.comp.http-1.3.0.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

sr.comp.http-1.3.0-py2.py3-none-any.whl (29.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sr.comp.http-1.3.0.tar.gz.

File metadata

  • Download URL: sr.comp.http-1.3.0.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for sr.comp.http-1.3.0.tar.gz
Algorithm Hash digest
SHA256 f45a2520ac3329c38f1749a8238cb8dfe0fb710d0baf3233f49115e684c0c293
MD5 e3c44e81801515e7d2dab9547e878744
BLAKE2b-256 ef2ad045d69a95b3b40b996c5d164ad4dbcba2bed7d1c68538cd517c9dac5054

See more details on using hashes here.

Provenance

File details

Details for the file sr.comp.http-1.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: sr.comp.http-1.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.1.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for sr.comp.http-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 905aed1b252aaee43cebdd58f1520d429a4cd8e88696f9046b1ca1f29579cbe0
MD5 52fc60faad69c83f55ae24cd8cbcdc33
BLAKE2b-256 e62bd04cb4d913433efd3f345624181bbed1390b2a28a6eed26f70f4797b44a4

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page