Skip to main content

Reliable software for running robotics competitions

Project description

Build Status Docs Status

Yet Another attempt at some Competition Software for 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


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.7.1.tar.gz (35.8 kB view details)

Uploaded Source

Built Distribution

sr.comp-1.7.1-py3-none-any.whl (61.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sr.comp-1.7.1.tar.gz
  • Upload date:
  • Size: 35.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for sr.comp-1.7.1.tar.gz
Algorithm Hash digest
SHA256 cbb86a808c4451638ee08144ec4f6c4ad79cf5a815053ca1691b80c51e6df741
MD5 0ebd1d76772030696438aa4f5db86b48
BLAKE2b-256 3eb4a63b10e81f890f5c65d192ba1dbf72ab1899bfa0035a5199eab2c7a6a110

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: sr.comp-1.7.1-py3-none-any.whl
  • Upload date:
  • Size: 61.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for sr.comp-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8939d3dd1da43431d26c54ed3dca996b0db0a9b6da1feeecb2730f5c2e9bfe28
MD5 8de1f7dca222c5b967d34f320ff0f1a0
BLAKE2b-256 1a2e8eb0c3a089171233ffbcd46bebc0ab50111510edb739d60ff781dd76fd38

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page