0
点赞
收藏
分享

微信扫一扫

python 几个IOC 框架

整理几个不错的python ioc 框架,方便学习使用

python-dependency-injector

功能很全,很强大,支持的特性比较多,属于比较全面的ioc 框架了

lagom

一个轻量的ioc 框架,常见玩法够用

FastDepends

这个实际上是来自fastapi 提取的一个ioc 框架

fastapi

fastapi 自带ioc 能力所以对于日常基于fastapi 的开发还是应该优先使用的

参考资料

https://github.com/ets-labs/python-dependency-injector

https://github.com/meadsteve/lagom

https://fastapi.tiangolo.com/

https://github.com/Lancetnik/FastDepends

举报

相关推荐

0 条评论