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

Optional Modules

$ pip install "brest[<module>]"

Available modules: [cameras_win, cameras_unix, jlink_win]

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.3.0.tar.gz (278.9 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.3.0-py3-none-any.whl (155.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for brest-1.3.0.tar.gz
Algorithm Hash digest
SHA256 a080112ff92a3e8487e1f9884492baef3a7c6efd1fd9a9542404ef66ef593854
MD5 297d53f277bdcb544b7c610de63b9e12
BLAKE2b-256 c49c8e1b423df5c84d1f93b0a976af5ceec0b0ec10d1488c52990621509dd976

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brest-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 155.9 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b44320719d9f8f5caa3e6fdbc14d84d4135232fd61615e36de3dfd4006588cc0
MD5 d330b118f2a1288907af82797882d64f
BLAKE2b-256 b8d0a83bed2e3769c76efef6c24f096d0b7c910f9605dfa93562e68887ff411d

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