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.13.0.tar.gz (74.5 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.13.0-py3-none-any.whl (58.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sr_comp-1.13.0.tar.gz
  • Upload date:
  • Size: 74.5 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.13.0.tar.gz
Algorithm Hash digest
SHA256 30cd3377dbbc5b784c9e1e455ccb99d1c6815a3173edf66e23f418ca153b6342
MD5 d49f99e35a5ae97c595d8526cfde6c58
BLAKE2b-256 ee78ef2f141cd6ece05c8313f1b539fb70762e6399b583bc73a423fcddb19a2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sr_comp-1.13.0-py3-none-any.whl
  • Upload date:
  • Size: 58.7 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.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3844a28ea0b4c23194f6535514decaa42dd7f9b91147513634e5c79a2bc99b9f
MD5 848d30ea1acb7a2608fe617cfd66f8e1
BLAKE2b-256 adb7fa91102da31388047bf0806c2a6da3f27209f3853836d7431595f29b12cb

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