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.2.0.tar.gz (268.2 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.2.0-py3-none-any.whl (149.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for brest-1.2.0.tar.gz
Algorithm Hash digest
SHA256 6f5a5d0cefe5ae12c68734788ca7ccfa33a68670096a5dc69466d44c76ff9f33
MD5 717380f1eb6aa1c9aba275d7e4d413b3
BLAKE2b-256 080bddbeda4e994639c84b2db31797641e02e50cbb52e98ba807f378f029b177

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brest-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 149.7 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7176ca488ba4ac0d2de5f210b0df70bea8d496686d895187e63a887f973fbdb
MD5 dbdf15fcee4e955e34c57279435dba47
BLAKE2b-256 1683c87f89faf776f0b40a0964fa1cd1084a3e204424ac901e227991fe847a58

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