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.
Raw data
{
"_id": null,
"home_page": "https://github.com/jackrosenthal/legacy-cgi",
"name": "legacy-cgi",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Michael McLay",
"author_email": "mclay@eeel.nist.gov",
"download_url": "https://files.pythonhosted.org/packages/48/96/ff14ad0f759f2297a2e61db9c5384d248a6b38c6c1d4452c07d7419676a2/legacy_cgi-2.6.1.tar.gz",
"platform": null,
"description": "Python CGI\n==========\n\nThis is a fork of the standard library modules ``cgi`` and ``cgitb``.\nThey are slated to be removed from the Python standard libary in\nPython 3.13 by PEP-594_.\n\n.. _PEP-594: https://peps.python.org/pep-0594/\n\nInstallation\n------------\n\nInstall the ``legacy-cgi`` package from PyPI::\n\n $ pip install legacy-cgi\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 WSGI_ ecosystem. There's a number\nof highly-polished web frameworks available, and it's significantly\nfaster in a typical deployment given a new Python process does not\nneed created for each request.\n\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\n",
"bugtrack_url": null,
"license": "PSF-2.0",
"summary": "Fork of the standard library cgi and cgitb modules, being deprecated in PEP-594",
"version": "2.6.1",
"project_urls": {
"Homepage": "https://github.com/jackrosenthal/legacy-cgi",
"Repository": "https://github.com/jackrosenthal/legacy-cgi"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9bda4cbc703cccc326bac1b4311609e694729134d1e8a2b45c224f7cb2602590",
"md5": "d813b2dca87c549eceda0ec2febadb24",
"sha256": "8eacc1522d9f76451337a4b5a0abf494158d39250754b0d1bc19a14c6512af9b"
},
"downloads": -1,
"filename": "legacy_cgi-2.6.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d813b2dca87c549eceda0ec2febadb24",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 19574,
"upload_time": "2024-06-19T22:05:47",
"upload_time_iso_8601": "2024-06-19T22:05:47.524937Z",
"url": "https://files.pythonhosted.org/packages/9b/da/4cbc703cccc326bac1b4311609e694729134d1e8a2b45c224f7cb2602590/legacy_cgi-2.6.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4896ff14ad0f759f2297a2e61db9c5384d248a6b38c6c1d4452c07d7419676a2",
"md5": "82a61ea4905ec03f07cf24c586623fa7",
"sha256": "f2ada99c747c3d72a473a6aaff6259a61f226b06fe9f3106e495ab83fd8f7a42"
},
"downloads": -1,
"filename": "legacy_cgi-2.6.1.tar.gz",
"has_sig": false,
"md5_digest": "82a61ea4905ec03f07cf24c586623fa7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 24782,
"upload_time": "2024-06-19T22:05:49",
"upload_time_iso_8601": "2024-06-19T22:05:49.115898Z",
"url": "https://files.pythonhosted.org/packages/48/96/ff14ad0f759f2297a2e61db9c5384d248a6b38c6c1d4452c07d7419676a2/legacy_cgi-2.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-19 22:05:49",
"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"
}