Calculator tool for byneuron backend
Project description
Service Calculator
About
Provides a method for microservices to process data from the byneuron platform. Extends to the connector service.
Concept
In general this method host the process in 3 steps: 1/ input aggregated data from sources; 2/ performs calculations 3/ outputs the data to targets.
Handling: A/ Scope: Multiple (async) or Single B/ TimeRange: Actual (for cron based Task intervals), Recent (periodic updates), Historic (init/edit)
Datamodel: Sources are linked to the entity using:
- itemRelation using metaValues
- deviceRelation using deviceDefinition
- ? solarDevice Targets are features of the entity.
Framework: 1/ Build configuration in CalculationEntityDefinition (ced) [configurator.py] -> panda & numpy 2/ Start a CalculationHandler(ch) with the ced [handler.py] -> byneuron backend 3/ Retrieve CalculationHandlerEntity (che) from ch [handler.py] -> byneuron backend
- che will be enriched with a ced adjusted per tenant when retrieved.
- the datamodel for the individual che will only be queried at the che.handle() 4/ Finally a CalculationEntity (ce). [calculator.py]
- the ce hold the calculation logic
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bn_calculator-0.0.10.tar.gz.
File metadata
- Download URL: bn_calculator-0.0.10.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b29fdfefa106b3e73e5915f34955fcdce5459bd28a386280f7e344c3aeedd7d
|
|
| MD5 |
be26650124f30ea4d6be99095ec0f370
|
|
| BLAKE2b-256 |
541f7aeb1c074e050cfd587333f03fab59d2efdb03f7ea65c0fd8956c1ef8d32
|
File details
Details for the file bn_calculator-0.0.10-py3-none-any.whl.
File metadata
- Download URL: bn_calculator-0.0.10-py3-none-any.whl
- Upload date:
- Size: 27.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
560fa0fc54c28cbb40e7cb427858a28aae5e2a4857dff963b886b942e99d8c99
|
|
| MD5 |
984a5a5da6d2b0d0a929e723f0a6fff8
|
|
| BLAKE2b-256 |
37d6d96c0093ce86ab599c3fbfe59360399d40d43077852b4682d901fdba72b0
|