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

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

Uploaded Source

Built Distribution

sr.comp-1.8.2-py3-none-any.whl (61.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sr.comp-1.8.2.tar.gz
Algorithm Hash digest
SHA256 04102c09d85369ec6e02bda7a45bdc464054839f02cb321dd9cba92899e1f58c
MD5 0f4b634fc9f9d4bb854d16b7f9a0b660
BLAKE2b-256 9ba62b1f6a6b2ee7572dcb636f49885dc94f082a9a365cf5308ba0c7188bf0be

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for sr.comp-1.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d77441aabd9bb665c6341b707a11355396c30418d9225a0968a36ec340c0e9c4
MD5 897c8eabb7bd9134bd539d3f28bd19ab
BLAKE2b-256 6fdaca00e5db629a63f2eed61641ab84560e9a2d1e95d3ae803cf344788e2878

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