Skip to main content

A framework for creating asynchronous services. It helps to create nanoservices (like microservices, but for microservices), control their life cycle and organize communications.

Project description

aioservicekit

Welcome to the documentation for aioservicekit.

aioservicekit is a Python library built on asyncio designed to provide a robust and structured framework for creating long-running asynchronous services, periodic tasks, and managing their lifecycles gracefully.

Core Features

  • Managed Services: Define services with clear start, stop, restart, and wait lifecycles.
  • Periodic Tasks: Easily create tasks that run at regular intervals.
  • Dependency Management: Define dependencies between services, ensuring correct startup and shutdown order.
  • Graceful Shutdown: Integrates with OS signals (SIGINT, SIGTERM) for clean application termination via the on_shutdown event.
  • Task Concurrency: Manage groups of concurrent tasks with configurable error handling using TaskGroup.
  • Pub/Sub Channels: Distribute data asynchronously to multiple consumers using Chanel.
  • Event System: A generic event emitter/listener pattern for decoupling components.
  • Utilities: Helpers for running multiple services and ensuring clean application exit.

Navigation

Installation

pip install aioservicekit

Ready to build robust async applications? Head over to the Getting Started guide!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioservicekit-0.7.1.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aioservicekit-0.7.1-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file aioservicekit-0.7.1.tar.gz.

File metadata

  • Download URL: aioservicekit-0.7.1.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aioservicekit-0.7.1.tar.gz
Algorithm Hash digest
SHA256 2d800aa022e296f3345b1ff445d19a379c178da3a7b6e082d8b09487fb2b4dfa
MD5 2798f3f11b0f30cfc0d7143303c09183
BLAKE2b-256 cb949fb0274fd1dc6969e61554237c8e1fb5aeb6349ee3c04f0e9096abce7260

See more details on using hashes here.

File details

Details for the file aioservicekit-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: aioservicekit-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aioservicekit-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47bd7733c0f5cb028ecf3ae6dfdfdc7123d92ef199bead9098e75d2ed18867ec
MD5 0dde75e23bfa283c87f028e3e0fc0643
BLAKE2b-256 e346eab4156f1c05757e23b6285a3bf32e5e203624236359c981c0f28acd62f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page