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
- Install denormalized
pip install denormalized - 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 - 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 use uv to manage python dependencies.
uv 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
Metadata
Release files for denormalized 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| denormalized-0.0.13.tar.gz | 247.1 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| denormalized-0.0.13-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| denormalized-0.0.13-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.8 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| denormalized-0.0.13-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl | CPython 3.8 | abi3 | macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64 | Details |
Total release size: 119.9 MB
Release files / denormalized-0.0.13.tar.gz
| Download URL | denormalized-0.0.13.tar.gz |
|---|---|
| Size | 247.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a95a8b8f967acbd7697ae16be75d777466a93f4d7069beaba08eec1435646059
|
|
BLAKE2b-256 checksum How to use checksums |
3f824a6509846d231ccb4a11fe565ec49d0065f1962c22877b8d71c218a4f79f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.7.4
|
Release files / denormalized-0.0.13-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | denormalized-0.0.13-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 27.5 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
3f709712809b3b2bebe291182ca9aa3978cda483d9d020a1d7592c2a89864811
|
|
BLAKE2b-256 checksum How to use checksums |
e229b8b1afd24d3447849bbee2f590bd56c8edd1a17792e260ce9e0a4c2508f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.7.4
|
Release files / denormalized-0.0.13-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | denormalized-0.0.13-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 25.1 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
c2fb052058bc018f39ccdcea0f05459717b5ed2b5f3fbb87c9d95415d3e90f49
|
|
BLAKE2b-256 checksum How to use checksums |
6fd8a16aeddfccb8643dab437b3175ec78ca29c0ef5c886e4f3425eb6c79491a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.7.4
|
Release files / denormalized-0.0.13-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | denormalized-0.0.13-cp38-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 67.1 MB |
| Tags | CPython 3.8 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
19ad8b865ff4199bdbcfa074befb3c5f48c02fff1b28f02341d59a755e31fbca
|
|
BLAKE2b-256 checksum How to use checksums |
619ef65fb846052e6fce85af1b40e210043aaa9c13573603c5de543325afe85e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.7.4
|