Skip to main content

No project description provided

Project description

denormalized-python

Python bindings for denormalized

Denormalized is a single node stream processing engine written in Rust. This directory contains the bindings for building pipelines using python.

Getting Started

  1. Install denormalized pip install denormalized
  2. Start the custom docker image that contains an instance of kafka along with with a script that emits some sample data to kafka docker run --rm -p 9092:9092 emgeee/kafka_emit_measurements:latest
  3. Copy the stream_aggregate.py example

This script will connect to the kafka instance running in docker and aggregate the metrics in realtime.

There are several other examples in the examples/ folder that demonstrate other capabilities including stream joins and UDAFs.

Development

Make sure you're in the py-denormalized/ directory.

We currently use rye to manage python dependencies. rye sync to create/update the virtual environment

We use maturin for developing and building:

  • maturin develop - build and install the python bindings into the current venv
  • Run ipython, then import the library: from denormalized import *
  • maturin build - compile the library

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

denormalized-0.0.8.tar.gz (163.2 kB view details)

Uploaded Source

Built Distributions

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

denormalized-0.0.8-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (25.0 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

denormalized-0.0.8-cp38-abi3-macosx_11_0_arm64.whl (27.4 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file denormalized-0.0.8.tar.gz.

File metadata

  • Download URL: denormalized-0.0.8.tar.gz
  • Upload date:
  • Size: 163.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for denormalized-0.0.8.tar.gz
Algorithm Hash digest
SHA256 e2dca82eedb9025f0a4b3284972293b189b69ac5c8e52c6f3780d6a328f531d5
MD5 8b94c08ccd9448bc92405cb9be3822c0
BLAKE2b-256 a7e7314e32b7326bec346bc1af85be75ae03302094f67d9fb59fd5b453da346d

See more details on using hashes here.

File details

Details for the file denormalized-0.0.8-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for denormalized-0.0.8-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 040df24c7f0f13b581c579a553bc2a8061424aae82505ff89a620c44577684f9
MD5 bc6e3619f6c10639bcb87d6277077087
BLAKE2b-256 7e9f162984269276ae6671ce4162f88b0ae636a2427c6e6a6699bff627dcf77c

See more details on using hashes here.

File details

Details for the file denormalized-0.0.8-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for denormalized-0.0.8-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8aa6559262204caab41dd4e6bbd305446154e99b6b4fe880123737e4e155e2eb
MD5 46e5af8cf3c11b0a57777471f58d7138
BLAKE2b-256 05e3cf29eb408ed202d9262c55c0968b8f8953e01fe2eea76a19ba0da0967484

See more details on using hashes here.

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