PyWSGIRef 1.1.11__tar.gz → 1.1.12__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.
Files changed (23) hide show
  1. {pywsgiref-1.1.11/src/PyWSGIRef.egg-info → pywsgiref-1.1.12}/PKG-INFO +5 -3
  2. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/README.md +4 -2
  3. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/pyproject.toml +1 -1
  4. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef/__init__.py +2 -2
  5. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef/pyhtml.py +1 -1
  6. {pywsgiref-1.1.11 → pywsgiref-1.1.12/src/PyWSGIRef.egg-info}/PKG-INFO +5 -3
  7. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/LICENSE +0 -0
  8. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/setup.cfg +0 -0
  9. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef/__main__.py +0 -0
  10. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef/beta.py +0 -0
  11. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef/commons.py +0 -0
  12. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef/defaults.py +0 -0
  13. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef/exceptions.py +0 -0
  14. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef/finished.py +0 -0
  15. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef/loadContent.py +0 -0
  16. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef/patterns.py +0 -0
  17. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef/simpleServer.py +0 -0
  18. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef/templateDict.py +0 -0
  19. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef.egg-info/SOURCES.txt +0 -0
  20. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef.egg-info/dependency_links.txt +0 -0
  21. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef.egg-info/requires.txt +0 -0
  22. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/src/PyWSGIRef.egg-info/top_level.txt +0 -0
  23. {pywsgiref-1.1.11 → pywsgiref-1.1.12}/tests/testMainServer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyWSGIRef
3
- Version: 1.1.11
3
+ Version: 1.1.12
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
@@ -159,6 +159,9 @@ just use the <code><{{evalPyHTML}}></code> phrase at the end of the document and
159
159
  PyWSGIRef will automatically add the closing html and body tags.<br/><br/>
160
160
  You can also add PyWSGIRef's own, featured modern stylesheet using:<br/>
161
161
  <code><{{evalPyHTML-modernStyling: true}}></code> inside the head block of your PyHTML file.<br/><br/>
162
+ You may add your own static resources like CSS or JavaScript files using the <code><{{evalPyHTML-include: ... :include-}}></code> phrase.<br/>
163
+ Different static resources can be included by separating them with a comma.<br/>
164
+ You may include CSS, JS, JSON and ICO files.<br/><br/>
162
165
  With the <code><{{evalPyHTML-script: alert('Hello, World!'); :script-}}></code> phrase,<br/>
163
166
  you can add a script block anywhere inside your PyHTML file.<br/>
164
167
  Using pretty much the same syntax, you can also add a style block using
@@ -193,8 +196,7 @@ BETA.enable()
193
196
  ```
194
197
  Currently to be tested are:<br/>
195
198
  - PyHTML python script blocks<br/>
196
- - PyHTML python if clause blocks<br/>
197
- - PyHTML include static resource blocks<br/><br/>
199
+ - PyHTML python if clause blocks<br/><br/>
198
200
 
199
201
  Thanks a lot for helping improving PyWSGIRef!
200
202
  ### More coming soon
@@ -142,6 +142,9 @@ just use the <code><{{evalPyHTML}}></code> phrase at the end of the document and
142
142
  PyWSGIRef will automatically add the closing html and body tags.<br/><br/>
143
143
  You can also add PyWSGIRef's own, featured modern stylesheet using:<br/>
144
144
  <code><{{evalPyHTML-modernStyling: true}}></code> inside the head block of your PyHTML file.<br/><br/>
145
+ You may add your own static resources like CSS or JavaScript files using the <code><{{evalPyHTML-include: ... :include-}}></code> phrase.<br/>
146
+ Different static resources can be included by separating them with a comma.<br/>
147
+ You may include CSS, JS, JSON and ICO files.<br/><br/>
145
148
  With the <code><{{evalPyHTML-script: alert('Hello, World!'); :script-}}></code> phrase,<br/>
146
149
  you can add a script block anywhere inside your PyHTML file.<br/>
147
150
  Using pretty much the same syntax, you can also add a style block using
@@ -176,8 +179,7 @@ BETA.enable()
176
179
  ```
177
180
  Currently to be tested are:<br/>
178
181
  - PyHTML python script blocks<br/>
179
- - PyHTML python if clause blocks<br/>
180
- - PyHTML include static resource blocks<br/><br/>
182
+ - PyHTML python if clause blocks<br/><br/>
181
183
 
182
184
  Thanks a lot for helping improving PyWSGIRef!
183
185
  ### More coming soon
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "PyWSGIRef"
3
- version = "1.1.11"
3
+ version = "1.1.12"
4
4
  authors = [
5
5
  {name="Leander Kafemann", email="leander@kafemann.berlin" },
6
6
  ]
@@ -17,8 +17,8 @@ def about():
17
17
  """
18
18
  Returns information about your release and other projects by Leander Kafemann
19
19
  """
20
- return {"Version": (1, 1, 11), "Author": "Leander Kafemann", "date": "25.06.2025",\
21
- "recommend": ("Buero by LK", "pyimager by LK"), "feedbackTo": "leander@kafemann.berlin"}
20
+ return {"Version": (1, 1, 12), "Author": "Leander Kafemann", "date": "06.08.2025",\
21
+ "recommend": ("Buero by LK", "pyimager by LK"), "feedbackTo": "update-bot@lk.kafemann.berlin"}
22
22
 
23
23
  SCHABLONEN = TemplateDict()
24
24
 
@@ -127,8 +127,8 @@ class PyHTML:
127
127
  self._replace_modern_styling()
128
128
  self._replace_script_blocks()
129
129
  self._replace_style_blocks()
130
+ self._replace_includes()
130
131
  if BETA.value:
131
- self._replace_includes()
132
132
  self._replace_eval_blocks()
133
133
  self._replace_if_blocks()
134
134
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyWSGIRef
3
- Version: 1.1.11
3
+ Version: 1.1.12
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
@@ -159,6 +159,9 @@ just use the <code><{{evalPyHTML}}></code> phrase at the end of the document and
159
159
  PyWSGIRef will automatically add the closing html and body tags.<br/><br/>
160
160
  You can also add PyWSGIRef's own, featured modern stylesheet using:<br/>
161
161
  <code><{{evalPyHTML-modernStyling: true}}></code> inside the head block of your PyHTML file.<br/><br/>
162
+ You may add your own static resources like CSS or JavaScript files using the <code><{{evalPyHTML-include: ... :include-}}></code> phrase.<br/>
163
+ Different static resources can be included by separating them with a comma.<br/>
164
+ You may include CSS, JS, JSON and ICO files.<br/><br/>
162
165
  With the <code><{{evalPyHTML-script: alert('Hello, World!'); :script-}}></code> phrase,<br/>
163
166
  you can add a script block anywhere inside your PyHTML file.<br/>
164
167
  Using pretty much the same syntax, you can also add a style block using
@@ -193,8 +196,7 @@ BETA.enable()
193
196
  ```
194
197
  Currently to be tested are:<br/>
195
198
  - PyHTML python script blocks<br/>
196
- - PyHTML python if clause blocks<br/>
197
- - PyHTML include static resource blocks<br/><br/>
199
+ - PyHTML python if clause blocks<br/><br/>
198
200
 
199
201
  Thanks a lot for helping improving PyWSGIRef!
200
202
  ### More coming soon
File without changes
File without changes