Skip to main content

amazon-kinesis-utils

A library of useful utilities for Amazon Kinesis

PyPi version t Code style: black Language grade: Python

CircleCI codecov Updates Documentation Status

Reference

See: https://amazon-kinesis-utils.readthedocs.io/en/latest/

Usage

# import submodule you want to use with from import
from amazon_kinesis_utils import kinesis

def lambda_handler(event, context):
    raw_records = event['Records']

    # kinesis.parse_records parses aggregated/non-aggregated records, with or without gzip compression
    # it even unpacks CloudWatch Logs subscription filters messages
    for payload in kinesis.parse_records(raw_records):
        # kinesis.parse_records is a generator, so we only have one payload in memory on every iteration
        print(f"Decoded payload: {payload}")

Contributing

Make sure to have following tools installed:

macOS

$ brew install pre-commit

# set up pre-commit hooks by running below command in repository root
$ pre-commit install

# install sphinx
$ pip install sphinx sphinx_rtd_theme

Metadata

Release files for amazon-kinesis-utils 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for amazon-kinesis-utils 0.1.8
File Size Uploaded
amazon_kinesis_utils-0.1.8.tar.gz 6.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for amazon-kinesis-utils 0.1.8
File Interpreter ABI Platform
amazon_kinesis_utils-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / amazon_kinesis_utils-0.1.8.tar.gz

Download URL amazon_kinesis_utils-0.1.8.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
209170437536708c604efd2a5fbbc0309a7677e497c8e8d9c376614e12d14fc7
BLAKE2b-256 checksum
How to use checksums
00c1cdf19b49b060cc750e76ca2d013f9abb12a92c1b9f21aaf23431a39fce74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.5

Release files / amazon_kinesis_utils-0.1.8-py3-none-any.whl

Download URL amazon_kinesis_utils-0.1.8-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
817ee2e3f61bfc7d0f5bf2c190e49fedf40d4bd490e26f93b0adb2598ffedfd9
BLAKE2b-256 checksum
How to use checksums
5ff85fe7c726f4e6b176102e7b68c96bbffea1201ab44e44da413d8147d68331
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page