Commit Graph

363 Commits

Author SHA1 Message Date
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
50af2508e8 Add factory patterns 2018-08-16 23:52:29 +03:00
Roman Mogylatov
b243afa748 Apply code style fixes for services_v2 example miniapp 2018-07-03 12:39:43 +03:00
Roman Mogylatov
f1c1a4ed0c Change code layout of services_v2 miniapp 2018-07-02 16:43:23 +03:00
Roman Mogylatov
a8dd335d71 Add example of callable delegation 2018-06-27 19:53:06 +03:00
Roman Mogylatov
96b44004b1 Refactor example miniapps - services_v1, services_v2 2018-06-27 19:12:57 +03:00
Roman Mogylatov
431dee80d8 Add ioc_container example 2018-06-22 09:52:58 +03:00
Roman Mogylatov
d5bd3bdfce Update services example 2018-01-25 01:06:28 +02:00
Roman Mogylatov
4b863a659e Update bundles example after configuration provider refactoring 2018-01-24 19:59:48 +02:00
Roman Mogylatov
4a37433c43 Add minor fixes to movie lister miniapp 2018-01-21 23:58:34 +02:00
Roman Mogylatov
c50322db02
178 dependencies container provider (#179)
* Add DependenciesContainer provider

* Remove bundles_v2 example

* Add use cases example

* Update changelog

* Update documentation requirements to use fixed version of sphinxcontrib-disqus

* Add use cases miniapp to docs

* Update changelog
2018-01-21 23:55:32 +02:00
Roman Mogylatov
d5ac1474d4 Add bundles example miniapp 2017-12-25 16:55:59 +02:00
Roman Mogylatov
bb390f51f0 Add doc blocks for bundles example miniapp 2017-12-25 14:38:53 +02:00
Roman Mogylatov
1c6160e827
Feature/declarative container initialization (#176)
* Add overriding functionality on declarative container initialization

* Update changelog

* Update bundles example
2017-12-24 23:03:13 +02:00
Roman Mogylatov
1115e783e0 Update bundles example with Dependency provider 2017-12-21 22:58:13 +02:00
Roman Mogylatov
c5d8032e95 Update docs & examples 2017-12-21 22:54:44 +02:00
Roman Mogylatov
81718c5b6a Rename bundles example 2017-12-21 22:06:00 +02:00
Roman Mogylatov
6a64b6e297 Add container dependencies concept 2017-12-20 12:25:46 +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
464c4f724f Add mail_service example 2017-07-10 23:33:01 +03:00
Roman Mogilatov
fee8530b1e Update movie lister example miniapp 2017-05-08 18:55:14 +03: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
870809c836 Increase version to 3.4.1 2017-04-07 09:19:48 +03:00
Roman Mogilatov
f4992d842e Add example for abstract factory provider 2017-04-06 19:18:46 +03:00
Roman Mogilatov
ca9c13543d Update services miniapp example 2017-03-15 17:26:59 +02:00
Roman Mogilatov
a2843a974a Update readme and services miniapp example 2016-12-02 21:01:23 +02:00
Roman Mogilatov
7ab471fe49 Update services miniapp with configuration provider 2016-12-02 20:43:39 +02: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
079d3f5ea7 Add services mini app example to docs 2016-11-11 23:08:47 +02:00
Roman Mogilatov
7ae0086a69 Update examples for 3.0 2016-11-02 18:25:48 +02:00
Roman Mogilatov
ed9391cc6e Create engines & cars example miniapp 2016-10-19 20:21:20 +03:00
Roman Mogilatov
a8c9219d09 Update dependency injection example in introduction/what_is_di.rst 2016-10-19 20:18:07 +03:00
Roman Mogilatov
9aee65057e Update service names in services example miniapp 2016-10-19 15:25:19 +03:00
Roman Mogilatov
fb3679d267 Move fixtures to separate module in movie lister example 2016-10-13 10:41:50 +03:00
Roman Mogilatov
c93b6fcfdf Update run script for services example 2016-10-11 17:45:56 +03:00
Roman Mogilatov
8798ea1a56 Update services example 2016-10-06 22:48:43 +03:00
Roman Mogilatov
38c9d2f18a Update docs 2016-09-23 00:24:45 +03:00
Roman Mogilatov
4e66c47f59 Update movie lister example 2016-09-22 14:40:45 +03:00
Roman Mogilatov
bff0e58f7f Update miniapps/services example 2016-09-19 12:31:27 +03: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
8d1ae1a840 Update container examples with namedtuples 2016-06-08 16:52:58 +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
1eee0fe529 Update containers documentation
+ Refactor provider overriding system
2016-06-06 11:26:53 +03:00
Roman Mogilatov
5ef01b0b07 Update declarative container docs 2016-06-03 19:20:34 +03:00
Roman Mogilatov
92ebbefd2f Update imports in several examples 2016-06-03 18:06:05 +03:00
Roman Mogilatov
feedd4c2e3 Drop example about config provider 2016-06-03 17:47:58 +03:00
Roman Mogilatov
98ac4d902e Update services miniapp example 2016-06-03 17:35:55 +03:00
Roman Mogilatov
da895ea97f Update examples for speech 2016-06-03 00:47:10 +03:00
Roman Mogilatov
61f53d9974 Update examples 2016-06-02 20:26:37 +03:00
Roman Mogilatov
6701445e9f Add some examples from presentation 2016-06-02 20:25:45 +03:00
Roman Mogilatov
bf9b1205b6 Update imports for movie lister example 2016-06-02 10:42:14 +03:00
Roman Mogilatov
209bc518c3 Update miniapps 2016-06-01 19:52:10 +03:00
Roman Mogilatov
68ae1b80df Drop catalog examples 2016-05-30 22:34:59 +03:00
Roman Mogilatov
5361694272 Add container examples 2016-05-30 22:34:59 +03:00
Roman Mogilatov
ed7f354afe Update and rename callbacks_based_container example 2016-05-30 22:34:58 +03:00
Roman Mogilatov
b2d5819da7 Update IoC and DI demos 2016-05-30 22:34:58 +03:00
Roman Mogilatov
83bbbd2be7 Update movie lister example 2016-05-30 22:34:58 +03:00
Roman Mogilatov
8fdb190118 Add latest containers module updates + movie_lister refactoring 2016-05-30 22:34:58 +03:00
Roman Mogilatov
e669270bfb Update doc blocks for IoC containers in services example 2016-05-30 22:34:57 +03:00
Roman Mogilatov
7206b4dbb8 Update services example with new containers 2016-05-30 22:34:56 +03:00
Roman Mogilatov
99b6e27ab4 Refactor injections 2016-05-29 16:39:39 +03:00
Roman Mogilatov
918335e0e4 Remove catalog bundles 2016-05-22 16:50:06 +03:00
Roman Mogilatov
d8d6ba44e4 Make some small fixes for services example 2016-05-22 16:16:21 +03:00
Roman Mogilatov
075e1bcf4f Update services miniapp 2016-05-20 13:33:39 +03:00
Roman Mogilatov
3247e79af4 Add 2 examples of services miniapp catalog styles 2016-05-18 15:21:15 +03:00
Roman Mogilatov
cbc8d70151 Release 1.16.7 2016-04-26 13:14:39 +03:00
Roman Mogilatov
bec69ea968 Add some modifications for api client example 2016-04-20 17:37:51 +03:00
Roman Mogilatov
a182be2d34 Add README for services examples 2016-04-20 17:32:50 +03:00
Roman Mogilatov
8bc5b35903 Update services example 2016-04-20 14:45:42 +03:00
Roman Mogilatov
1292d4af68 Update main example 2016-04-20 14:27:22 +03:00
Roman Mogilatov
4cf3bdb1fb Update examples and docs 2016-04-20 14:19:54 +03:00
Roman Mogilatov
bd5ea87ef7 Update movie listers example 2016-04-17 16:19:29 +03:00
Roman Mogilatov
7878466f4c Update movie listers example 2016-04-17 15:45:44 +03:00
Roman Mogilatov
ece858aaf3 Rename examples/stories to examples/miniapps 2016-04-12 11:40:02 +03:00
Roman Mogilatov
f89ba4c5a9 Add example of catalog copying into MovieLister example 2016-04-10 16:54:34 +03:00
Roman Mogilatov
a07bb582ec Update movie_lister example 2016-04-05 00:41:45 +03:00
Roman Mogilatov
8fc14498f5 Update catalog example 2016-04-05 00:34:53 +03:00
Roman Mogilatov
9116b57de3 Update movie_lister example 2016-04-05 00:26:32 +03:00
Roman Mogilatov
c6e9dbd84c Update ioc_container_example.py 2016-04-05 00:25:18 +03:00
Roman Mogilatov
e7f7b0693c Update move_lister example 2016-04-05 00:18:15 +03:00
Roman Mogilatov
5c23160632 Update ioc_container_example.py 2016-04-05 00:12:26 +03:00
Roman Mogilatov
6da0aaf77f Update imports for MovieLister standrard module 2016-04-04 19:17:36 +03:00
Roman Mogilatov
6d9aed74c8 Update ioc_container_example.py 2016-04-04 19:16:20 +03:00
Roman Mogilatov
56a597e0a6 Update introduction docs and examples 2016-04-04 19:12:21 +03:00
Roman Mogilatov
99a3997e08 Remove provider comments in MovieLister example 2016-04-03 16:15:09 +03:00
Roman Mogilatov
3f6c4d1b2c Update oc_container_example 2016-04-01 18:00:58 +03:00
Roman Mogilatov
2cd80b1b4c Update What Is DI docs and example 2016-04-01 10:47:09 +03:00
Roman Mogilatov
c8115ed44e Make some changes in introduction docs 2016-04-01 00:29:43 +03:00
Roman Mogilatov
8444d7d1d5 Add di_in_python page to the introduction 2016-03-30 18:13:54 +03:00
Roman Mogilatov
4e00a70834 Update di example 2016-03-30 11:51:04 +03:00
Roman Mogilatov
08b00d71d4 Update introduction docs 2016-03-29 20:17:12 +03:00
Roman Mogilatov
064a1653fd Add some comments and members-visibility changes for MovieLister example 2016-03-20 17:50:00 +02:00
Roman Mogilatov
22691553fb Add small readme for MovieLister example 2016-03-20 17:08:03 +02:00
Roman Mogilatov
d2603c3d17 Update MovieLister example 2016-03-20 16:42:54 +02:00
Roman Mogilatov
59615bc88b Add draft version of MovieLister example 2016-03-18 18:47:44 +02:00
Roman Mogilatov
a531650c77 Update main examples and README 2016-03-14 00:04:55 +02:00
Roman Mogilatov
92df7338ca Add catalog-providing-callbacks exaple and some tests for it 2016-03-09 10:25:17 +02:00
Roman Mogilatov
972b335f36 Update auth system example and README 2016-03-01 16:44:13 +02:00
Roman Mogilatov
52f2eedd6a Add auth system example 2016-02-26 13:36:19 +02:00
Roman Mogilatov
f1429d557a Update concept examples with provider overriding example 2016-01-11 11:14:37 +02:00
Roman Mogilatov
319128260a Add DelegatedCallable, DelegatedFactory & DelegatedSingleton providers 2015-12-28 17:25:25 +02:00
Roman Mogilatov
ca3cf1a7ac Add docs about catalogs specialization 2015-12-15 16:49:23 +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
7b35909083 Add new one concept example that uses full syntax 2015-12-11 11:37:25 +02:00
Roman Mogilatov
ab3e901d7e Add DynamicCatalog docs 2015-11-26 13:39:42 +02:00
Roman Mogilatov
ec1c488c44 Update advanced examples 2015-11-23 21:46:21 +02:00
Roman Mogilatov
81f278d3dc Update concept example 2015-11-23 21:46:21 +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
556c842685 Update catalogs overriding docs 2015-11-23 21:46:19 +02:00
Roman Mogilatov
e55f6ed212 Update catalog bundles docs 2015-11-23 21:46:19 +02:00
Roman Mogilatov
9a5e8f4a5a Update docs for declarative catalogs 2015-11-23 21:46:18 +02:00
Roman Mogilatov
ec6bd0c2c1 Add API docs 2015-11-23 21:46:17 +02:00
Roman Mogilatov
4683ada2ce Add declarative catalog docs 2015-11-23 21:46:16 +02:00
Roman Mogilatov
68ce5c79ef Rename AbstractCatalog to DeclarativeCatalog 2015-11-10 10:42:29 +02:00
Roman Mogilatov
482fa566c5 Fix typy-hinting in catalog bundles example 2015-11-09 10:41:34 +02:00
Roman Mogilatov
b22b893623 0.10.5 release 2015-11-04 16:32:04 +02:00
Roman Mogilatov
607e51e218 Update example docblocks 2015-10-26 12:52:52 +02:00
Roman Mogilatov
53f692a78c Fix bug with injecting entities with __getattr__ implementations 2015-10-23 18:07:52 +03:00
Roman Mogilatov
a42fefacef Update some examples 2015-10-23 17:05:24 +03:00
Roman Mogilatov
d07a2eae25 Update inject() decorator docs with positional argument injections example and some description 2015-10-23 15:04:04 +03: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
682c4498ca Remove old catalog bundles example 2015-10-19 10:31:53 +03:00
Roman Mogilatov
6206cdde8d Update catalog bundles example 2015-10-19 10:31:21 +03:00
Roman Mogilatov
5799b6ff33 Update catalog provider bundles docs 2015-10-17 00:42:22 +03:00
Roman Mogilatov
730d46f9a0 Add catalog packs 2015-10-15 20:16:40 +03:00
Roman Mogilatov
2ed460f054 Refactor catalog subsets 2015-10-14 17:51:05 +03:00
Roman Mogilatov
3e8232e9db Add catalog subsets 2015-10-12 16:41:38 +03:00
Roman Mogilatov
8ab0cc5e0e Fix PEP257 D211 error 2015-10-11 23:41:55 +03:00
Roman Mogilatov
9c661744d5 Update docs about catalogs inheritance 2015-10-07 19:57:03 +03:00