Skip to main content

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

Metadata

Release files for bn-calculator 0.0.28

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bn-calculator 0.0.28
File Size Uploaded Provenance Actions
bn_calculator-0.0.28.tar.gz 27.6 kB Without provenance Details for bn_calculator-0.0.28.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bn-calculator 0.0.28
File Interpreter ABI Platform Actions
bn_calculator-0.0.28-py3-none-any.whl Python 3 none any Details for bn_calculator-0.0.28-py3-none-any.whl

Total release size: 56.9 kB

Release files / bn_calculator-0.0.28.tar.gz

Download URL bn_calculator-0.0.28.tar.gz
Size 27.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0d55050a695a48d0f8f3be88c3c715d9e2ca82adc97a040c90f53f1753f300ed
BLAKE2b-256 checksum
How to use checksums
4b0f4628f37f2b94fd2807d9c6c125a9ab57ed87d3471dfcd3d0840e8bbf6a64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / bn_calculator-0.0.28-py3-none-any.whl

Download URL bn_calculator-0.0.28-py3-none-any.whl
Size 29.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f33aaf4f91adc56896e97100881f6e58ed14d635f8bec02d5e9ef02f441db807
BLAKE2b-256 checksum
How to use checksums
0843d2ba3e25d86cd91e4767969813cf05d977f2208edac602cab9c27adcdf42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for bn-calculator 0.0.28

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.

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