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.1.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.1-py3-none-any.whl (148.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: brest-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 62abcd6f694e60ec4c740a04488376501b61434dd5030123ea0bfc81d8b3018c
MD5 6f507ca14164ab35ee68af1c17d32f97
BLAKE2b-256 a58130bdef6a42682efc4cc949e64171857e1ef547776df093a68d038a9e3cb0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brest-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6103e33572d08cfef21c8ed3333214e5c0847ee547413040bcaa55d209072b0c
MD5 c23825c388c73c24600335315eeb2ba0
BLAKE2b-256 0c483dca9a6cc1edcc344e383d9a99a35ab5e3c74406dad9e38abe524ee4ef23

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