🌐
GitHub
github.com › meadsteve › lagom
GitHub - meadsteve/lagom: 📦 Autowiring dependency injection container for python 3
📦 Autowiring dependency injection container for python 3 - meadsteve/lagom
Starred by 351 users
Forked by 21 users
Languages   Python
🌐
Readthedocs
lagom-di.readthedocs.io
Getting Started - Lagom - Dependency Injection Container
Lagom will only be involved at the top level to pull everything together. Type based auto wiring with zero configuration. Fully based on types. Strong integration with mypy. Minimal changes to existing code. Integration with a few common web frameworks. Support for async python.
🌐
PyPI
pypi.org › project › lagom
lagom · PyPI
For users of python 3.7 and above this should require no changes. Full details can be found in the release notes upgrade instructions. pip install lagom # or: # pipenv install lagom # poetry add lagom
      » pip install lagom
    
Published   Jul 16, 2025
Version   2.7.7
🌐
Reddit
reddit.com › r/python › lagom - dependency injector
r/Python on Reddit: Lagom - dependency injector
February 9, 2024 -

Question for ports and adapters architecture experts . Why this DI injector

https://github.com/meadsteve/lagom

Is not popular ? Only 230 stars on Github.

Uses Python typing to map dependencies, looks much more pythonic than injector or dependency-injector libs.

Are there any known problems that solution has or it's only not enough marketing ?

If not Lagom than what you recommend ?

🌐
GitHub
github.com › zuoxingdong › lagom
GitHub - zuoxingdong/lagom: lagom: A PyTorch infrastructure for rapid prototyping of reinforcement learning algorithms. · GitHub
lagom: A PyTorch infrastructure for rapid prototyping of reinforcement learning algorithms. - zuoxingdong/lagom
Starred by 378 users
Forked by 31 users
Languages   Jupyter Notebook 84.7% | Python 15.1% | Shell 0.2%
🌐
Read the Docs
media.readthedocs.org › pdf › lagom › stable › lagom.pdf pdf
lagom Documentation Release {version[0]}.{version[1]}.{version[2]} Xingdong Zuo
Base class for all workers implemented with Python multiprocessing.Process. ... It communicates with master via a Pipe connection. The worker is stand-by infinitely waiting for task from · master, working and sending back result. When it receives a close command, it breaks the infinite loop and ... Work on the given task and return the result. ... Returns result – working result. ... Chapter 7. lagom.multiprocessing
🌐
GitHub
github.com › zuoxingdong › lagom › blob › master › README.md
lagom/README.md at master · zuoxingdong/lagom
lagom: A PyTorch infrastructure for rapid prototyping of reinforcement learning algorithms. - zuoxingdong/lagom
Author   zuoxingdong
🌐
Breadcrumbscollector
breadcrumbscollector.tech › posts › do-you-need-dependency-injection
Do you need dependency injection in Python? | breadcrumbs collector.tech
April 6, 2023 - Often, different dependencies’ lifetimes’ strategies are called scopes. This is not so common in the Python tools I mentioned, though. Only injector uses that name. Lagom uses internally “temporary singletons” for e.g.
Find elsewhere
🌐
Snyk
snyk.io › snyk vulnerability database › pip
lagom vulnerabilities | Snyk
Lagom is a dependency injection container designed to give you 'just enough' help with building your dependencies.
🌐
Readthedocs
lagom.readthedocs.io › en › latest › utils.html
Utils — lagom 0.0.3 documentation - Read the Docs
Base class for all workers implemented with Python multiprocessing.Process. It communicates with master via a Pipe connection. The worker is stand-by infinitely waiting for task from master, working and sending back result. When it receives a close command, it breaks the infinite loop and close ...
🌐
Reddit
reddit.com › r/python › lagom dependency injection container
r/Python on Reddit: Lagom Dependency Injection Container
June 2, 2019 -

As a bit of a practise exercise I built a dependency injection container for python using types. It ended up looking half reasonable so I thought I'd publish it https://github.com/meadsteve/lagom . It currently targets python 3.7 and I'm interested to know what everyone thinks for this approach.

🌐
Libraries.io
libraries.io › pypi › lagom
lagom 2.7.7 on PyPI - Libraries.io - security & maintenance data for open source software
Lagom is a dependency injection container designed to give you 'just enough' help with building your dependencies. - 2.7.7 - a Python package on PyPI
🌐
Read the Docs
app.readthedocs.org › projects › lagom
lagom - Read the Docs Community
lagom is a light PyTorch infrastructure to quickly prototype reinforcement learning algorithms. machine-learning python pytorch reinforcement-learning
🌐
GitHub
github.com › zuoxingdong › lagom › blob › master › lagom › agent.py
lagom/lagom/agent.py at master · zuoxingdong/lagom
lagom: A PyTorch infrastructure for rapid prototyping of reinforcement learning algorithms. - zuoxingdong/lagom
Author   zuoxingdong
🌐
Hacker News
news.ycombinator.com › item
I just found out about Lagom from this blog post and it's exactly what I have be... | Hacker News
September 27, 2022 - All other Python options I've seen feel too involved or leak too much into your code. Lagom seems to balance everything just right
🌐
GitHub
github.com › meadsteve › lagom › blob › master › pyproject.toml
lagom/pyproject.toml at master · meadsteve/lagom
📦 Autowiring dependency injection container for python 3 - meadsteve/lagom
Author   meadsteve
🌐
PyPI
pypi.org › project › lagom › 0.19.0
lagom
JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
deps.dev
deps.dev › pypi › lagom › 2.7.7
lagom | PyPI
July 16, 2025 - You need to enable JavaScript to run this app
🌐
Arch Linux
aur.archlinux.org › packages › python-lagom
AUR (en) - python-lagom
December 5, 2021 - python-lagom-2.0.0.tar.gz · aurweb v6.2.18 · Report issues here. Copyright © 2004-2026 aurweb Development Team. AUR packages are user produced content.