Skip to main content

Kaskada query builder and local execution engine.

Project description

Kaskada Timestreams

Kaskada's timestreams library makes it easy to work with structured event-based data. Define temporal queries on event-based data loaded from Python, using Pandas or PyArrow and push new data in as it occurs. Or, execute the queries directly on events in your data lake and/or as they arrive on a stream.

With Kaskada you can unleash the value of real-time, temporal queries without the complexity of "big" infrastructure components like a distributed stream or stream processing system.

Under the hood, timestreams is an efficient temporal query engine built in Rust. It is built on Apache Arrow, using the same columnar execution strategy that makes ...

Install Python

Use pyenv and install at least 3.8 (most development occurs under 3.11). If multiple versions are installed, nox will test against each of them.

Building and Testing

To build this package, first install maturin:

poetry shell
poetry install --no-root
maturin develop
pytest

Alternatively, install nox and run the tests inside an isolated environment:

nox

Previewing Docs

  • Install quarto-cli on your machine. Also consider installing an IDE extension.

    See: https://quarto.org/docs/get-started/

  • Generate reference docs

    nox -s docs-gen
    

    You should re-run this after making any updates to the pysrc docstrings. If Preview Docs is running in another shell, the system should auto-refresh with your changes.

  • Preview docs (with auto-refresh on edit)

    nox -s docs
    
  • Cleanup generated and cached docs

    nox -s docs-clean
    

    Try this if you see something unexpected (especially after deleting or renaming).

  • Builds docs to docs/_site

    nox -s docs-build
    

    This is primarily used in CI.

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

kaskada-0.6.1.tar.gz (797.6 kB view hashes)

Uploaded Source

Built Distributions

kaskada-0.6.1-cp38-abi3-win_amd64.whl (14.3 MB view hashes)

Uploaded CPython 3.8+ Windows x86-64

kaskada-0.6.1-cp38-abi3-manylinux_2_28_x86_64.whl (17.6 MB view hashes)

Uploaded CPython 3.8+ manylinux: glibc 2.28+ x86-64

kaskada-0.6.1-cp38-abi3-macosx_11_0_x86_64.whl (15.5 MB view hashes)

Uploaded CPython 3.8+ macOS 11.0+ x86-64

kaskada-0.6.1-cp38-abi3-macosx_11_0_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl (30.3 MB view hashes)

Uploaded CPython 3.8+ macOS 11.0+ ARM64 macOS 11.0+ universal2 (ARM64, x86-64) macOS 11.0+ x86-64

Supported by

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