Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kalix-0.2.5.tar.gz (75.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

kalix-0.2.5-cp39-abi3-win_amd64.whl (476.3 kB view details)

Uploaded CPython 3.9+Windows x86-64

kalix-0.2.5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (604.2 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

kalix-0.2.5-cp39-abi3-macosx_11_0_arm64.whl (508.9 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file kalix-0.2.5.tar.gz.

File metadata

  • Download URL: kalix-0.2.5.tar.gz
  • Upload date:
  • Size: 75.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kalix-0.2.5.tar.gz
Algorithm Hash digest
SHA256 9407945a9a2f867c91dbeb6cea60e21caead5dcd308a0bbc56e95d3b83f2d7c9
MD5 0ef00502a4d81e3042fb177d842cb577
BLAKE2b-256 8a6818d7508a0715a07c5cc6e3ddf33e32786b2efb821ab3eb6143306c027841

See more details on using hashes here.

Provenance

The following attestation bundles were made for kalix-0.2.5.tar.gz:

Publisher: release.yml on chasegan/Kalix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kalix-0.2.5-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: kalix-0.2.5-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 476.3 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

Hashes for kalix-0.2.5-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b096a6bbe2c4a95fe3881ed613a243f11282d2e50f578ac3e00f72acbc7d0934
MD5 3e7291a79b44e36cc288ad02da2a2e31
BLAKE2b-256 36e2148f99ac7128fecb5bd535f40c8457b907e8a26321737a981f1e256a256c

See more details on using hashes here.

Provenance

The following attestation bundles were made for kalix-0.2.5-cp39-abi3-win_amd64.whl:

Publisher: release.yml on chasegan/Kalix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kalix-0.2.5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for kalix-0.2.5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 98b4a8d97782b70280fbb38ff6618d6f62c327ae9a970ab77bf7866d87d6eec4
MD5 d373dc1e22da1d1a6293f93669506ea6
BLAKE2b-256 1fb4d4ced23893d262c4da826e7c50fa5421735e0a64e21d23ab9b75b4abc5c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for kalix-0.2.5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on chasegan/Kalix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kalix-0.2.5-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: kalix-0.2.5-cp39-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 508.9 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

Hashes for kalix-0.2.5-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9f55c8332172f5f87506c755465776a903126a42bfd6c02eb5732541dc306a99
MD5 868f0c9f51386746643b73f95387ce01
BLAKE2b-256 8b696cff1c2c9a189168c37aeb16520f79296c46e4015c6e0db1e7ed72d1ba22

See more details on using hashes here.

Provenance

The following attestation bundles were made for kalix-0.2.5-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on chasegan/Kalix

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page