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
# 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'.
Metadata
Release files for brest 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| brest-1.5.0.tar.gz | 306.3 kB | Without provenance | Details for brest-1.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brest-1.5.0-py3-none-any.whl | Python 3 | none | any | Details for brest-1.5.0-py3-none-any.whl |
Total release size: 483.9 kB
Release files / brest-1.5.0.tar.gz
| Download URL | brest-1.5.0.tar.gz |
|---|---|
| Size | 306.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e0124bde96a5667d8a6a917a42b8be250353b6a095ebf282ae144b6a07b0802
|
|
BLAKE2b-256 checksum How to use checksums |
9257fcba98ada6ac1088e331826556a8d95322cc9bc1096bea7fc1d1069da69d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.22
|
Release files / brest-1.5.0-py3-none-any.whl
| Download URL | brest-1.5.0-py3-none-any.whl |
|---|---|
| Size | 177.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a5bc2bab9df809ed4218f8feca8e3500cda079e20a0e129eacb314ff5c6bd46
|
|
BLAKE2b-256 checksum How to use checksums |
971d320590585bf79c48a4f1bb4eaf8fbd269e7228f247f8d60408948e7c6903
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.22
|
Security for brest 1.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.