Skip to main content

Dependency Injection for Humans

Project description

Build Status Coverage Status Requirements Status Code Quality Status Python Package Version

Dependency Injection for Humans.

Installation

All released versions are hosted on the Python Package Index. You can install this package with following command.

pip install dependencies

License

Dependencies library is offered under LGPL license.

Changelog

0.6 (2016-03-09)

  • Deprecate c alias. Use real classes.

  • Allow to use let directly on Injector.

  • Do not instantiate dependencies named with cls at the end.

0.5 (2016-03-03)

  • Avoid attribute search recursion. This occurs with inheritance chain length started at 3 and missing dependency on first level.

  • Add c alias for Injector subclass access.

  • Add let factory to temporarily overwrite specified dependencies.

0.4 (2016-03-03)

  • Detect object.__init__ and skip it in the argument injection.

0.3 (2016-03-02)

  • Deprecate injectable mechanism. Injector may inject any arguments to any classes. Injector now support multiple DI targets. All possible targets now specified in the Injector attributes. Only single base inheritance allowed for Injector subclasses.

0.2 (2016-02-13)

  • Allows to override dependencies specified with Injector by inheritance from this Injector subclass.

0.1 (2016-01-31)

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dependencies-0.6.tar.gz (6.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dependencies-0.6-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

dependencies-0.6-py2-none-any.whl (5.5 kB view details)

Uploaded Python 2

File details

Details for the file dependencies-0.6.tar.gz.

File metadata

  • Download URL: dependencies-0.6.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dependencies-0.6.tar.gz
Algorithm Hash digest
SHA256 c5c62fffe5cf0a2b2b0afcd852c6c3147720c97f9182e2c67beff5acc8ab837e
MD5 7ac7a5eaafa88afe03df80bf4c3aa12c
BLAKE2b-256 9bf152050f64122f31066797e14b1e41aa82ae72199b6891eb5e6d5586ac8c34

See more details on using hashes here.

File details

Details for the file dependencies-0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for dependencies-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 62d6b0bd83ed5fcdc4c57a1297c2568412ada865342459804cfe9245ec4d0cf2
MD5 c15888dc7b7e135d99323c0413615be2
BLAKE2b-256 2de7cd84a6d20e79328e61c0c90bb9d8dd847bd93d7ddb876a3e494956976b1e

See more details on using hashes here.

File details

Details for the file dependencies-0.6-py2-none-any.whl.

File metadata

File hashes

Hashes for dependencies-0.6-py2-none-any.whl
Algorithm Hash digest
SHA256 fcb1344be3f62d8fadeaa1fdcecb272ee71336f48954038254b17192976ad198
MD5 d4ff5411574faf40c613cb9c66298d25
BLAKE2b-256 eb3e821c456a3a413372fa3b9a05acad8f82e50f036b3773956fbb20cda4c494

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page