Commit Graph

133 Commits

Author SHA1 Message Date
Roman Mogylatov
6eff213a68
Migrate to alabaster (#264)
* Add bootstrap and remove created at from ghnav-flask app

* Update readme

* Add logo to the docs

* Update key features description

* Update README

* Change headers of API docs

* Add alabaster theme config

* Update docs index

* Add tutorials section

* Update what is DI page

* Update DI in Python page

* Update tutorials index page

* Update provider docs

* Update container docs

* Update examples docs
2020-07-18 00:40:14 -04:00
Roman Mogylatov
a0a3da8f72 Improve List and Configuration provider docs 2020-06-29 16:32:48 -04:00
Roman Mogylatov
2513d1f600
Selector provider (#258)
* Add Selector provider

* Add Selector provider example

* Add tests for selector provider

* Update changelog

* Add pydocstyle ignore D101 for examples

* Fix repr() test

* Update changelog

* Add D203,D213 to examples pydocstyle ignore

* Add selector provider docs
2020-06-29 16:32:12 -04:00
Roman Mogylatov
62e1995a7d Add configuration provider docs 2020-06-25 17:12:16 -04:00
RobinsonMa
c136663071
Update singleton_thread_locals.py (#252)
* Update singleton_thread_locals.py

fix

* Update singleton_thread_locals.py

* Update singleton_thread_locals.py
2020-06-16 21:53:00 -04:00
Roman Mogylatov
2beafb9a51
List provider (#251)
* Add List provider

* Add List provider example

* Add List provider unit tests

* Add docs

* Upstream changes from develop

* Update API docs

* Update unit tests

* Add support of positional context argument injections

* Update changelog
2020-06-14 17:32:12 -04:00
Bruno P. Kinoshita
910dec38a4
Fix a few typos (#250)
* Fix a few typos

* Spell, grammar checkers on docs
2020-06-13 22:24:32 -04:00
Roman Mogylatov
cf44e5815d Refactor example modules in Python3-ish way 2020-01-26 18:41:36 -05:00
Roman Mogylatov
23642e49f4 Fix PEP257 doc block errors in example modules. 2020-01-26 14:22:43 -05:00
Roman Mogylatov
9a785de4b5
Coroutine provider (#206)
* Add coroutine provider examples

* Add coroutine provier

* Update changelog

* Update static analysis travis jobs to python 3.7

* Update coroutine provider implementation for python 3.4

* Update static analysis travis jobs to python 3.6

* Make pycode style happy

* Add tests for coroutine providers

* Make coroutine tests python 2 syntax friendly

* Split tests to python2 and python3

* Refactor coroutine provider tests

* Modify pypy tests running command

* Update coroutine provider docs
2018-10-18 19:39:19 +03:00
Roman Mogylatov
c5d8032e95 Update docs & examples 2017-12-21 22:54:44 +02:00
Roman Mogylatov
be65996e57 Add .provider attribute 2017-10-13 10:15:21 -07:00
Roman Mogylatov
3364d6f1b9 Add documentation for FactoryAggregate provider 2017-10-12 21:55:29 -07:00
Roman Mogylatov
c1053cbd73 Add early implementation of FactoryAggregate provider 2017-10-11 10:13:31 -07:00
Roman Mogylatov
eb52ccb3c0 Add example & prototype of factory aggregate 2017-10-11 10:11:07 -07:00
Roman Mogilatov
d8d910d342 Update example of writing custom providers 2017-05-08 17:36:17 +03:00
Roman Mogilatov
d3d170620a Fix few pydocstyle errors in examples 2017-04-18 23:38:04 +03:00
Roman Mogilatov
f4992d842e Add example for abstract factory provider 2017-04-06 19:18:46 +03:00
Roman Mogilatov
b0d507b8bf Release 3.1.3 2016-11-15 14:32:23 +02:00
Roman Mogilatov
2072567242 Fix flake8 E305 error 2016-11-15 14:26:40 +02:00
Roman Mogilatov
7ae0086a69 Update examples for 3.0 2016-11-02 18:25:48 +02:00
Roman Mogilatov
ac150bb2e4 Update thread-local singleton example 2016-08-18 00:59:44 +03:00
Roman Mogilatov
f27fa60413 Add ThreadLocalSingleton, its delegated version and example of usage 2016-08-17 00:03:26 +03:00
Roman Mogilatov
91a8dbfa18 Update provider overriding docs 2016-06-09 19:40:22 +03:00
Roman Mogilatov
486353bbea Update object provider docs 2016-06-09 17:49:09 +03:00
Roman Mogilatov
9969bc4761 Update external dependency provider docs 2016-06-09 17:47:55 +03:00
Roman Mogilatov
c5518e0ec3 Update callable provider docs
+ Add providers class diagram
2016-06-09 01:43:25 +03:00
Roman Mogilatov
7e1ee9b66a Update singleton provider docs 2016-06-08 17:46:40 +03:00
Roman Mogilatov
d963e9b562 Update identation in imports block for factory examples 2016-06-08 16:54:47 +03:00
Roman Mogilatov
14ca5651df Update factory provider docs 2016-06-08 16:41:13 +03:00
Roman Mogilatov
addaadac72 Refactor provider examples 2016-06-06 11:54:05 +03:00
Roman Mogilatov
319128260a Add DelegatedCallable, DelegatedFactory & DelegatedSingleton providers 2015-12-28 17:25:25 +02:00
Roman Mogilatov
c6b79a8052 Update catalogs and providers error messages 2015-12-15 16:47:26 +02:00
Roman Mogilatov
80a329d480 Add docs about Factory and Singleton provides specialization 2015-12-13 14:22:59 +02:00
Roman Mogilatov
1fd54927c5 Update writing of custom providers docs 2015-11-23 21:46:21 +02:00
Roman Mogilatov
9b4e325a2d Update provider overriding docs 2015-11-23 21:46:20 +02:00
Roman Mogilatov
91dcfea775 Update external dependency provider docs, including API, and examples 2015-11-23 21:46:20 +02:00
Roman Mogilatov
a65155ed1c Update callable provider docs, including API, and examples 2015-11-23 21:46:20 +02:00
Roman Mogilatov
cea843160c Update static providers docs, including API, and examples 2015-11-23 21:46:20 +02:00
Roman Mogilatov
61e6f2db60 Update singleton provider docs, including API, and examples 2015-11-23 21:46:19 +02:00
Roman Mogilatov
7eed1cf880 Update Factory provider docs and examples 2015-11-23 21:46:19 +02:00
Roman Mogilatov
dd5cc79dd1 Update docs of Callable provider with description of positional agrument injections and new example 2015-10-22 16:52:48 +03:00
Roman Mogilatov
cc29d68337 Update Factory docs about positional and keyword arguments 2015-10-19 17:29:00 +03:00
Roman Mogilatov
8ab0cc5e0e Fix PEP257 D211 error 2015-10-11 23:41:55 +03:00
Roman Mogilatov
50a3db6b94 Update Factory provider docs 2015-09-03 00:24:20 +03:00
Roman Mogilatov
2d5ce49254 Update factory attribute injections docs 2015-09-02 23:02:58 +03:00
Roman Mogilatov
479f50fb76 Update Factory method injections docs 2015-09-02 22:59:06 +03:00
Roman Mogilatov
b8a30601df Update Factory providers delegation docs 2015-09-02 22:53:39 +03:00
Roman Mogilatov
f9b4652e74 Update basic factory example and docs 2015-09-02 22:18:13 +03:00
Roman Mogilatov
98c4ec71c1 Update Singleton provider docs 2015-09-02 19:06:09 +03:00
Roman Mogilatov
1e1266a4d3 Update static providers example 2015-09-02 18:56:32 +03:00
Roman Mogilatov
b866229efb Update ExternalDependency provider example 2015-09-02 18:55:36 +03:00
Roman Mogilatov
444af2ab0e Update Callable provider docs 2015-09-02 18:48:11 +03:00
Roman Mogilatov
9326fdace4 Update ExternalDependency provider docs 2015-09-02 18:36:43 +03:00
Roman Mogilatov
a9eedc6760 Update static providers docs 2015-09-02 18:16:25 +03:00
Roman Mogilatov
a7ca196ee0 Update providers overriding docs 2015-09-02 18:14:13 +03:00
Roman Mogilatov
54da9913eb Update docs about writing custom providers 2015-09-02 17:20:19 +03:00
Roman Mogilatov
6d0f892f8a Rename Objects to Dependency Injector 2015-08-31 16:31:38 +03:00
Roman Mogilatov
bc39251426 Adding docs about writing custom providers 2015-07-28 01:29:31 +03:00
Roman Mogilatov
024b148c54 Adding docs for overriding of providers 2015-07-25 04:57:38 +03:00
Roman Mogilatov
bfa40aec10 Adding minor changes to docblocks of overriding example 2015-07-25 00:52:09 +03:00
Roman Mogilatov
947a0667a6 Changing comments in factory examples 2015-07-25 00:14:45 +03:00
Roman Mogilatov
0972e79130 Adding new providers overriding examples 2015-07-25 00:12:52 +03:00
Roman Mogilatov
0efebb337f Adding explanation for Singleton and Callable providers delegation 2015-07-20 19:31:31 +03:00
Roman Mogilatov
996fc4ecbf Updating singleton examples 2015-07-20 18:58:39 +03:00
Roman Mogilatov
2690d9b9d4 Adding docs for factories delegation 2015-07-20 18:46:45 +03:00
Roman Mogilatov
3b9d36f2d2 Adding fixes for ExternalDependecy provider docs 2015-07-17 10:01:27 +03:00
Roman Mogilatov
839888f445 Adding some minor updates for providers delegation example 2015-07-16 02:50:55 +03:00
Roman Mogilatov
ec808b1361 Updating callable docs 2015-07-16 02:39:21 +03:00
Roman Mogilatov
67fb4181f4 Reverting of removing callable provider example 2015-07-16 00:49:20 +03:00
Roman Mogilatov
7f92b886bd removing example of callalbe provider 2015-07-15 16:14:40 +03:00
Roman Mogilatov
7224fd4b37 Updating callable provider docs 2015-07-14 02:37:25 +03:00
Roman Mogilatov
a612e42a99 First steps with providers delegation docs 2015-06-19 12:44:46 +03:00
Roman Mogilatov
e3ea517d72 Minor ExternalDependency provider updates, Adding ExternalDependency provider docs 2015-06-18 16:34:26 +03:00
Roman Mogilatov
dbc368d5f6 Minor updates for static provider docs 2015-06-18 14:55:13 +03:00
Roman Mogilatov
ef41688e61 Minor fixes in singleton docs 2015-06-18 14:45:26 +03:00
Roman Mogilatov
7f439137d6 Adding callable provider docs and some minor changes to factory docs 2015-06-16 11:05:12 +03:00
Roman Mogilatov
91ea2a54f6 Adding static provider docs 2015-06-16 10:37:57 +03:00
Roman Mogilatov
d386969004 Adding Singleton docs & making some changes for Factory docs 2015-06-10 12:00:43 +03:00
Roman Mogilatov
bb7cfcc124 Finishing of Factory provider docs 2015-06-08 11:33:27 +03:00
Roman Mogilatov
7c1c32db80 Updating Factory docs and examples 2015-06-05 12:28:12 +03:00
Roman Mogilatov
776bbc7dde small fixes for Factory docs and examples 2015-06-05 11:39:01 +03:00
Roman Mogilatov
2e8f59115f Complete of Factory docs, new Factory examples 2015-06-05 11:29:36 +03:00