Commit Graph

377 Commits

Author SHA1 Message Date
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
Roman Mogilatov
94b2dee48a Add docs for usage of @inject decorator with classes 2015-09-28 21:56:36 +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
ef5c360a30 Update catalog docs 2015-09-02 12:23:18 +03:00
Roman Mogilatov
c5c0fdbd05 Update @di.inject() documentation 2015-09-02 12:23:01 +03:00
Roman Mogilatov
0a4e8c6934 Update catalog docs examples 2015-09-02 00:24:19 +03:00
Roman Mogilatov
e1fc8dde39 Update @di.inject examples comments 2015-09-01 22:30:49 +03:00
Roman Mogilatov
62df0bb853 Update @di.inject decorator docs for 0.9.x release 2015-09-01 19:08:35 +03:00
Roman Mogilatov
01970dba27 Add simplified kwarg injections syntax for Factory and Singleton providers 2015-09-01 00:31:29 +03:00
Roman Mogilatov
6ac0e4a04e Add simplified syntax for @inject decorator 2015-09-01 00:30:38 +03:00
Roman Mogilatov
6d0f892f8a Rename Objects to Dependency Injector 2015-08-31 16:31:38 +03:00
Roman Mogilatov
c9374038be Fixing @inject import bug in example 2015-08-17 22:44:28 +03:00
Roman Mogilatov
ce9a223eb9 Fixing bug in concept example 2015-08-05 17:42:56 +03:00
Roman Mogilatov
3c7e7a8434 Updating concept example 2015-08-05 17:33:38 +03:00
Roman Mogilatov
f98b3aae01 Moving config provider example into advanced usage examples 2015-08-05 17:32:56 +03:00
Roman Mogilatov
d2ec7fbe45 Adding @inject decorator docs 2015-08-05 17:22:25 +03:00
Roman Mogilatov
a94864d654 Removing old @inject decorator examples 2015-08-05 17:03:06 +03:00
Roman Mogilatov
3d354a1cb5 Repair of config provider example 2015-08-05 17:02:28 +03:00
Roman Mogilatov
e6705f1089 Removing old catalog example 2015-08-05 17:01:46 +03:00
Roman Mogilatov
c19a7ed400 Adding @inject() decorator examples 2015-08-05 17:01:23 +03:00
Roman Mogilatov
9735448e61 Adding catalogs documentation 2015-08-05 16:44:00 +03:00
Roman Mogilatov
41535dea0c Adding draft of catalog docs 2015-08-04 17:05:34 +03:00
Roman Mogilatov
d12f3ff2ff Reformating of examples structure 2015-07-28 09:51:24 +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
6f11715d24 Removing of old providers overriding examples 2015-07-25 00:12:24 +03:00
Roman Mogilatov
033a97d4da Removing old Factory&Singleton examples 2015-07-24 12:23:10 +03:00
Roman Mogilatov
878f1d49aa Removing old examples 2015-07-24 12:21:27 +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
acc9259ddd Removing delegate option from injections 2015-07-11 23:34:23 +03:00
Roman Mogilatov
e38cecfae0 Updating example 2015-07-11 17:27:28 +03:00
Roman Mogilatov
4620ad7f29 Adding delegate option for injections 2015-07-11 17:21:36 +03:00
Roman Mogilatov
a612e42a99 First steps with providers delegation docs 2015-06-19 12:44:46 +03:00
Roman Mogilatov
8b479a1898 Removing old external dependency provider example 2015-06-18 16:37:19 +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
Roman Mogilatov
d9952d5d85 Factory docs update 2015-06-03 15:50:13 +03:00
Roman Mogilatov
5b76551790 Working copy of docs 2015-05-27 19:00:41 +03:00
Roman Mogilatov
05b65f432c Updating instance providers example 2015-05-15 17:44:20 +03:00
Roman Mogilatov
a5337b2fc8 Last modifications on NewInstance to Factory provider renaming 2015-05-14 11:59:47 +03:00
Roman Mogilatov
0dd2884262 Refactoring of examples according to NewInstance provider to Factory provider renaming 2015-05-14 11:38:56 +03:00
Roman Mogilatov
405c579f7e Adding some drafts of @inject decorator docs 2015-05-14 11:21:04 +03:00
Roman Mogilatov
227ddbd378 Finilizing of external dependecy provider documentation 2015-04-24 11:59:10 +03:00
Roman Mogilatov
fab6a5c610 Adding external dependency provider description and examples renaming 2015-04-23 13:15:10 +03:00
Roman Mogilatov
219932d9cc Adding docs on callale provider 2015-04-14 23:56:46 +03:00
Roman Mogilatov
b0720cfc2c moving @override and @inject decorators to decorators module 2015-04-14 23:17:53 +03:00
Roman Mogilatov
73b8af1cbb Updating readme, adding examples of overriding catalog and providers, adding catalog example 2015-03-31 18:44:27 +03:00
Roman Mogilatov
b5870e9a57 Updating examples 2015-03-31 18:00:11 +03:00
Roman Mogilatov
0db7a67ef2 @inject description 2015-03-31 14:44:15 +03:00
Roman Mogilatov
e1009373bc Adding injections example 2015-03-31 12:37:16 +03:00
Roman Mogilatov
48ff686ae8 Removing unnecessary nl 2015-03-30 16:25:53 +03:00
Roman Mogilatov
f64d155154 Adding Injections desciption 2015-03-30 16:11:33 +03:00
Roman Mogilatov
bc9fdd8426 Removing usage example 2015-03-27 00:42:37 +02:00
Roman Mogilatov
1032143f5b Renaming InitArg to KwArg, adding @inject decorator 2015-03-23 01:04:18 +02:00
Roman Mogilatov
6bbf7e3526 Remove providers.Scoped because it being has not yet justified 2015-03-22 00:36:59 +02:00
Roman Mogilatov
27bf9e0a8e Remove ExternalDependency.satisfy() in favor of inherited Provider.override() 2015-03-20 14:53:47 +02:00
Roman
bec0a2b80d Create README.md 2015-03-17 01:32:38 +02:00
Roman Mogilatov
7ab731eacc Add support of multiple scopes for providers.Scoped 2015-03-15 01:18:59 +02:00
Roman Mogilatov
7c21f706e5 fixing issue with AttributeError that has been replaced with objects.errors.Error 2015-03-14 00:02:59 +02:00
Roman Mogilatov
0aab7f5628 updating README and spliting concept example 2015-03-12 00:25:12 +02:00
Roman Mogilatov
6cd2319a15 examples codestyle fixes 2015-03-10 00:55:38 +02:00
Roman Mogilatov
4055b42e59 examples codestyle fixes 2015-03-10 00:54:05 +02:00
Roman Mogilatov
d48616736b updating examples codestyle 2015-03-10 00:43:23 +02:00
Roman Mogilatov
120ef5d5cb updating delegate code style 2015-03-09 00:04:36 +02:00
Roman Mogilatov
76e14c1c79 codestyle fixes 2015-02-23 10:47:38 +02:00
Roman Mogilatov
039e211a09 0.4.1 adding provider delegate 2015-02-23 00:16:27 +02:00
Roman Mogilatov
333f2db979 0.3.1 release 2015-01-28 15:03:02 +02:00
Roman Mogilatov
158b6fcd9e Adding config provider 2015-01-28 13:08:54 +02:00
Roman Mogilatov
3786b052a9 adding callable provider with examples 2015-01-28 00:48:33 +02:00
Roman Mogilatov
113f770634 updating readme and examples 2015-01-28 00:26:38 +02:00
Roman Mogilatov
1cdf393f56 adding scoped provider with examples 2015-01-28 00:21:31 +02:00
Roman Mogilatov
92254b0276 version 0.2.0, external dependency provider has been added 2015-01-23 01:42:59 +02:00
Roman Mogilatov
5462bb91c4 Renaming Catalog class to AbstractCatalog 2015-01-18 02:28:41 +02:00
Roman Mogilatov
2bfdae8949 updating readme 2015-01-11 18:14:15 +02:00
Roman Mogilatov
143ba92b0a 0.0.4 version 2015-01-11 18:10:11 +02:00
Roman Mogilatov
028e5e9ef7 0.0.3 version 2015-01-11 15:03:45 +02:00
Roman Mogilatov
5b9723c530 updating concept 2015-01-10 11:24:25 +02:00
Roman Mogilatov
80e2a1fdf1 modifying concepts 2015-01-10 00:23:08 +02:00
Roman Mogilatov
e00a5f8c76 adding 2 variants of improved concept 2015-01-10 00:14:37 +02:00
Roman Mogilatov
7824ba10fa adding some comments to example, switch prints to asserts for making example easier readable 2015-01-04 16:33:02 +02:00
Roman Mogilatov
4c20f9c968 adding provides keywords in concept 2015-01-04 16:28:02 +02:00
Roman Mogilatov
aea9d2b3eb creating package structure 2015-01-04 16:26:33 +02:00
Roman Mogilatov
9cfc1e8b6e adding first concepts 2015-01-04 15:54:25 +02:00