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.12.0.tar.gz (47.8 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.12.0-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sr.comp-1.12.0.tar.gz
  • Upload date:
  • Size: 47.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for sr.comp-1.12.0.tar.gz
Algorithm Hash digest
SHA256 8d97b6eee3bba080f775e2c2ec4e940f47698cfb8ad6013d0fb7df072d9e05ce
MD5 8d3bb6f882f1b022c1177be7475245d8
BLAKE2b-256 29846972594383cd58b7d9c9d0f225cf68ff085309ac6fd74b944aee2a73eb46

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sr.comp-1.12.0-py3-none-any.whl
  • Upload date:
  • Size: 55.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for sr.comp-1.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b54b280d4a10cf4ff3dfe7753410dcd626df9b9b76200f486aa28dcf7a06b1a
MD5 9c109cbdfd9aa042dc807c611b9c01cb
BLAKE2b-256 da079a6d14898af11a3c2b06ce462c5c4bc9e2445e8c18000f54e4bf5462fd09

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