Injectinator 0.1.0__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {injectinator-0.1.0 → injectinator-0.2.0}/PKG-INFO +18 -1
- {injectinator-0.1.0 → injectinator-0.2.0}/README.md +17 -0
- {injectinator-0.1.0 → injectinator-0.2.0}/pyproject.toml +1 -1
- {injectinator-0.1.0 → injectinator-0.2.0}/src/Injectinator.egg-info/PKG-INFO +18 -1
- {injectinator-0.1.0 → injectinator-0.2.0}/setup.cfg +0 -0
- {injectinator-0.1.0 → injectinator-0.2.0}/src/Injectinator.egg-info/SOURCES.txt +0 -0
- {injectinator-0.1.0 → injectinator-0.2.0}/src/Injectinator.egg-info/dependency_links.txt +0 -0
- {injectinator-0.1.0 → injectinator-0.2.0}/src/Injectinator.egg-info/top_level.txt +0 -0
- {injectinator-0.1.0 → injectinator-0.2.0}/src/injectinator/__init__.py +0 -0
- {injectinator-0.1.0 → injectinator-0.2.0}/tests/test_inject.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Injectinator
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Very simple dependency injection
|
|
5
5
|
Author-email: Chris Read <centurix@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -101,6 +101,23 @@ def injectinator(func):
|
|
|
101
101
|
|
|
102
102
|
This will retain the call stack and debugging easier. But as the script is below, you can add it without imports.
|
|
103
103
|
|
|
104
|
+
Can I Just Install This As A Dependency?
|
|
105
|
+
=
|
|
106
|
+
|
|
107
|
+
For sure, this is available on pypi:
|
|
108
|
+
|
|
109
|
+
`pip install injectinator`
|
|
110
|
+
|
|
111
|
+
And then in your code
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
from injectinator import injectinator
|
|
115
|
+
|
|
116
|
+
@injectinator
|
|
117
|
+
def myfun(...):
|
|
118
|
+
...
|
|
119
|
+
```
|
|
120
|
+
|
|
104
121
|
Notes on this script
|
|
105
122
|
-
|
|
106
123
|
|
|
@@ -80,6 +80,23 @@ def injectinator(func):
|
|
|
80
80
|
|
|
81
81
|
This will retain the call stack and debugging easier. But as the script is below, you can add it without imports.
|
|
82
82
|
|
|
83
|
+
Can I Just Install This As A Dependency?
|
|
84
|
+
=
|
|
85
|
+
|
|
86
|
+
For sure, this is available on pypi:
|
|
87
|
+
|
|
88
|
+
`pip install injectinator`
|
|
89
|
+
|
|
90
|
+
And then in your code
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
from injectinator import injectinator
|
|
94
|
+
|
|
95
|
+
@injectinator
|
|
96
|
+
def myfun(...):
|
|
97
|
+
...
|
|
98
|
+
```
|
|
99
|
+
|
|
83
100
|
Notes on this script
|
|
84
101
|
-
|
|
85
102
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Injectinator
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Very simple dependency injection
|
|
5
5
|
Author-email: Chris Read <centurix@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -101,6 +101,23 @@ def injectinator(func):
|
|
|
101
101
|
|
|
102
102
|
This will retain the call stack and debugging easier. But as the script is below, you can add it without imports.
|
|
103
103
|
|
|
104
|
+
Can I Just Install This As A Dependency?
|
|
105
|
+
=
|
|
106
|
+
|
|
107
|
+
For sure, this is available on pypi:
|
|
108
|
+
|
|
109
|
+
`pip install injectinator`
|
|
110
|
+
|
|
111
|
+
And then in your code
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
from injectinator import injectinator
|
|
115
|
+
|
|
116
|
+
@injectinator
|
|
117
|
+
def myfun(...):
|
|
118
|
+
...
|
|
119
|
+
```
|
|
120
|
+
|
|
104
121
|
Notes on this script
|
|
105
122
|
-
|
|
106
123
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|