Conventions for Python + Apache Beam
Project description
The klio Library
The library for implementing Klio-ified Apache Beam transforms with decorators, helper transforms, and leverage Klio’s message-handling logic.
As the klio library is not meant to be installed directly, check out the installation guide for how to setup installation. There is also the user guide and the API documentation for more information.
What is Klio?
Klio is an ecosystem that allows you to process audio files – or any binary files – easily and at scale.
Klio jobs are opinionated data pipelines in Python (streaming or batch) built upon Apache Beam and tuned for audio and binary file processing.
Klio was built by Spotify to run our large-scale audio intelligence systems and is used by teams of engineers and audio researchers to help develop and deploy next generation audio algorithms.
Read more about Klio here.
Get Started
Check out our Quick Start guide on how to start using Klio.
Resources
Have a look at our complete documentation.
Check out our contributors’ guide.
Join the #klio channel in the Spotify FOSS Slack organization.
Read up on some of our FAQs.
Review our Code of Conduct - this is how we roll.
Release Information
21.8.0 (2021-09-03)
Added
Add KlioReadFromPubSub and KlioWriteToPubSub IO transforms.
Add default metrics to be collected in Klio’s IO transforms.
Add default metrics to be collected in Klio’s helper transforms.
Add default metrics to be collected in Klio’s decorators.
Add support for using Beam’s metrics API directly.
Add DirectGKERunner, runs direct runner on GKE with added logic to only ack pub/sub message when: * the pipeline successfully ran, but before any write to event output happens if any, * the message is skipped because output data already exists, * the message is dropped because input data does not exist, or * the message is dropped because it was not the intended recipient.
Add metrics interface for shumway
Fixed
KlioTriggerUpstream no longer raises a pickling error when trying to log.
Changed
The Beam metrics client will always be used, no matter the configured runner.
Marked Klio’s support for Stackdriver log-based metrics for deprecation and eventual removal.
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 Distribution
File details
Details for the file klio-21.8.0.tar.gz
.
File metadata
- Download URL: klio-21.8.0.tar.gz
- Upload date:
- Size: 74.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52c02b3f70c6ebe8d438d0b1c5c16396b78955e73b646689dec972860c4d3717 |
|
MD5 | ad4c4c5d1583b6a734c8ca2ff178facf |
|
BLAKE2b-256 | 266ff77dc2776aec8075e3dce26403d2306a48582e1170b513a342fbf8cd870b |
File details
Details for the file klio-21.8.0-py2.py3-none-any.whl
.
File metadata
- Download URL: klio-21.8.0-py2.py3-none-any.whl
- Upload date:
- Size: 69.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb2d1b652f326aadb3456f3042e01d922065b945ce4409c87baaaf32b2574a5 |
|
MD5 | 7780fbc64f8d65b3befd289598f9b40f |
|
BLAKE2b-256 | 2cb863d19d087ada473337141d7b7a700d559354f6fe0852b57c15963cd4c7bf |