alluka
A type based dependency injection framework for Python 3.9+.
Decision gist · record as of 2026-08-14
Yes, if you're building a Python 3.11+ application where dependency injection would reduce coupling and improve testability. The low install friction, permissive license, and zero known vulnerabilities make it safe to adopt. However, the aging maintenance status (628 days since last release) means you should verify that the framework's feature set meets your needs before committing—it's stable but not under active development.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or above; the framework is designed for Python 3.11+.
- Installation is straightforward with low friction—a single pure-Python wheel with only typing-extensions as a runtime dependency.
- The package is in Beta status and has not been updated in 628 days, suggesting stable but not actively developed code.
License · maintenance · safety
permissive license (permissive) — Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions.
last release 2024-11-24 (628 days) · last repo commit 2025-10-04 · 26 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 73,832 downloads/mo, #14,924 on PyPI
Alternatives
Verify before relying
pip install alluka
from alluka import Injector
injector = Injector()
result = injector.call(your_function)- Whether the framework supports async/await patterns beyond the AsyncIO and Trio classifiers suggest
- Performance characteristics and overhead compared to manual dependency passing
- Real-world adoption patterns and community examples beyond the official documentation
What it is and what it does
Alluka is a dependency injection container that leverages Python's type system to automatically wire dependencies. Instead of manually passing arguments through function calls, you declare what your functions need via type hints, and Alluka resolves and injects those dependencies at runtime. It supports both synchronous and asynchronous code through integrations with AsyncIO and Trio.
The framework is designed for developers building applications where dependency management becomes complex—microservices, plugin systems, or large codebases where loose coupling matters. It's currently in Beta and requires Python 3.11 or later, with a minimal dependency footprint (only typing-extensions at runtime).
Use it for
- Building microservices where multiple components need shared resources like database connections or configuration objects
- Creating plugin architectures where plugins declare their dependencies and the framework wires them automatically
- Testing applications by injecting mock implementations of services without changing production code
- Async applications using AsyncIO or Trio that need clean dependency management across concurrent tasks
- Large codebases where explicit dependency passing becomes unwieldy and a central container improves maintainability
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you're building a Python 3.11+ application where dependency injection would reduce coupling and improve testability.
The low install friction, permissive license, and zero known vulnerabilities make it safe to adopt. However, the aging maintenance status (628 days since last release) means you should verify that the framework's feature set meets your needs before committing—it's stable but not under active development.
Install
alluka on PyPI
Before you install
Installation is straightforward with low friction—a single pure-Python wheel with only typing-extensions as a runtime dependency. The package is in Beta status and has not been updated in 628 days, suggesting stable but not actively developed code.
Requires Python 3.11 or above; the framework is designed for Python 3.11+.
License in practice
Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions.
Quickstart
pip install alluka
from alluka import Injector
injector = Injector()
result = injector.call(your_function)
Verify before relying
- Whether the framework supports async/await patterns beyond the AsyncIO and Trio classifiers suggest
- Performance characteristics and overhead compared to manual dependency passing
- Real-world adoption patterns and community examples beyond the official documentation
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release <3.15,>=3.11.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetyping-extensions |
| Maintenance | Aging 628 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,832 / month, #14,924 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaFramework :: AnyIOFramework :: AsyncIOFramework :: TrioIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: UtilitiesTyping :: Typed |
Evidence: alluka-0.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dependency injection framework”
- allukaAlluka is a type-based dependency injection framework that uses…
- injectorInjector is a Python dependency injection framework that…
- pinjectPinject is a dependency injection library that automatically…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also in-n-out · rodi · simple-di · dishka · kink · inject · punq · injector · fast-depends · dependency-injector