| Name | legacy-cgi JSON |
| Version |
2.6.4
JSON |
| download |
| home_page | None |
| Summary | Fork of the standard library cgi and cgitb modules removed in Python 3.13 |
| upload_time | 2025-10-27 05:20:05 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.8 |
| license | None |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
Python CGI
==========
This is a fork of the standard library modules ``cgi`` and ``cgitb``. They have
been removed from the Python standard libary in Python 3.13 by PEP-594_.
.. _PEP-594: https://peps.python.org/pep-0594/
Installation
------------
Depend upon ``legacy-cgi`` in your project. It is recommended to use the marker
``python_version >= 3.13``, as while the package can install for older Python
versions, it won't have effect with a standard Python installation as the
built-in modules will take precedence.
For example, in a ``requirements.txt`` file::
legacy-cgi; python_version >= '3.13'
Or in a PEP-621 ``pyproject.toml`` file::
[project]
...
dependencies = [
...,
"legacy-cgi; python_version >= '3.13'",
]
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 ASGI_ or WSGI_ ecosystems. 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.
.. _ASGI: https://asgi.readthedocs.io
.. _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.
Raw data
{
"_id": null,
"home_page": null,
"name": "legacy-cgi",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "Jack Rosenthal <jack@rosenth.al>",
"keywords": null,
"author": null,
"author_email": "Guido van Rossum <guido@python.org>, Andreas Paepcke <paepcke@haddock.stanford.edu>, Steve Majewski <sdm7g@virginia.edu>, Michael McLay <mclay@eeel.nist.gov>",
"download_url": "https://files.pythonhosted.org/packages/f4/9c/91c7d2c5ebbdf0a1a510bfa0ddeaa2fbb5b78677df5ac0a0aa51cf7125b0/legacy_cgi-2.6.4.tar.gz",
"platform": null,
"description": "Python CGI\n==========\n\nThis is a fork of the standard library modules ``cgi`` and ``cgitb``. They have\nbeen removed from the Python standard libary in Python 3.13 by PEP-594_.\n\n.. _PEP-594: https://peps.python.org/pep-0594/\n\nInstallation\n------------\n\nDepend upon ``legacy-cgi`` in your project. It is recommended to use the marker\n``python_version >= 3.13``, as while the package can install for older Python\nversions, it won't have effect with a standard Python installation as the\nbuilt-in modules will take precedence.\n\nFor example, in a ``requirements.txt`` file::\n\n legacy-cgi; python_version >= '3.13'\n\nOr in a PEP-621 ``pyproject.toml`` file::\n\n [project]\n ...\n dependencies = [\n ...,\n \"legacy-cgi; python_version >= '3.13'\",\n ]\n\nPurpose\n-------\n\nThe purpose of this fork is to support existing CGI scripts using\nthese modules. Thus, compatibility is the primary goal.\n\nContributions are accepted, but should be focused on bug fixes instead\nof new features or major refactoring.\n\nNew applications should look at the ASGI_ or WSGI_ ecosystems. There's a number\nof highly-polished web frameworks available, and it's significantly faster in a\ntypical deployment given a new Python process does not need created for each\nrequest.\n\n.. _ASGI: https://asgi.readthedocs.io\n.. _WSGI: https://wsgi.readthedocs.io\n\nDocumentation\n-------------\n\nSee the official documentation for Python 3.12 and earlier for usage:\n\n* `cgi module`_\n* `cgitb module`_\n\n.. _cgi module: https://docs.python.org/3.12/library/cgi.html\n.. _cgitb module: https://docs.python.org/3.12/library/cgitb.html\n\nThe modules are not renamed, so code written for Python 3.12 or earlier should\nwork without modification with this package installed.\n",
"bugtrack_url": null,
"license": null,
"summary": "Fork of the standard library cgi and cgitb modules removed in Python 3.13",
"version": "2.6.4",
"project_urls": {
"repository": "https://github.com/jackrosenthal/legacy-cgi"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "8c7ee7394eeb49a41cc514b3eb49020223666cbf40d86f5721c2f07871e6d84a",
"md5": "bd19440a0ece1766ce55973b05a2f8c8",
"sha256": "7e235ce58bf1e25d1fc9b2d299015e4e2cd37305eccafec1e6bac3fc04b878cd"
},
"downloads": -1,
"filename": "legacy_cgi-2.6.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bd19440a0ece1766ce55973b05a2f8c8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 20035,
"upload_time": "2025-10-27T05:20:04",
"upload_time_iso_8601": "2025-10-27T05:20:04.289906Z",
"url": "https://files.pythonhosted.org/packages/8c/7e/e7394eeb49a41cc514b3eb49020223666cbf40d86f5721c2f07871e6d84a/legacy_cgi-2.6.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "f49c91c7d2c5ebbdf0a1a510bfa0ddeaa2fbb5b78677df5ac0a0aa51cf7125b0",
"md5": "bbb85dff278de9bf03a3f4e941398ea1",
"sha256": "abb9dfc7835772f7c9317977c63253fd22a7484b5c9bbcdca60a29dcce97c577"
},
"downloads": -1,
"filename": "legacy_cgi-2.6.4.tar.gz",
"has_sig": false,
"md5_digest": "bbb85dff278de9bf03a3f4e941398ea1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 24603,
"upload_time": "2025-10-27T05:20:05",
"upload_time_iso_8601": "2025-10-27T05:20:05.395452Z",
"url": "https://files.pythonhosted.org/packages/f4/9c/91c7d2c5ebbdf0a1a510bfa0ddeaa2fbb5b78677df5ac0a0aa51cf7125b0/legacy_cgi-2.6.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-27 05:20:05",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jackrosenthal",
"github_project": "legacy-cgi",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "legacy-cgi"
}