PyWSGIRef 1.1.2__tar.gz → 1.1.3__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.
- {pywsgiref-1.1.2/src/PyWSGIRef.egg-info → pywsgiref-1.1.3}/PKG-INFO +10 -1
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/README.md +9 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/pyproject.toml +1 -1
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/src/PyWSGIRef/__init__.py +1 -1
- pywsgiref-1.1.3/src/PyWSGIRef/beta.py +31 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/src/PyWSGIRef/pyhtml.py +1 -1
- {pywsgiref-1.1.2 → pywsgiref-1.1.3/src/PyWSGIRef.egg-info}/PKG-INFO +10 -1
- pywsgiref-1.1.2/src/PyWSGIRef/beta.py +0 -6
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/LICENSE +0 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/setup.cfg +0 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/src/PyWSGIRef/__main__.py +0 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/src/PyWSGIRef/commons.py +0 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/src/PyWSGIRef/defaults.py +0 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/src/PyWSGIRef/exceptions.py +0 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/src/PyWSGIRef/templateDict.py +0 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/src/PyWSGIRef.egg-info/SOURCES.txt +0 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/src/PyWSGIRef.egg-info/dependency_links.txt +0 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/src/PyWSGIRef.egg-info/requires.txt +0 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/src/PyWSGIRef.egg-info/top_level.txt +0 -0
- {pywsgiref-1.1.2 → pywsgiref-1.1.3}/tests/testMainServer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyWSGIRef
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: easy server-setup
|
|
5
5
|
Author-email: Leander Kafemann <leander@kafemann.berlin>
|
|
6
6
|
Project-URL: Homepage, https://github.com/LeanderKafemann/PyWSGIRef
|
|
@@ -162,4 +162,13 @@ from PyWSGIRef import about
|
|
|
162
162
|
|
|
163
163
|
about()
|
|
164
164
|
```
|
|
165
|
+
### Curious?
|
|
166
|
+
Join the <b>BETA</b> group to get new features even earlier!<br/>
|
|
167
|
+
Note that BETA features may not be tested when using them.
|
|
168
|
+
```python
|
|
169
|
+
from PyWSGIRef import BETA
|
|
170
|
+
|
|
171
|
+
#enable beta mode
|
|
172
|
+
BETA.enable()
|
|
173
|
+
```
|
|
165
174
|
### More coming soon
|
|
@@ -144,4 +144,13 @@ from PyWSGIRef import about
|
|
|
144
144
|
|
|
145
145
|
about()
|
|
146
146
|
```
|
|
147
|
+
### Curious?
|
|
148
|
+
Join the <b>BETA</b> group to get new features even earlier!<br/>
|
|
149
|
+
Note that BETA features may not be tested when using them.
|
|
150
|
+
```python
|
|
151
|
+
from PyWSGIRef import BETA
|
|
152
|
+
|
|
153
|
+
#enable beta mode
|
|
154
|
+
BETA.enable()
|
|
155
|
+
```
|
|
147
156
|
### More coming soon
|
|
@@ -16,7 +16,7 @@ def about():
|
|
|
16
16
|
"""
|
|
17
17
|
Returns information about your release and other projects by LK
|
|
18
18
|
"""
|
|
19
|
-
return {"Version":(1, 1,
|
|
19
|
+
return {"Version":(1, 1, 3), "Author":"Leander Kafemann", "date":"10.06.2025",\
|
|
20
20
|
"recommend":("Büro by LK", "pyimager by LK"), "feedbackTo": "leander@kafemann.berlin"}
|
|
21
21
|
|
|
22
22
|
SCHABLONEN = TemplateDict()
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"""
|
|
2
|
+
BETA mode...
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
class beta:
|
|
6
|
+
"""
|
|
7
|
+
BETA mode for PyWSGIRef.
|
|
8
|
+
"""
|
|
9
|
+
def __init__(self):
|
|
10
|
+
self._beta = False
|
|
11
|
+
|
|
12
|
+
@property
|
|
13
|
+
def value(self) -> bool:
|
|
14
|
+
return self._beta
|
|
15
|
+
|
|
16
|
+
def enable(self):
|
|
17
|
+
"""
|
|
18
|
+
Enables BETA mode.
|
|
19
|
+
"""
|
|
20
|
+
if self._beta:
|
|
21
|
+
raise ValueError("BETA mode is already enabled.")
|
|
22
|
+
self._beta = True
|
|
23
|
+
|
|
24
|
+
BETA = beta()
|
|
25
|
+
|
|
26
|
+
def enableBetaMode():
|
|
27
|
+
"""
|
|
28
|
+
Enables BETA mode.
|
|
29
|
+
"""
|
|
30
|
+
BETA.enable()
|
|
31
|
+
print("BETA mode enabled.")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyWSGIRef
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: easy server-setup
|
|
5
5
|
Author-email: Leander Kafemann <leander@kafemann.berlin>
|
|
6
6
|
Project-URL: Homepage, https://github.com/LeanderKafemann/PyWSGIRef
|
|
@@ -162,4 +162,13 @@ from PyWSGIRef import about
|
|
|
162
162
|
|
|
163
163
|
about()
|
|
164
164
|
```
|
|
165
|
+
### Curious?
|
|
166
|
+
Join the <b>BETA</b> group to get new features even earlier!<br/>
|
|
167
|
+
Note that BETA features may not be tested when using them.
|
|
168
|
+
```python
|
|
169
|
+
from PyWSGIRef import BETA
|
|
170
|
+
|
|
171
|
+
#enable beta mode
|
|
172
|
+
BETA.enable()
|
|
173
|
+
```
|
|
165
174
|
### More coming soon
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|