Skip to main content

A dependency injection framework for your python applications

Project description

YAAK stands for Yet Another Application Kit. It’s a set of tools that help developing enterprise applications in python.

yaak.inject is a package from the YAAK toolkit that provides dependency injection to your applications. See this Martin Fowler’s article for an explanation of dependency injection and its usefulness when developing enterprise application.

Installation

You should have easy_install (from setuptools or something equivalent) installed on your system.

To install the package, just type:

$ easy_install yaak.inject

You can also install the package from a source tarball. Decompress the source archive and type:

$ python setup.py install

Support

This project is hosted on bitbucket.org. Please report issues via the bug tracker.

The package documentation can be found here.

Automated tests are run over the mercurial repository regularly. Build results can be found here.

Changelog

0.2.1 (11-March-2012)

  • The setup.py file does not import code anymore in order to retrieve the version information, since it may cause some installation problems

  • Fixed bad years in the changelog, and reordered the items so that the most recent changes appear first

  • Changed the aliases for releasing new versions

  • Fixed line endings (unix style)

  • Removed the extensions of the text files since it’s a convention in the Python world.

0.2.0 (24-Oct-2011)

  • Fixed the broken lock acquire/release implementation when updating the application context dictionary.

  • The locking mechanism is now available for all scopes.

  • The context manager is now responsible for updating the context dictionaries.

  • Fixed duplicate factory calls when providing a factory returning None

  • ScopeManager.enter_scope now raise a ScopeReenterError when re-entering a scope

  • ScopeManager.exit_scope now raise a UndefinedScopeError when exiting an undeclared scope

  • Fixed the API documentation

0.1.0 (23-Oct-2011)

  • 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 Distributions

yaak.inject-0.2.1.zip (25.7 kB view details)

Uploaded Source

yaak.inject-0.2.1.tar.gz (19.5 kB view details)

Uploaded Source

File details

Details for the file yaak.inject-0.2.1.zip.

File metadata

  • Download URL: yaak.inject-0.2.1.zip
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yaak.inject-0.2.1.zip
Algorithm Hash digest
SHA256 f7a70ca4065b6cb33e0269b06a3ef376abe3337b2f114eedba4f7ce2145d0903
MD5 df48d56665d5564348c7d8ebcbc42f0c
BLAKE2b-256 af0327f8f75cba902e8281dff03707b759a76b7dfcd64c98ca1a8fde7e3ba644

See more details on using hashes here.

File details

Details for the file yaak.inject-0.2.1.tar.gz.

File metadata

  • Download URL: yaak.inject-0.2.1.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yaak.inject-0.2.1.tar.gz
Algorithm Hash digest
SHA256 3b4da16cf2767627fc5eb44396501e9878f7bdcd75853693a00a35548ca87c7d
MD5 d55a7f9bd5a728462fdd0d111fc9983a
BLAKE2b-256 dfebe0a56380d9fb13aebd63f8d4588deef7ad055eafa211b9bd4bbc4ea65a96

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