Skip to main content

Reliable software for running robotics competitions

Project description

Build Status Docs Status

Reliable software for running robotics competitions, primarily used by Student Robotics.

The SRComp wiki provides an overview of the suite as a whole.

This repository provides a python API to accessing information about the state of the competition. That compstate is stored as a collection of YAML files in a git repository. This allows the state of the competition to be managed in isolation from the software while still providing consistent representations of that state.

Usage

Python clients should install the library using:

pip install sr.comp

Only the SRComp is class directly exposed, and it should be constructed around the path to a local working copy of a compstate repo.

from srcomp import SRComp
comp = SRComp('/path/to/compstate')

Web clients should look at using the HTTP API provided by srcomp-http rather than implementing their own intermediary.

There is also a command line interface which provides utilities for managing a compstate repo: srcomp-cli.

See the dummy-comp for an example of the structure and values expected in a compstate repo.

Development

Install: pip install -e . -r dev-requirements.txt

Test: ./run-tests

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-1.8.3.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

sr.comp-1.8.3-py3-none-any.whl (53.5 kB view details)

Uploaded Python 3

File details

Details for the file sr.comp-1.8.3.tar.gz.

File metadata

  • Download URL: sr.comp-1.8.3.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for sr.comp-1.8.3.tar.gz
Algorithm Hash digest
SHA256 644d115f6f1c58cb4e23846e176fcf929835ce6a653485e976bf24e93e7afe4f
MD5 cbfc44e29e73c479be31a6d646006ab3
BLAKE2b-256 8e46fd4179fc4fd0f6bf0798eaac104e8e0f0e156159b37da13f2002e67fd795

See more details on using hashes here.

Provenance

File details

Details for the file sr.comp-1.8.3-py3-none-any.whl.

File metadata

  • Download URL: sr.comp-1.8.3-py3-none-any.whl
  • Upload date:
  • Size: 53.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for sr.comp-1.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 76c6e26c9fd810b30bbc448d225d3f8193a9bed929f5a79b34e2db26f97a585d
MD5 419824ae3cad946d49b6fd69ae968903
BLAKE2b-256 d284ae3e295e4a14b1a5ede7435cffff2dc683de6ccaca5ede655e2814382d30

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