Python interface for Kalix: hydrological modelling and Pixie (Gorilla-compressed) timeseries I/O
Project description
kalix (Python)
Python interface for Kalix.
Current functionality:
- read and write Pixie files (
.pxt,.pxb)
Planned:
- model loading & simulation
- programmatic model manipulation and building
- optimisation
Install
pip install kalix
Usage
import kalix
# Read a .pxt/.pxb pair into a DataFrame
df = kalix.read_pixie("results.pxb")
print(df.head())
# Write a DataFrame back out
kalix.write_pixie("out.pxb", df)
The DataFrame index is a UTC DatetimeIndex; each column is one timeseries.
read_pixie accepts either extension (or no extension) and finds both files:
kalix.read_pixie("results.pxb") # same as
kalix.read_pixie("results.pxt") # same as
kalix.read_pixie("results")
Building from source
Requires Rust (1.70+) and maturin.
# Editable install for development
cd python
maturin develop --release
# Build a wheel
maturin build --release
Tests
maturin develop
pytest python/tests
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 Distributions
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 kalix-0.2.4.dev3.tar.gz.
File metadata
- Download URL: kalix-0.2.4.dev3.tar.gz
- Upload date:
- Size: 70.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
794ccb4a61e45da56d6ad13404e7b78b94ba311f43576b5c4e4d2f45ee5a682a
|
|
| MD5 |
8753fcf4c143fec67860ff76d9af28ef
|
|
| BLAKE2b-256 |
9bc59340e1f3f26f4e53cd0c8d125c6aa822d2842b4637b5512472fbbde62188
|
Provenance
The following attestation bundles were made for kalix-0.2.4.dev3.tar.gz:
Publisher:
release.yml on chasegan/Kalix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kalix-0.2.4.dev3.tar.gz -
Subject digest:
794ccb4a61e45da56d6ad13404e7b78b94ba311f43576b5c4e4d2f45ee5a682a - Sigstore transparency entry: 1639781445
- Sigstore integration time:
-
Permalink:
chasegan/Kalix@0748852c3a47c15020d35d26879c0ea2b2ba49da -
Branch / Tag:
refs/tags/v0.2.4-dev3 - Owner: https://github.com/chasegan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0748852c3a47c15020d35d26879c0ea2b2ba49da -
Trigger Event:
push
-
Statement type:
File details
Details for the file kalix-0.2.4.dev3-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: kalix-0.2.4.dev3-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 228.5 kB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c246017f557653680506e72e032da7aa2ed9585ad12293bf8bd0fd91845470f9
|
|
| MD5 |
c420b217ddf1cba90b84deb6ec7579a3
|
|
| BLAKE2b-256 |
3b983350d131d435e1c0a70d157ff464eb22b62dde73fa5681081141845bda25
|
Provenance
The following attestation bundles were made for kalix-0.2.4.dev3-cp39-abi3-win_amd64.whl:
Publisher:
release.yml on chasegan/Kalix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kalix-0.2.4.dev3-cp39-abi3-win_amd64.whl -
Subject digest:
c246017f557653680506e72e032da7aa2ed9585ad12293bf8bd0fd91845470f9 - Sigstore transparency entry: 1639781637
- Sigstore integration time:
-
Permalink:
chasegan/Kalix@0748852c3a47c15020d35d26879c0ea2b2ba49da -
Branch / Tag:
refs/tags/v0.2.4-dev3 - Owner: https://github.com/chasegan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0748852c3a47c15020d35d26879c0ea2b2ba49da -
Trigger Event:
push
-
Statement type:
File details
Details for the file kalix-0.2.4.dev3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: kalix-0.2.4.dev3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 366.5 kB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa8e6226bb4ee1b2f3eee5a8c4049662bf8fea72a13718e1f1019257be5ccc14
|
|
| MD5 |
ffdf7a5e7111852c0634aef091681a73
|
|
| BLAKE2b-256 |
a31f33f59b8235b280e45f23d4427a6b527d912ca007e021ed63faeb790eeaea
|
Provenance
The following attestation bundles were made for kalix-0.2.4.dev3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on chasegan/Kalix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kalix-0.2.4.dev3-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
aa8e6226bb4ee1b2f3eee5a8c4049662bf8fea72a13718e1f1019257be5ccc14 - Sigstore transparency entry: 1639781567
- Sigstore integration time:
-
Permalink:
chasegan/Kalix@0748852c3a47c15020d35d26879c0ea2b2ba49da -
Branch / Tag:
refs/tags/v0.2.4-dev3 - Owner: https://github.com/chasegan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0748852c3a47c15020d35d26879c0ea2b2ba49da -
Trigger Event:
push
-
Statement type:
File details
Details for the file kalix-0.2.4.dev3-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: kalix-0.2.4.dev3-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 291.3 kB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
feb933828d3721318b88ac704cf8f74064a62bc766380748d59e85c14981ece5
|
|
| MD5 |
3f8ff94d674a9f7654c9d14b36d78b6f
|
|
| BLAKE2b-256 |
dbeae6fd57035e68d8ebb44ad927baa3a9602d208ef1b820e43ff11588d00856
|
Provenance
The following attestation bundles were made for kalix-0.2.4.dev3-cp39-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on chasegan/Kalix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kalix-0.2.4.dev3-cp39-abi3-macosx_11_0_arm64.whl -
Subject digest:
feb933828d3721318b88ac704cf8f74064a62bc766380748d59e85c14981ece5 - Sigstore transparency entry: 1639781491
- Sigstore integration time:
-
Permalink:
chasegan/Kalix@0748852c3a47c15020d35d26879c0ea2b2ba49da -
Branch / Tag:
refs/tags/v0.2.4-dev3 - Owner: https://github.com/chasegan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0748852c3a47c15020d35d26879c0ea2b2ba49da -
Trigger Event:
push
-
Statement type: