Skip to main content

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)

Source distribution for uba-calqlator 1.2.2
File Size Uploaded
uba-calqlator-1.2.2.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uba-calqlator 1.2.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.0.0

2 release files

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