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 .

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

Uploaded Source

Built Distribution

sr.comp-1.5.0-py2.py3-none-any.whl (60.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: sr.comp-1.5.0.tar.gz
  • Upload date:
  • Size: 34.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for sr.comp-1.5.0.tar.gz
Algorithm Hash digest
SHA256 61949b522c496f27ef01e509b692d7931232ef8b242148dae49bf2366cb7e516
MD5 0e638067e62c7b0352de91ee6f16b633
BLAKE2b-256 4908bd03010a7606bddd995b58705c75a287bc592012ad18eda788e8e939671e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: sr.comp-1.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 60.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for sr.comp-1.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 47762e2637f439af0c66fbe0bdbbe708d4b1783960197f1ace4d453e47d777ed
MD5 939f5c68aebe2d78782691250483d45c
BLAKE2b-256 f82c9039e01ac38482d0b9d219c2a8607a7d870e79b9df04e8923ef115796a16

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