Initiate CalQlator
client = new TechStack(**args)
calqlator = CalQlator(client)
Set scope
inventory_name = 'TestInventory'
from_timepoint = '2010-01-11 00:00:00'
to_timepoint = '2022-12-31 23:59:59'
scope = calqlator.scope(inventory_name, from_timepoint, to_timepoint)
Load time series
target_inventory_item_id1 = 'Y5NBb7dfIe'
target_inventory_item_id2 = 'Y5NBb7vGQi'
time_series1 = scope.time_series(target_inventory_item_id1)
time_series2 = scope.time_series(target_inventory_item_id2)
Calculations with time series
calculated_time_series1 = time_series1 + time_series2
calculated_time_series2 = time_series1 * 0.3
Write time series
target_inventory_item_id = 'YFS6yBQF7o'
scope.write(target_inventory_item_id, calculated_time_series)
Release files for uba-calqlator 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| uba-calqlator-1.2.2.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uba_calqlator-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / uba-calqlator-1.2.2.tar.gz
| Download URL | uba-calqlator-1.2.2.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97593dd783c279a0999f956fc4b9957ca0e824efea836dcaa729dbea869196b6
|
|
BLAKE2b-256 checksum How to use checksums |
48745360bb8ee827dfd6afd2bff01e36736c5a0de820f8974f7c99370fb31e14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.2
|
Release files / uba_calqlator-1.2.2-py3-none-any.whl
| Download URL | uba_calqlator-1.2.2-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c0de49beed381ef8b3c7939cb9a5054fd8665b9b7dbdec083edcb5f54f9108d
|
|
BLAKE2b-256 checksum How to use checksums |
c31f213022a68e7c8d3210c761c7c33473d4240a538a0cbb5dcb61eac8f7655f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.2
|