Skip to main content

Bender Robotics Embedded Systems Toolkit

Project description

pdoc

Bender Robotics Embedded Systems Toolkit

Goal of the Brest project is to provide a python based resource manager and common libraries for embedded system testing.

If you are looking for the documentation, please refer here or build offline.

Install Brest

$ pip install brest

Installing Brest from the source

$ pip install https+git://github.com/BenderRobotics/brest.git

Minimal Example

See minimal example files

# project_config.yaml - define what project needs
project_name:
    psu:
        class_name: 'Supplies'
        disable_on_destruct: False
        default:
            voltage: 12
            current: 0.5
# user_config.yaml - alter specific instance at end-setup
project_name:
    psu:
        class_name: 'Supplies.ManSup'
# example.py
# Simple example showing operation with power supply.
import brest

resources = brest.Resources("project_name", "user_config.yaml", "project_config.yaml", needed=["psu"])
psu = resources["psu"]

print(psu.voltage)
psu.voltage = psu.voltage * 2
psu.enable()

See other examples

Branching strategy

Because Brest is a relatively small project, it uses a very basic branching strategy. All feature branches keep their history and merge into the 'devel' branch as merge-commits. If there has been a commit in the 'devel' branch while the feature branch was under development, the procedure is to merge 'devel' into the feature branch (as a merge-commit) to update changes and when the feature branch development is over, it can be merged with 'devel'.

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

brest-1.1.0.tar.gz (266.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brest-1.1.0-py3-none-any.whl (148.8 kB view details)

Uploaded Python 3

File details

Details for the file brest-1.1.0.tar.gz.

File metadata

  • Download URL: brest-1.1.0.tar.gz
  • Upload date:
  • Size: 266.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.22

File hashes

Hashes for brest-1.1.0.tar.gz
Algorithm Hash digest
SHA256 781f2efd0c1cd8a730646e470829318bd079874fb751669b681d9b8c6d7c0ef2
MD5 0681020a5fdcfb6a3bec226d90637081
BLAKE2b-256 681c834f0e826c4e1aa5bbbe0e42fa29f575339b3ceb59e4c1cd3bd1319fc9d4

See more details on using hashes here.

File details

Details for the file brest-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: brest-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 148.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.22

File hashes

Hashes for brest-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f1855e546d55d1472735ed6e95a02c37fcdd64cb139327db5aef89f816cf508
MD5 7514feba26cdb4b3fa4e09ca46bdabb7
BLAKE2b-256 2d1b77bf73f8089481e8feeaaf5d7c4aa5e6dd7974b70d704a658588aee1f9e7

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