Skip to main content

amba-event-stream

PyPI

The Amba Analysis Streams package is used as a Kafka connection wrapper to abstract from infrastructure implementation details by providing functions to connect to Kafka and PostgreSQL. It defines the event model used in the streaming platform and provides base consumer and producer classes. The package is implemented as a python package that is hosted on pypi.org, and documented with mkdocs.

The consumer and producer are capable of running in multiple processes to allow for parallel processing to better utilize modern CPUs. Both have built in monitoring capabilities: a counter shared by all processes is updated for each processed event. A thread running a function every few seconds is checking the counter and resetting it. If no data is processed over a defined period of time (meaning multiple consecutive check function runs), the container is restarted automatically by closing all python processed. This heart beat function ensures that even unforeseeable errors, such as container crashes or blockings are resolved by restarting the container and providing a clean system state.

more Information can be found here

Installation

pip install amba-event-stream

Releasing

Releases are published automatically when a tag is pushed to GitHub.

# Set next version number
export RELEASE=x.x.x

# Create tags
git commit --allow-empty -m "Release $RELEASE"
git tag -a $RELEASE -m "Version $RELEASE"

# Push
git push upstream --tags

Metadata

Release files for amba-event-stream 1.0.3

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

Source distribution (sdist)

Source distribution for amba-event-stream 1.0.3
File Size Uploaded Provenance Actions
amba-event-stream-1.0.3.tar.gz 28.1 kB Without provenance Details for amba-event-stream-1.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for amba-event-stream 1.0.3
File Interpreter ABI Platform Actions
amba_event_stream-1.0.3-py3-none-any.whl Python 3 none any Details for amba_event_stream-1.0.3-py3-none-any.whl

Total release size: 42.4 kB

Release files / amba-event-stream-1.0.3.tar.gz

Download URL amba-event-stream-1.0.3.tar.gz
Size 28.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ab08c7aec43f88823b9d87e0122ac7bd5554365af9b7624aece3519f3858cc32
BLAKE2b-256 checksum
How to use checksums
52de7449c5fd62b1b9460f0d8e1df22a4aff68f45ed80832fd21ee229f171c31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / amba_event_stream-1.0.3-py3-none-any.whl

Download URL amba_event_stream-1.0.3-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1814874d8180d3e8ac33d9245bf8f03f59056039de35b986913429e8dcd7c1ad
BLAKE2b-256 checksum
How to use checksums
6be79bac5549e437e45a9da01789f25315d2c2718652d0868eb19314ca74981c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Security for amba-event-stream 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files No provenance

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