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 (UNRELEASED)

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.0rc1.tar.gz (74.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file klio-21.8.0rc1.tar.gz.

File metadata

  • Download URL: klio-21.8.0rc1.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.6.12

File hashes

Hashes for klio-21.8.0rc1.tar.gz
Algorithm Hash digest
SHA256 17c8991d91d45f7f89f7eb3be0786ece1f0c28961ab14b2957e278241dba32bb
MD5 905ebd68eaef8c4b30b37d6d6340dfec
BLAKE2b-256 ad8d049981867fe27d8c68c161ec6d8a37a9f04d4d17c6d9af8c768d23248d54

See more details on using hashes here.

File details

Details for the file klio-21.8.0rc1-py2.py3-none-any.whl.

File metadata

  • Download URL: klio-21.8.0rc1-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.6.12

File hashes

Hashes for klio-21.8.0rc1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 145164762622f57ee0e260a24254a2c4d553c08b93503b54d2f210f10cb36f11
MD5 a7b356678eeaa546c382baa603493cfe
BLAKE2b-256 df2084359baf525dcdb7f390eb4f4552a1d2cc0430f3cd14b3817754fc32b11e

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