Reliable software for running robotics competitions
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sr.comp-1.9.0.tar.gz
.
File metadata
- Download URL: sr.comp-1.9.0.tar.gz
- Upload date:
- Size: 46.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ad6ff093428cdf33cb0ea4f6d306c9f038a0b0d016d25ed0a87655255e49fda |
|
MD5 | 406bc0cf728820f5542cac9f023a1d55 |
|
BLAKE2b-256 | cbd84330a9cd32be9052e55fdc04f097c2f2552b0b8411dd9dbb08997a78bf81 |
File details
Details for the file sr.comp-1.9.0-py3-none-any.whl
.
File metadata
- Download URL: sr.comp-1.9.0-py3-none-any.whl
- Upload date:
- Size: 53.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2112396ff890fa5e9ae760e798f091ee38cf038ddcfb56f379b86558d0d8097 |
|
MD5 | 817666b699196b33030b0b547323bd44 |
|
BLAKE2b-256 | c699656e3faf0e3adfc64b9a6fb27b2084e97aec5b9e514c81effbc5f15d8258 |