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.0.tar.gz (75.2 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.0-py3-none-any.whl (59.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sr_comp-1.14.0.tar.gz
  • Upload date:
  • Size: 75.2 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.0.tar.gz
Algorithm Hash digest
SHA256 fb608e3b3fff46b4b278eeadbdcec58472880b8da00fa0bd56b3a4c1ba0ec92e
MD5 14858369de92f67fa7ae7dd51341cc4f
BLAKE2b-256 7d84c739db2b84455ed2089ba635f140557b55314041719d945e5a0154680536

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sr_comp-1.14.0-py3-none-any.whl
  • Upload date:
  • Size: 59.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16998cee3d71eb3b3ec5fca749b7293625c7bfbcc1cfe567f59e3948f805c7d3
MD5 68cdb1ca936be33fce698882424e7e0c
BLAKE2b-256 695701ddbede74f20065df875e51989af979e3ba131fabc78cfa56f6f47a5b0a

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