Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ashka

CI Publish

ashka extends reagento/dishka with application lifecycle support.

Current Features

  • Pass BOOTSTRAP to the scope parameter of ashka.provide, for example @ashka.provide(scope=ashka.BOOTSTRAP), to register a dependency in the RUNTIME scope and create it when the container is initialized. Both synchronous and asynchronous containers can be initialized explicitly with container.init() or automatically by entering the container context manager.
  • Each ashka integration provides a consistent get_container function. It retrieves the container passed to setup_dishka from the integrated framework application, router, broker, context, or other supported object.
  • The central ashka.integrations.setup_dishka and ashka.integrations.get_container functions automatically dispatch to the corresponding integration based on the type of the object passed to them.
  • Integrations are available for Aiogram, Aiohttp, ARQ, Celery, Click, FastAPI, Flask, Litestar, Sanic, Starlette, Taskiq, and Telebot. FastStream is available as a manual opt-in integration.

Patched Implementations

  • dishka.**.make_container -> ashka.**.make_container
  • dishka.**.make_async_container -> ashka.**.make_async_container
  • dishka.integrations.*.setup_dishka -> ashka.integrations.*.setup_dishka

See FastStream support for its support status and manual opt-in.

Download files

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

Source Distribution

ashka-0.7.0b8.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

ashka-0.7.0b8-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file ashka-0.7.0b8.tar.gz.

File metadata

  • Download URL: ashka-0.7.0b8.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ashka-0.7.0b8.tar.gz
Algorithm Hash digest
SHA256 507e4166ec4e0cd9b85ff96616c2a8f2861dc61a24bcd58b5df800220c38b2ba
MD5 9a04a50635b83ab2026c39f271970611
BLAKE2b-256 6cffc891b052ec390cc149a2b8b68aee1461cdc4efca5f43b36fee98b7eec269

See more details on using hashes here.

Provenance

The following attestation bundles were made for ashka-0.7.0b8.tar.gz:

Publisher: publish.yml on handsome-Druid/ashka

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ashka-0.7.0b8-py3-none-any.whl.

File metadata

  • Download URL: ashka-0.7.0b8-py3-none-any.whl
  • Upload date:
  • Size: 23.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ashka-0.7.0b8-py3-none-any.whl
Algorithm Hash digest
SHA256 9ad81ab478a5fdbffc4464a844719649fcfc594d57de0599b776427126387cc6
MD5 7b67f7922250995c10f7e2a91a584ab0
BLAKE2b-256 e7726dcd1a0107b6a79f2c4c148dc1678cc49edd48318b933bad9e16d40a6372

See more details on using hashes here.

Provenance

The following attestation bundles were made for ashka-0.7.0b8-py3-none-any.whl:

Publisher: publish.yml on handsome-Druid/ashka

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.9.7

2 files

0.9.6

2 files

0.9.5

2 files

0.9.4

2 files

0.9.3

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.8

2 files

0.8.7

2 files

0.8.6

2 files

0.8.5

2 files

0.8.4

2 files

0.8.3

2 files

0.8.1

2 files

0.8.0

2 files

This release

0.7.0b8 This release

2 files

0.6.0

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page