Demo application for WireUp, a Python dependency injection library.
This is intended as a demo to showcase various aspects of wireup. Feel free to explore and play around with to get familiar with the library.
app/app.py
- Container parameter initialization.app/service
- Service declaration.app/blueprint
- Autowiring api views.test
- Tests. Various examples on testing the services in isolation.
env FLASK_APP=app/app.py DB_CONNECTION_URL=sqlite:///var/blog.db MAILER_DSN="smtp://..." python -m flask run