Commit Graph

184 Commits

Author SHA1 Message Date
Jakub Stasiak f90eb5fb21 Improve providers documentation 2013-09-25 23:33:13 +01:00
Jakub Stasiak bdca92269e Improvide Injector.install_into() docstring 2013-09-25 23:18:04 +01:00
Jakub Stasiak 7acb475414 Move testing information to Sphinx docs 2013-09-21 00:06:49 +01:00
Jakub Stasiak ea354b7252 Fix thread-safety note 2013-09-20 00:51:39 +01:00
Jakub Stasiak 8c317f7e0e Read version directly from imported module 2013-09-20 00:50:01 +01:00
Jakub Stasiak 6866364a8e Bump version to 0.8.0c1 2013-09-19 23:54:53 +01:00
Jakub Stasiak f9c64d42a1 Improve Sphinx documentation 2013-09-19 23:53:24 +01:00
Jakub Stasiak 629a826504 Remove annotations from the API, closes #29 2013-09-18 00:36:24 +01:00
Jakub Stasiak ba61c8c2b5 Improve docstrings and hide some more private API 2013-09-18 00:22:12 +01:00
Jakub Stasiak f82d6a320b Bump version to 0.7.8 2013-09-17 00:46:39 +01:00
Jakub Stasiak 1e7dc49688 Allow injecting plain functions and generate injecting wrappers 2013-09-17 00:41:51 +01:00
Jakub Stasiak 5068f1db2c Hide non-public API documentation 2013-09-17 00:31:44 +01:00
Jakub Stasiak 709c696a95 Move documentation directory 2013-09-16 23:48:48 +01:00
Jakub Stasiak c0af56ef58 Create Sphinx documentation skeleton 2013-09-16 23:23:16 +01:00
Jakub Stasiak eb4102a57b Include more information in exception messages 2013-09-16 01:09:18 +01:00
Jakub Stasiak b7f6fc7c9e Raise an exception if object being created has __slots__ set 2013-09-14 16:31:36 +01:00
Jakub Stasiak 3a17b07d2e Change this sample to use regular Python block 2013-09-02 01:34:37 +01:00
Jakub Stasiak ee73541329 Fix doctests in readme 2013-09-02 01:19:48 +01:00
Jakub Stasiak ef1f9cba23 Update README.md 2013-09-02 01:06:29 +01:00
Jakub Stasiak fd4ee3333e Be explicit about requiring keyword arguments 2013-09-02 00:55:26 +01:00
Jakub Stasiak 8162456ca2 Tune readme 2013-08-31 00:14:18 +01:00
Jakub Stasiak 7e99690d25 Make call_with_injection self_ parameter optional 2013-08-31 00:12:33 +01:00
Jakub Stasiak 2d85abf784 Add PyPI and GitHub links to the readme 2013-08-29 22:38:50 +01:00
Jakub Stasiak 6f22b5eac7 Add some package keywords 2013-08-28 23:16:02 +01:00
Alec Thomas 2581c33eb0 Fix ParameterizedBuilder. 2013-08-22 13:12:13 -04:00
Jakub Stasiak 3f27270503 Update changelog and bump version to 0.7.7 2013-08-20 00:14:07 +02:00
Jakub Stasiak 6cfa0abf9d Specify the meaning of AssistedBuilder(SomeInterface) 2013-08-19 22:58:14 +02:00
Jakub Stasiak 73ef125c0b Make AssistedBuilder behaviour more explicit 2013-08-10 18:02:55 +01:00
Alec Thomas 66142afe8c Convert README.md to RST for PyPi. Bump to 0.7.6.
Fixes #26.
2013-08-10 10:52:07 -04:00
Alec Thomas 7c1aa98aea Add support for using Py3 annotations in lieu of @inject. 2013-08-08 23:11:06 -04:00
Alec Thomas 2e7485f857 Merge pull request #25 from alecthomas/logging
Remove unwanted logging configuration
2013-07-17 07:38:46 -07:00
Jakub Stasiak 90f03cc8f0 Set logging level but only if not set yet 2013-07-17 08:59:38 +01:00
Jakub Stasiak b406ecc515 Remove unwanted logging configuration 2013-07-16 00:40:06 +01:00
Jakub Stasiak 4672094212 Tune pytest.ini, this fixes Travis build 2013-07-16 00:39:40 +01:00
Alec Thomas 5edf27ee5f Support stacked @inject decorators. Release 0.7.4.
Fixes #24.
2013-07-11 10:26:24 -04:00
Jakub Stasiak 4bb75cf0fb Fix regression
Injecting into methods of false-ish objects would fail
2013-07-10 16:45:09 +01:00
Alec Thomas f64cc36e55 Bump to 0.7.3. 2013-07-01 19:43:02 -04:00
Alec Thomas e3245aabe1 Don't log by default, and split logging into info/debug. 2013-07-01 18:47:59 -04:00
Alec Thomas a125acbe84 Fix and really test scope+provides ordering fix. 2013-07-01 18:30:41 -04:00
Alec Thomas b8a8677136 Bump to 0.7.1. 2013-07-01 18:30:41 -04:00
Alec Thomas aa4f92e5a6 Merge pull request #23 from alecthomas/refactor-calling-and-injecting
Refactor providing dependencies when calling functions
2013-06-29 16:05:47 -07:00
Jakub Stasiak 314d2ed773 Refactor providing dependencies when calling functions
This is related to #7 + possibly flask_injector
2013-06-29 16:07:45 +01:00
Jakub Stasiak 2a15810c84 Trigger Travis build 2013-06-29 13:47:18 +01:00
Jakub Stasiak ff24bb70c8 Log more stuff 2013-06-29 13:06:03 +01:00
Jakub Stasiak 5d54057042 Include new readme in source distributions 2013-06-29 10:02:04 +01:00
Jakub Stasiak 7e2c5ef69a Inject dependencies into modules when installing 2013-06-29 02:31:31 +01:00
Jakub Stasiak 39b1fa18fb Allow decorating functions with no args 2013-06-29 02:31:31 +01:00
Jakub Stasiak b131eb0421 [travis] Install py.test if not present
This is for running builds using travis-solo
2013-06-29 02:31:31 +01:00
Alec Thomas 7dc3b618d6 Deprecate @extends in favour of @provides(MappingKey) and @provides(SequenceKey). 2013-06-28 20:05:16 -04:00
Alec Thomas be7030d141 Ensure that @scope and @provides interact correctly. 2013-06-28 18:10:31 -04:00