circuits – event-driven application framework

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
FlaskHugely popular microframework based on Werkzeug and Jinja2
FastAPIWeb framework for building APIs
StarletteLightweight ASGI framework/toolkit
aiohttpAsynchronous HTTP client/server for asyncio and Python
SanicWeb server and web framework
FalconBuild cloud APIs, smart proxies, and app backends
QuartWeb microframework based on Asyncio
web.pyMinimalist Python web framework for building simple web apps
PyramidStart small, finish big, stay finished framework
LitestarPowerful, lightweight, and flexible ASGI framework
BottleFast, simple and lightweight WSGI micro web framework
RobynPython web framework designed for high performance
ChalicePython Serverless Microframework for AWS
CherryPyMature, minimalist, Python object-oriented web framework
TurboGearsHybrid framework acting as a Full Stack framework or Microframework
MicrodotSmall web framework for Python and MicroPython
FastHTMLHTML-first Python framework for interactive web applications
BlackSheepAsynchronous Python web framework
APIFlaskFlask-based API framework with validation and OpenAPI docs
MuffinLightweight asynchronous ASGI framework for Python web apps
QuixoteAimed at sites where complex programming is required
KleinMicro-framework for developing production-ready web services with Python
circuitsLightweight event driven application framework
MicroPieUltra-micro ASGI Python web framework
ClasticFunctional web framework

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted