r/Python • u/AutoModerator • Apr 04 '26
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
43
Upvotes
r/Python • u/AutoModerator • Apr 04 '26
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
1
u/PotentialTomorrow111 Apr 06 '26
ASBFlow - Simplied Python API for Azure Service Bus
Hi r/Python,
I’ve been working on an integration with Azure Service Bus to handle high-volume messaging and I found the official Python SDK somewhat verbose and unintuitive for common workflows. To make things simpler, I developed asbflow, an open-source library that wraps the SDK providing a cleaner and more straightforward interface.
What My Project Does
ASBFlow simplifies the most common messaging workflows with Azure Service Bus. It lets you:
Publish messages to topics and queues, automatically handling the maximum batch size or letting you specify it
Consume messages from subscriptions and queues
Manage dead-letter queues: read, republish or purge messages
Optionally validate message payloads with Pydantic, preventing message confirmation if parsing fails
The library offers a more intuitive interface than the official SDK, while supporting high-volume messaging, multiple execution strategies (sequential or concurrent) and integration with Azure authentication methods.
Target Audience
ASBFlow is designed for developers and teams building production-grade applications with Azure Service Bus. As a first version, this is not yet production-ready and is currently intended as a tool for prototyping and experimentation. It is designed with the goal of evolving into a production-grade solution for developers and teams working with Azure Service Bus.
Comparison
Compared to the official
azure-servicebusPython SDK, ASBFlow:Reduces boilerplate for publishing and consuming messages
Integrates optional Pydantic validation with ASB acknowledgement
Simplifies dead-letter queue (DLQ) management
Supports multiple execution strategies without changing business logic
Integrates with Azure authentication methods
Links & Installation
GitHub: https://github.com/iFoxz17/asbflow
PyPI:
pip install asbflowQuick Example
Project Status & Contributions
This is the first stable version of the project: many more features can be certainly developed and integrated. Contributions and feedback are welcome!