SShortSingh.
Back to feed

BlackBull framework now runs HTTP and MQTT 5 in a single Python file

0
·1 views

The BlackBull Python web framework has added native MQTT 5 broker support, allowing developers to run HTTP and MQTT protocols together in one application file with a single pip install. The MQTTExtension can be attached to a BlackBull app, binding an MQTT broker to port 1883 while the HTTP server runs on port 8000. Because both protocols share the same process, data can be exchanged through plain in-memory variables without needing Redis, message queues, or any broker sidecar. The framework also auto-generates AsyncAPI documentation for MQTT routes, mirroring its existing OpenAPI 3.1 support for HTTP endpoints. Developers can subscribe to parameterised MQTT topics using the same decorator-based syntax used for HTTP routes, keeping the codebase consistent across protocols.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

AI Agent Attack Taxonomy Is Useful, But Its Key Extraction Claim Needs Verification

A semi-annual security roundup by DevFortress, published on June 28, 2026, catalogs the main attack classes targeting AI agents, including prompt injection and token leakage. As AI agents increasingly take real-world actions like reading emails and executing code, they expose a broader attack surface than traditional software. The report recommends standard defenses such as rate-limiting agent actions, rotating credentials, and treating all external input as untrusted. However, the roundup also includes an unverified claim that a model's internal weights can be extracted cheaply through crafted queries — a finding that has not been independently replicated. Security experts advise treating the attack taxonomy as actionable guidance while holding the extraction claim to a higher standard of verification before accepting it as fact.

0
ProgrammingHacker News ·

LIBR Tool Offers Source Ledger Tracing and Byte-Exact PDF Verification

A developer has shared LIBR, a tracing tool designed to provide precise auditability for state machine operations. The system links source ledger rows directly to outputs, enabling byte-exact verification of generated PDF documents. The project was submitted to Hacker News as a community showcase post, attracting early attention from developers. Technical details are available via the Exit Protocols engineering blog, where the implementation is documented. The tool appears aimed at use cases requiring strict data integrity and reproducible document generation.

0
ProgrammingHacker News ·

Guide outlines essential skills and topics for aspiring graphics programmers

A blog post published on July 1, 2026, at demofox.org offers a structured guide for those looking to pursue a career in graphics programming. The article outlines the key areas of knowledge and skills that aspiring graphics programmers should focus on acquiring. It was shared on Hacker News, where it received 6 points at the time of reporting. The post appears aimed at helping beginners and intermediate developers navigate the often complex learning path in the graphics programming field.

0
ProgrammingDEV Community ·

Developer Revisits LeetCode in 2026 After Two Years of False Starts

A software developer shares their two-year struggle with LeetCode, having first attempted consistent problem-solving in 2024 after conversations with colleagues about improving data structures and algorithms skills. Initial motivation faded quickly due to time constraints and difficulty grasping problem logic, leaving the developer stuck in a cycle of short-lived attempts. A recent article by another developer named Hadil reignited their interest and prompted a fresh, more structured approach. This time, the developer chose to rebuild fundamentals from scratch, focusing on C++ and its Standard Template Library before tackling problems. They are now studying common algorithmic patterns — such as two pointers, fast and slow pointers, and sliding window — as a framework for approaching LeetCode questions more systematically.

BlackBull framework now runs HTTP and MQTT 5 in a single Python file · ShortSingh