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.15.0.tar.gz (84.6 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.15.0-py3-none-any.whl (66.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sr_comp-1.15.0.tar.gz
  • Upload date:
  • Size: 84.6 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.15.0.tar.gz
Algorithm Hash digest
SHA256 275f924a0e38497f10be7aeb5cf69f792b368ed08d77107182dc5350b10b736d
MD5 5a868ce43907856de4c8fb3bea069e26
BLAKE2b-256 60b5833bf027fdc446069c4033f14e50f5e6307d55c1a37ca58846b15339e947

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sr_comp-1.15.0-py3-none-any.whl
  • Upload date:
  • Size: 66.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.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37c765edae575d3ca5f7c0d14179cf0008941550d8763247f1a433f4c1665445
MD5 756e2de79e39c01a1e78dd590cad57f0
BLAKE2b-256 ce1f3ac971d378d6c338e3cd6310eefca6d4be7404f8751dacdf7baf1f9f548e

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