brinkhaustools
Multi-language infrastructure toolkit for Brinkhaus industrial applications.
What is brinkhaustools?
brinkhaustools provides reusable components for industrial monitoring and control applications in Python, Rust, JavaScript, and C++. All variants share the same version number and are wire-compatible with BrinkhausFleetManager.
Core components (available in all variants):
- App -- central wiring object that connects all components
- ShutdownHandler -- graceful shutdown with signal handling
- Settings -- thread-safe JSON settings with hierarchical dot-notation access
- SelfDiagnosisEngine -- error/warning tracking with numeric codes
- StatusEngine -- periodic status collection from pluggable sources
- HeartbeatEngine -- watchdog for detecting hung threads
- VersionInformation -- CI-generated version metadata
- Fleet management -- HTTPS-based reporting to BrinkhausFleetManager
Additionally, the Python variant includes a RestServer (Flask + Waitress).
Installation
Python
pip install brinkhaustools
# With REST server support:
pip install brinkhaustools[rest]
Requirements: Python >= 3.10. The core has no external dependencies.
Rust
The crate is deliberately distributed as a git dependency from this public repository — publishing to crates.io is not planned for the medium term.
# Cargo.toml
[dependencies]
brinkhaustools = { git = "https://gitlab.com/brinkhaus/brinkhaustools.git", tag = "0.17.0" }
# With fleet management client:
brinkhaustools = { git = "https://gitlab.com/brinkhaus/brinkhaustools.git", tag = "0.17.0", features = ["fleet"] }
JavaScript
Include js/src/brinkhaus-tools.js from the repository. Zero dependencies, browser-compatible.
git clone https://gitlab.com/brinkhaus/brinkhaustools.git
# Use js/src/brinkhaus-tools.js in your project
C++
# CMakeLists.txt
include(FetchContent)
FetchContent_Declare(
brinkhaustools
GIT_REPOSITORY https://gitlab.com/brinkhaus/brinkhaustools.git
GIT_TAG 0.17.0
SOURCE_SUBDIR cpp
)
FetchContent_MakeAvailable(brinkhaustools)
target_link_libraries(myapp PRIVATE brinkhaustools::brinkhaustools)
Quick Examples
Python
from brinkhaustools.common import App
app = App(
name="my-service",
settings_path="data/settings/settings_main.json",
fleet_config_path="fleetManagementData/config.json",
)
app.start()
app.wait()
Rust
use brinkhaustools::App;
let app = App::builder("my-service")
.settings("data/settings/settings_main.json")
.build();
app.start();
app.wait();
Documentation
Full API reference, guides, and configuration details:
brinkhaus.gitlab.io/brinkhaustools
License
MIT
Metadata
Release files for brinkhaustools 0.21.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 |
|---|---|---|---|---|
| brinkhaustools-0.21.0.tar.gz | 53.8 kB | Without provenance | Details for brinkhaustools-0.21.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brinkhaustools-0.21.0-py3-none-any.whl | Python 3 | none | any | Details for brinkhaustools-0.21.0-py3-none-any.whl |
Total release size: 93.9 kB
Release files / brinkhaustools-0.21.0.tar.gz
| Download URL | brinkhaustools-0.21.0.tar.gz |
|---|---|
| Size | 53.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12d31b0f02a8a909f64d9a4079a74844c5ff034a7460cb1d7d3dd1aa8e585b9a
|
|
BLAKE2b-256 checksum How to use checksums |
daf9123b391884b7c5d4ef97792ba6e108ab0a3de012465e445635e08f70c66b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / brinkhaustools-0.21.0-py3-none-any.whl
| Download URL | brinkhaustools-0.21.0-py3-none-any.whl |
|---|---|
| Size | 40.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2611bdcb74ce29ee26439584d89d41066dcdc62941aaa78279156698aff03cad
|
|
BLAKE2b-256 checksum How to use checksums |
d7b46d2dc7f0e1872de20559c47dfbcfcf3d701ef9bb14dfe2de545a4dfb6cfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for brinkhaustools 0.21.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.