circuits is an event-driven application framework built around reusable components and asynchronous event processing. It provides an architecture for developing applications in which independent components communicate by generating and handling events.
The framework is not restricted to web development. Its component system can coordinate network services, background processing and other application functionality. Components can be combined into larger systems while retaining their own event handlers and responsibilities.
circuits includes networking and web-related components, allowing the same event-driven model to be used for HTTP services and other communication protocols. Its architecture is particularly useful when an application needs multiple independently operating services within a single coordinated system.
This is free and open source software.
Key Features
- Event-driven component architecture for constructing modular applications.
- Event handlers registered through decorators and component methods.
- Support for synchronous and asynchronous event processing.
- Component registration and reusable hierarchies for organising application services.
- Event dispatching between components with configurable communication channels.
- Concurrency facilities and coroutine-based programming support.
- Asynchronous input and output components for network communication.
- TCP and UDP networking facilities for building network services.
- circuits.web component providing an HTTP server and web application framework.
- WSGI compatibility for integration with web application infrastructure.
- Event-driven handling of application startup, shutdown and service lifecycle operations.
- Timer and scheduling components for recurring or delayed events.
- Extensible architecture for constructing custom components and event protocols.
- Small core with no mandatory external library dependencies.
Website: github.com/circuits/circuits
Support:
Developer: James Mills
License: MIT License
circuits is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Best Python Micro Frameworks | |
|---|---|
| Flask | Hugely popular microframework based on Werkzeug and Jinja2 |
| FastAPI | Web framework for building APIs |
| Starlette | Lightweight ASGI framework/toolkit |
| aiohttp | Asynchronous HTTP client/server for asyncio and Python |
| Sanic | Web server and web framework |
| Falcon | Build cloud APIs, smart proxies, and app backends |
| Quart | Web microframework based on Asyncio |
| web.py | Minimalist Python web framework for building simple web apps |
| Pyramid | Start small, finish big, stay finished framework |
| Litestar | Powerful, lightweight, and flexible ASGI framework |
| Bottle | Fast, simple and lightweight WSGI micro web framework |
| Robyn | Python web framework designed for high performance |
| Chalice | Python Serverless Microframework for AWS |
| CherryPy | Mature, minimalist, Python object-oriented web framework |
| TurboGears | Hybrid framework acting as a Full Stack framework or Microframework |
| Microdot | Small web framework for Python and MicroPython |
| FastHTML | HTML-first Python framework for interactive web applications |
| BlackSheep | Asynchronous Python web framework |
| APIFlask | Flask-based API framework with validation and OpenAPI docs |
| Muffin | Lightweight asynchronous ASGI framework for Python web apps |
| Quixote | Aimed at sites where complex programming is required |
| Klein | Micro-framework for developing production-ready web services with Python |
| circuits | Lightweight event driven application framework |
| MicroPie | Ultra-micro ASGI Python web framework |
| Clastic | Functional web framework |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.