Skip to content

Commit

Permalink
Fix typos in README (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjaysiddhanti authored and jstasiak committed Jan 23, 2020
1 parent e6d55ad commit 4137c35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Injector - Python dependency injection framework, inspired by Guice
Introduction
------------

While dependency injection is easy to do in Python due to its support for keyword arguments, the ease with which objects can be mocked and its dynamic natura, a framework for assisting in this process can remove a lot of boiler-plate from larger applications. That's where Injector can help. It automatically and transitively provides dependencies for you. As an added benefit, Injector encourages nicely compartmentalised code through the use of :ref:`modules <module>`.
While dependency injection is easy to do in Python due to its support for keyword arguments, the ease with which objects can be mocked and its dynamic nature, a framework for assisting in this process can remove a lot of boiler-plate from larger applications. That's where Injector can help. It automatically and transitively provides dependencies for you. As an added benefit, Injector encourages nicely compartmentalised code through the use of :ref:`modules <module>`.

If you're not sure what dependency injection is or you'd like to learn more about it see:

Expand All @@ -19,13 +19,13 @@ If you're not sure what dependency injection is or you'd like to learn more abou
The core values of Injector are:

* Simplicity - while being inspired by Guice, Injector does not slavishly replicate its API.
Providing a Pythonic API trumps faithfulness. Additionally some features are ommitted
Providing a Pythonic API trumps faithfulness. Additionally some features are omitted
because supporting them would be cumbersome and introduce a little bit too much "magic"
(member injection, method injection).

Connected to this, Injector tries to be as nonintrusive as possible. For example while you may
declare a class' constructor to expect some injectable parameters, the class' constructor
remains a standard constructor – you may instaniate the class just the same manually, if you want.
remains a standard constructor – you may instantiate the class just the same manually, if you want.

* No global state – you can have as many [Injector](https://injector.readthedocs.io/en/latest/api.html#injector.Injector)
instances as you like, each with a different configuration and each with different objects in different
Expand Down

0 comments on commit 4137c35

Please sign in to comment.