Wireme guide¶
One page per concept, in reading order. Every page ends with a runnable example from examples/.
- Getting started - install, wire a function, reuse a dependency
- Wiring classes - constructor and method injection
- The dependency graph - nesting, caching, singletons
- Resources - async factories and generator cleanup
- Testing - overrides and explicit values
- Side-effect dependencies - guards and auditing with requires
- Validation control - cast flags and errors
- Protocol dependencies - depend on interfaces
- FastAPI integration - FromWeb, resources, web overrides
- Building integrations - Wireme as your project's DI primitive
Architecture decisions live in docs/adr.