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.5.0.tar.gz (44.6 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.5.0-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aioservicekit-0.5.0.tar.gz
  • Upload date:
  • Size: 44.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for aioservicekit-0.5.0.tar.gz
Algorithm Hash digest
SHA256 038c39f6f4510e30dff5d5a8381faeecbdee8f026cb366551679a286c580b158
MD5 e11906592e32afaa62a3ed718bd0d0d1
BLAKE2b-256 124c6b7e66f0a4d836452f9b49654baed815e47c03f7bba25e578ba63aad2f98

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aioservicekit-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for aioservicekit-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 391d412eb2529195de20aacb07ecf801a6698e9bf73ff9539c520dfa3c476bd2
MD5 8b153de880f309850bacfcaada54f28d
BLAKE2b-256 bcf9f8cfb614958c0aef111bebe8d170e7766f66749392c4d7eb8f7f706a1b2a

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