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.8 (2016-06-05)

  • Correct syntax error for Python 2.6

0.7 (2016-06-04)

  • Raise DependencyError for mutual recursion in constructor arguments and specified dependencies.

  • Show injected dependencies in the dir result.

  • Deny to instantiate Injector and its subclasses.

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.8.tar.gz (6.5 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.8-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

dependencies-0.8-py2-none-any.whl (5.9 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for dependencies-0.8.tar.gz
Algorithm Hash digest
SHA256 484060579acec3184ca32c6103953c9d960180415677821749dbb3448919dad6
MD5 0bb8bda078aa79a73607f39c4ba33d62
BLAKE2b-256 7f20e8e1f335c026f7cdc18888ed948a428fe8659046b656dc87d68a8ea875b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dependencies-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cad81e1a32635a8cd47a4642e18c8210f2b5da5bdf05343e1ba149c0c90edd9d
MD5 800fd0a4be00274bd096d610f0d584f7
BLAKE2b-256 27966cf8d68777e76a907778098212fe8a34d4dc4da8bc439ee236145087ec83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dependencies-0.8-py2-none-any.whl
Algorithm Hash digest
SHA256 b9513167a6bec9596df4b74e9502c9d4da010a56d0507936d869139a54f43ed5
MD5 467bd69e916d559b1afb28c9352f062a
BLAKE2b-256 3e3c4c6714918058421e92ff6037fbe7f9871bd510353dd4a521881d2dc422fd

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