Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

di-ioc

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

di-ioc

Dependency injection / inversion of control

  • 0.0.5
  • Source
  • PyPI
  • Socket score

Maintainers
1

di-ioc

Inversion of control / dependency injection for python

TODO:

  • Add AbstractLifetime class for singleton and scoped lifetimes
  • Use ServiceRequest as the key to retrieve a service instead of just a type
    • This would change AbstractServiceProvider, AbstractServiceContainer, ServiceFactory to accept a ServiceRequest object that defines what service needs to be returned. It still allows for retrieving based on a type, but also allows for more complex resolving needs.
    • Maybe add a Resolver layer inside the ServiceProvider that takes the request and ChainMap of service factories to resolve the requested service. It could be customized by user if needed.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc