Skip to main content

Conventions for Python + Apache Beam

Project description

The klio Library

Latest version of klio on PyPI Status of klio unit tests

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

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.

Full Changelog.

Download files

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

Source Distribution

klio-21.8.0.tar.gz (74.7 kB view details)

Uploaded Source

Built Distribution

klio-21.8.0-py2.py3-none-any.whl (69.4 kB view details)

Uploaded Python 2 Python 3

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

Hashes for klio-21.8.0.tar.gz
Algorithm Hash digest
SHA256 52c02b3f70c6ebe8d438d0b1c5c16396b78955e73b646689dec972860c4d3717
MD5 ad4c4c5d1583b6a734c8ca2ff178facf
BLAKE2b-256 266ff77dc2776aec8075e3dce26403d2306a48582e1170b513a342fbf8cd870b

See more details on using hashes here.

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

Hashes for klio-21.8.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4cb2d1b652f326aadb3456f3042e01d922065b945ce4409c87baaaf32b2574a5
MD5 7780fbc64f8d65b3befd289598f9b40f
BLAKE2b-256 2cb863d19d087ada473337141d7b7a700d559354f6fe0852b57c15963cd4c7bf

See more details on using hashes here.

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