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

Checks: ./script/check

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sr_comp-1.14.1-py3-none-any.whl (60.4 kB view details)

Uploaded Python 3

File details

Details for the file sr_comp-1.14.1.tar.gz.

File metadata

  • Download URL: sr_comp-1.14.1.tar.gz
  • Upload date:
  • Size: 76.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for sr_comp-1.14.1.tar.gz
Algorithm Hash digest
SHA256 9e3d54037c57393492f298bfd5ba23e8c35cfccef249c3c0819ba43a3210709e
MD5 e1817f9428968025c82afaeab7c5a8c0
BLAKE2b-256 3e2376d58541bf3a10137c074fedd737c4ab13b599b6174e61a9da131bd1856a

See more details on using hashes here.

File details

Details for the file sr_comp-1.14.1-py3-none-any.whl.

File metadata

  • Download URL: sr_comp-1.14.1-py3-none-any.whl
  • Upload date:
  • Size: 60.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for sr_comp-1.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ade8027a7436ead4123d2ad4b1dc1d728279439ccecfc8994b8da3c0dde32429
MD5 323fe6a7c64f0cf12050e8aec430d959
BLAKE2b-256 377b6fa560ce287e1cc5dff4aac7a6a4c266396bb238d92bb7fd1805f3a30ad8

See more details on using hashes here.

Supported by

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