python-legacy-cgi
Port variant v13
Summary Copy of dropped cgi and cgitb modules (3.13)
Package version 2.6.2
Homepage https://github.com/jackrosenthal/legacy-cgi
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v12
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 15 JAN 2025, 13:01:41 UTC
Port created 11 NOV 2024, 23:28:05 UTC
Subpackage Descriptions
single Python CGI ========== This is a fork of the standard library modules cgi and cgitb. They are slated to be removed from the Python standard libary in Python 3.13 by PEP-594_. .. _PEP-594: https://peps.python.org/pep-0594/ Installation ------------ Install the ``legacy-cgi`` package from PyPI:: $ pip install legacy-cgi Purpose ------- The purpose of this fork is to support existing CGI scripts using these modules. Thus, compatibility is the primary goal. Contributions are accepted, but should be focused on bug fixes instead of new features or major refactoring. New applications should look at the WSGI_ ecosystem. There's a number of highly-polished web frameworks available, and it's significantly faster in a typical deployment given a new Python process does not need created for each request. .. _WSGI: https://wsgi.readthedocs.io Documentation ------------- See the official documentation for Python 3.12 and earlier for usage: * `cgi module`_ * `cgitb module`_ .. _cgi module: https://docs.python.org/3.12/library/cgi.html .. _cgitb module: https://docs.python.org/3.12/library/cgitb.html The modules are not renamed, so code written for Python 3.12 or earlier should work without modification with this package installed.
Configuration Switches (platform-specific settings discarded)
PY312 OFF Build using Python 3.12 PY313 ON Build using Python 3.13
Package Dependencies by Type
Build (only) python313:dev:std
python-pip:single:v13
autoselect-python:single:std
Build and Runtime python313:primary:std
Download groups
main mirror://PYPIWHL/4c/cd/54d1fd92d7f6aca9523d8583052e00b273bdfe28aa7fd54a3a5759dab05e
Distribution File Information
a7b83afb1baf6ebeb56522537c5943ef9813cf933f6715e88a803f7edbce0bff 19572 python-src/legacy_cgi-2.6.2-py3-none-any.whl
Ports that require python-legacy-cgi:v13
python-htmlmin:v13 HTML Minifier with seatbelts (3.13)