Skip to main content

Flextream 🏞️

Utility library forstreaming to Azure Event hubs. Handles background threaded process, and connection caching to minimise bottlenecks when streaming data over hubs.

Can be pip installed with pip install flextream.

To use, you'll mostly, just need a single function:

from flextream import send_to_event_hub

send_to_event_hub(
  {"message": "hello world!", "also_some_numbers": [1, 2, 3]},
  namespace="namestapce-name.servicebus.windows.net",
  eventhub="my-first-eventhub",
  latency=10,
)

In the above example, bespoke credentials haven't been passed into the credential keyword, so it will fall back to authenticating with DefaultAzureCredentials. The latency parameter is the maximum amount of time in seconds that a message will be held onto before being sent in a background triggered thread.

Any other messages sent to the eventhub during the wait time will be bundled alongside in a batch for efficiency.

Metadata

Release files for flextream 0.1.2

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

Source distribution (sdist)

Source distribution for flextream 0.1.2
File Size Uploaded Provenance Actions
flextream-0.1.2.tar.gz 60.1 kB Without provenance Details for flextream-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flextream 0.1.2
File Interpreter ABI Platform Actions
flextream-0.1.2-py3-none-any.whl Python 3 none any Details for flextream-0.1.2-py3-none-any.whl

Total release size: 64.4 kB

Release files / flextream-0.1.2.tar.gz

Download URL flextream-0.1.2.tar.gz
Size 60.1 kB
Tags Source
SHA-256 checksum
How to use checksums
41400cb3eecaae9030c12746b3149e31e3e3e87a7d0135de2e1775a59d0c5e19
BLAKE2b-256 checksum
How to use checksums
4e6fff37d4a83953e9e960c304c87d41488dda81254220c69e4ec813b484587e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / flextream-0.1.2-py3-none-any.whl

Download URL flextream-0.1.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfdd03100ffd8c149ec54f07a2e2e8216a7d9d3866a95f4c4468d5118f792d87
BLAKE2b-256 checksum
How to use checksums
79ae2cbaf6b8feeb8598aca44c8d885574213c15a519e99a5ece658dcf6a4953
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Security for flextream 0.1.2

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

0.1.2 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