Skip to main content
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'.

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.4.0.tar.gz (289.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.4.0-py3-none-any.whl (166.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: brest-1.4.0.tar.gz
  • Upload date:
  • Size: 289.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.4.0.tar.gz
Algorithm Hash digest
SHA256 793f3795398a10e9f213c5870164f3df9898c01fc272ceb596adb7a2a3b146ab
MD5 8584997afca6b2a2d5b6f884dca876d6
BLAKE2b-256 255f6cf35263cc689fb7f4c8d286a923515ebcc2576158e0b01d599bef87f842

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brest-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 166.2 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77051266d2954b00643da0e58b62ea291dca878b03be452f6cd210c6b1e412ca
MD5 1df64c26971685fa4ab89038a47d3f2b
BLAKE2b-256 28b08c5215cdc5e536e1361ff212cde8a4e127a5ef8f2bba19e1bc320c1af603

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 files

1.3.0

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page