How ramonhagenaars/jacked works
Jacked is a Python dependency-injection framework. A developer marks objects as injectable or discovers them in a package; registration stores them in a container. Decorated callables then resolve type-hinted parameters through matchers and invoke the original callable. The graph also shows singleton storage and the distinct object, callable, list, and class-injection matcher branches. Relationships are limited to those supported by the README or shown in the sampled source and SOURCE INDEX; unsampled matcher implementations are included as components, but their internal behavior is not inferred.
Main entry points: _base_matcher.py Matcher base · _inject.py Injection decorator · _container.py Injectable container · __init__.py Public exports
Components 15
Public API
- Public exports
jacked/__init__.py - Injection decorator
jacked/_inject.py - Injectable decorator
jacked/_injectable.py
Registration & Discovery
- Package discovery
jacked/_discover.py - Injectable container
jacked/_container.py - Injectable metadata
jacked/_injectable.py
Injection Resolution
- Injection errors
jacked/_exceptions.py
Matching & Types
- Matcher base
jacked/matchers/_base_matcher.py - Object matcher
jacked/matchers/_object.py - Callable matcher
jacked/matchers/_callable.py - List matcher
jacked/matchers/_list.py - Class matcher
jacked/matchers/_type.py - Typing compatibility
jacked/_compatibility_impl.py - Typing helpers
jacked/_typing.py
Other components
- Developer
Connections 22
- Developer → Public exports: uses API
README.md - Public exports → Injection decorator: exports
jacked/__init__.py - Public exports → Injectable decorator: exports
jacked/__init__.py - Public exports → Package discovery: exports
jacked/__init__.py - Injectable decorator → Injectable metadata: creates record
jacked/_injectable.py - Injectable decorator → Injectable container: registers in
jacked/_injectable.py - Package discovery → Typing helpers: uses module type
jacked/_discover.py - Injection decorator → Injectable container: resolves from
jacked/_inject.py - Injection decorator → Matcher base: dispatches matching
jacked/_inject.py - Injection decorator → Package discovery: loads matchers via
jacked/_inject.py - Injection decorator → Injection errors: raises
jacked/_inject.py - Matcher base → Typing compatibility: normalizes types
jacked/matchers/_base_matcher.py - Matcher base → Injectable metadata: matches record
jacked/matchers/_base_matcher.py - Matcher base → Injectable container: receives container
jacked/matchers/_base_matcher.py - Callable matcher → Matcher base: extends
jacked/matchers/_callable.py - Callable matcher → Typing compatibility: checks callable types
jacked/matchers/_callable.py - Callable matcher → Typing helpers: checks subtypes
jacked/matchers/_callable.py - Object matcher → Matcher base: extends
jacked/matchers/_object.py - Object matcher → Injectable container: stores singleton
jacked/matchers/_object.py - List matcher → Matcher base: extends
jacked/matchers/_list.py - Class matcher → Matcher base: extends
jacked/matchers/_type.py - Injectable metadata → Injectable container: registers through
jacked/_injectable.py