Skip to content

Commit 92162e5

Browse files
committed
deploy: cb756ea
0 parents  commit 92162e5

File tree

229 files changed

+47257
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+47257
-0
lines changed

.buildinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: 8e7d921e2efd941987123d2978238cfc
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7

.nojekyll

Whitespace-only changes.

_sources/appdev.rst.txt

Lines changed: 419 additions & 0 deletions
Large diffs are not rendered by default.

_sources/changes.rst.txt

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
.. _list-of-changes:
2+
3+
List of Changes
4+
===============
5+
6+
What's new in Webware for Python 3.0
7+
------------------------------------
8+
9+
This is the full list of changes in Webware for Python 3 (first version 3.0.0) compared with Webware for Python 2 (last version 1.2.3):
10+
11+
* Webware for Python 3.0 now requires Python 3.6 or newer, and makes internal use of newer Python features where applicable. Webware applications must now be migrated to or written for Python 3.
12+
* The "Application" instance is now callable and usable as a WSGI application.
13+
* The application server ("AppServer" class and subclasses including the "ThreadedAppServer") and the various adapters and start scripts and other related scripts for the application server are not supported anymore. Instead, Webware applications are now supposed to be served as WSGI applications using a WSGI server such as waitress, which is now used as the development server.
14+
* The "ASSStreamOut" class has been replaced by a "WSGIStreamOut" class. The "Message" class has been removed, since it was not really used for anything, simplifying the class hierarchy a bit.
15+
* The Application now has a development flag that can be checked to modify the application and its configuration depending on whether it is running in development or production mode.
16+
* The custom "install" script has been replaced by a standard "setup" script, Webware for Python 3 is now distributed as a normal Python package that can be installed in the usual way. The "ReleaseHelper" and "setversion" scripts are not used anymore.
17+
* The "MakeAppWorkDir" script has been moved to a new "Scripts" directory, which now also contains a "WSGIScript" and a "WaitressServer" script which serve as replacements for the old "AppServer" and "Launch" start scripts. These scripts can now be started as subcommands of a new webware console script, which serves as a new common Webware CLI.
18+
* Instead of the "AutoReloadingAppServer", you can use the "reload" option of the WaitressServer script which uses hupper to monitor the application files and reload the waitress server if necessary. The "ImportSpy" has been removed.
19+
* The classes of the core "WebKit" component are now available at the root level of Webware for Python 3, and the WebKit component ceased to exist as a separate plug-in.
20+
* Some built-in plug-ins are not supported anymore: "CGIWrapper", "ComKit" and "KidKit".
21+
* "MiddleKit" is not a built-in plug-in anymore, but is provided as a separate project on GitHub now (WebwareForPython/w4py3-middlekit).
22+
* Webware now uses entry points for discovering plug-ins instead of the old plug-in system, and the plug-in API has slightly changed. Existing plug-ins must be adapted to Python 3 and the new plug-in API.
23+
* The documentation has been moved to a separate directory and is built using Sphinx, instead providing a "Docs" context for Webware and every plug-in, and using custom documentation builders in the install script. The existing content has been reformatted for Sphinx, adapted and supplemented.
24+
* The various examples have been slightly improved and updated. Demo servlets showing the use of Dominate and Yattag for creating HTML in a Pythonic way have been added.
25+
* The side bar page layout now uses divs instead of tables.
26+
* The test suite has been expanded and fully automated using the unit testing framework in the Python standard library. We also use tox to automate various checks and running the test suite with different Python versions.
27+
* In particular, end-to-end tests using Twill have been replaced by more efficient unit tests using WebTest.
28+
* Internal assert statements have been removed or replaced with checks raising real errors.
29+
* The style guide has been slightly revised. We now rely on flake8 and pylint instead of using the custom "checksrc" script.
30+
31+
See also the list of `releases`_ on GitHub for all changes in newer releases of Webware for Python 3 since the first alpha release 3.0.0a0.
32+
33+
.. _releases: https://github.com/WebwareForPython/w4py3/releases
34+
35+
What's new in Webware for Python 3.1
36+
------------------------------------
37+
38+
Webware for Python 3.1 is a minor update making the following changes:
39+
40+
* Webware for Python 3.1 now requires Python 3.10 and supports versions up to Python 3.14.

_sources/config.rst.txt

Lines changed: 230 additions & 0 deletions
Large diffs are not rendered by default.

_sources/copyright.rst.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
.. _copyright:
2+
3+
Copyright and License
4+
=====================
5+
6+
The Gist
7+
--------
8+
9+
Webware for Python is open source, but there is no requirement that products developed with or derivative to Webware become open source.
10+
11+
Webware for Python is copyrighted, but you can freely use and copy it as long as you don't change or remove this copyright notice. The license is a clone of the MIT license.
12+
13+
There is no warranty of any kind. Use at your own risk.
14+
15+
Read this entire document for complete, legal details.
16+
17+
Copyright
18+
---------
19+
20+
Copyright © 1999 Chuck Esterbrook (Webware for Python)
21+
22+
Copyright © 2019 Christoph Zwerschke (Webware for Python 3)
23+
24+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
25+
26+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
27+
28+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)