Roman Mogylatov
f67dab1f03
Bump version to 3.30.1
2020-08-13 21:53:13 -04:00
Roman Mogylatov
5358dd85f1
Movie lister example rework ( #280 )
...
* Rework movie lister example app
* Code style fix
* Doc block fix
* Update the container
* Make second round of the refactoring
* Rename name to title
* Remove old movie lister docs from the examples
* Add fixtures generator output on success
* Update docblock in the entities module
* Update example readme
* Add CLI app tutorial
* Update some wording in the other tutorials
* Spread link to the tutorial
* Fix code indentation issue
2020-08-12 17:04:46 -04:00
Roman Mogylatov
3a61457be7
Asyncio daemon tutorial ( #278 )
...
* Fix a typo in the docblock of the Configuration provider
* Update the changelog
* Add tutorial sections
* Switch to use https for httpbin.org requests
* Add what we are going to build section
* Fix ``Makefile`` to run ``aiohttp`` integration tests on Python 3.5+
* Add prerequisities and prepare the env sections
* Add logging, config and the dispacher sections
* Change logging
* Fix multiple typos in the ``flask`` and ``aiohttp`` tutorials
* Add the initial and dirty version
* Fix multiple typos in the ``flask`` and ``aiohttp`` tutorials
* Fix the 3.27.0 changelog
* Finish all the parts before the dispatcher
* Finish dispatcher section
* Update http monitor logging format
* Finish the tutorial
* Fix docblock in the dispatcher module
* Update changelog
* Add meta keywords and description
2020-08-08 14:48:05 -04:00
Roman Mogylatov
0cb45bbc1c
Update the docblock of the example
2020-08-06 16:45:00 -04:00
Roman Mogylatov
4a8133204c
Factory deep init injections ( #277 )
...
* Add factory deep context providing
* Add example
* Add test
2020-08-06 16:33:06 -04:00
Roman Mogylatov
2fc3606671
Asyncio daemon example ( #276 )
...
* Add prototype
* Update .pydocstylerc
* Add tests
* Remove one of the tests
* Fix typo in the giphynav-aiohttp
* Add README
* Fix flake8
2020-08-05 22:11:26 -04:00
Roman Mogylatov
a202335519
Update giphynav-aiohttp to remove doubled "if not query"
2020-08-03 18:07:04 -04:00
Roman Mogylatov
ea1e79885c
274 Configuration provider redesign ( #275 )
...
* Get 1st stable version
* Remove prototype module
* Try fix copying
* Add config itemselector example
* Add doc blocks
2020-08-03 18:01:20 -04:00
Roman Mogylatov
45e6b943f6
Fix typos in aiohttp tutorial
2020-07-30 13:52:42 -04:00
Roman Mogylatov
d2f4585a8b
Aiohttp tutorial ( #273 )
...
* Make a code style change to the giphynav-aiohttp app
* Make minimal punctuation changes for the flask tutorial
* Add parts of http tutorial
* Fix few issues in the flask tutorial
* Make some cosmetic changes to test data
* Fix typo in flask tutorial
* Add more tutorial sections
2020-07-29 22:17:56 -04:00
Roman Mogylatov
97577d84e4
Revert "Aiohttp tutorial ( #271 )" ( #272 )
...
This reverts commit adcea61657
.
2020-07-29 22:16:40 -04:00
Roman Mogylatov
adcea61657
Aiohttp tutorial ( #271 )
...
* Make a code style change to the giphynav-aiohttp app
* Make minimal punctuation changes for the flask tutorial
* Add parts of http tutorial
* Fix few issues in the flask tutorial
* Make some cosmetic changes to test data
* Fix typo in flask tutorial
2020-07-29 22:16:02 -04:00
Roman Mogylatov
e0d81c2d28
Aiohttp integration ( #270 )
...
* Add aiohttp extension module
* Add giphynav-aiohttp app
* Add missing docstrings
* Remove print() call
* Remove not needed import from flask extension tests
* Improve coroutine provider tests
* Add aiohttp extension tests
* Update tox.ini
* Add aiohttp extras
* Try fix Python 3.4 tests
* Try fix 3.6 tests
* Stop running coroutine tests for Python 3.4
* Rename tests
* Remove type hints
* Fix pypy and change python version for coverage job to 3.8
* Fix coveralls job
* Try fix Python 3.4, 3.5 tests
* Make coverage job to run 3.5+ tests
* Add tests
* Add readme
* Update the readmes
* Add API docs
* Add API docs page
* Update changelog
2020-07-28 19:19:05 -04:00
Roman Mogylatov
1674cecc8d
Flask tutorial ( #265 )
...
* Add a piece of the tutorial
* Add "Make it pretty" tutorial step
* Add section about github client setup
* Make minor fixes
* Add search service section + table of contents
* Make various fixes
* Make more fixes
* Update make the search section
* Update ghnav-flask example & README
* Update base.html markup
* Finish section: Make the search work
* Update ghnav-flask screenshot
* Update tutorials
* Add flaks tutorial link to the DI in Python page
2020-07-20 16:58:18 -04:00
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
5ada7f24dd
Bump version to 3.21.1
2020-07-13 23:09:42 -04:00
Roman Mogylatov
72147b664e
Re-design Flask integration
2020-07-13 22:45:15 -04:00
Roman Mogylatov
fa469618dd
Readme update ( #263 )
...
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Add files via upload
* Update README.rst
* Rename Blank Diagram (1).svg to di-map.svg
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Add files via upload
* Rename Blank Diagram (2).svg to di-map2.svg
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Add files via upload
* Add files via upload
* Rename README.svg to di-map3.svg
* Update README.rst
* Add files via upload
* Rename README - Page 3.svg to di-map4.svg
* Update README.rst
* Add files via upload
* Rename README - Copy of Page 3.svg to di-map5.svg
* Update README.rst
* Delete di-map.svg
* Delete di-map2.svg
* Delete di-map3.svg
* Delete di-map4.svg
* Update README.rst
* Update README.rst
* Add Github Navigator - Flask application
* Do more refactoring for ghnav-flask
* More refactoring
* Update README
* Add tests
* Update readme
* Add Flask extension
* Add Factory.provides attribute
* Add Flask extension module
* User flask extension in githubnavigator example
* Add README for ghnav-flask
* Update ghnav-flask README
* Update ghnav-flask README
* Update README with ghnav container example
* Move ghnav-flask to miniapps/ folder
* Fix auth token reading from env for ghnav-flask
* Update readme
* Fix ghnav-flask linter errors
* Add downloads and wheel badge
* Add tests for flask extension
* Fix flask tests
* Add requirements-ext.txt installation to tox.ini
* Add API docs for ext.flask module
* Update setup.py
* Add Flask to the list of keywords
* Update badges on docs README
* Update docs README title
* Fix ext.flask tests
* Fix syntax of ext.flask for Python 2.7, 3.4, 3.5
* Fix syntax of ext.flask for Python 2.7, 3.4, 3.5
* Fix imports in ext.flask for Python 2.7, 3.4, 3.5
* Update ghfnav-flask README
* Update ghfnav-flask README
* Remove setting of empty github token
* Add flask extras
* Update requirements
* Update requirements
* Add flask extra to python 3.4 tox.ini
* Update changelog
* Update changelog
2020-07-11 12:15:00 -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
c20202a23d
Refactor passlib password hasing example
2020-01-26 18:55:04 -05: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
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