{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/3"}],"enrichment":{"capability":"Mode is a minimal asyncio library that lets you build programs as composable services with lifecycle callbacks (start, stop, restart) and background tasks, organized into a dependency graph.","skillfed_tags":["asyncio-framework","service-lifecycle","dependency-injection"],"use_cases":["Building daemon applications with multiple async components that need coordinated startup and shutdown.","Organizing long-running services (caches, workers, servers) with clear lifecycle management and dependency injection.","Running background tasks on timers or as continuous loops within a larger async application.","Visualizing and debugging the dependency graph of a complex async system using beacons and pydot.","Integrating asyncio-based services into a command-line tool with logging, signal handling, and remote debugging."],"what_it_does":"Mode is a lightweight wrapper around asyncio that organizes async programs as services\u2014classes with lifecycle hooks (on_start, on_started, on_stop) and optional background tasks. Services can depend on other services, forming a directed graph that Mode manages automatically. The library includes a Worker class that handles command-line startup, logging, signal handling, and graceful shutdown.\n\nYou define services by subclassing Service and implementing async methods for startup and shutdown logic. Services can start other services as dependencies, run background tasks with decorators like @Service.timer() or @Service.task, and optionally visualize their dependency graph. The fork was created to ensure regular releases, code quality, and support for modern Python versions (3.10\u20133.15, including free threading).","worth_installing":"Yes. Mode is worth installing if you need to structure async programs around services with clear lifecycle management and dependency graphs. It has low install friction, active maintenance, permissive licensing, no known vulnerabilities, and broad Python version support. The fork's commitment to regular releases and modern Python support makes it a stable choice for new projects."},"id":"mode-streaming","links":{"html":"https://skillfed.io/packages/mode-streaming","md":"https://skillfed.io/packages/mode-streaming.md","pypi":"https://pypi.org/project/mode-streaming/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":null,"license_treatment":"permissive","name":"mode-streaming","python_support":"supports_current","summary":"AsyncIO Service-based programming"},"popularity":{"monthly_downloads":427422,"position":6750,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.7.1"}
