Fork of the standard library cgi and cgitb modules, being deprecated in PEP-594
Project description
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.
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.
Documentation
See the official documentation for Python 3.12 and earlier for usage:
The modules are not renamed, so code written for Python 3.12 or earlier should work without modification with this package installed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file legacy_cgi-2.6.1.tar.gz
.
File metadata
- Download URL: legacy_cgi-2.6.1.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ada99c747c3d72a473a6aaff6259a61f226b06fe9f3106e495ab83fd8f7a42 |
|
MD5 | 82a61ea4905ec03f07cf24c586623fa7 |
|
BLAKE2b-256 | 4896ff14ad0f759f2297a2e61db9c5384d248a6b38c6c1d4452c07d7419676a2 |
File details
Details for the file legacy_cgi-2.6.1-py3-none-any.whl
.
File metadata
- Download URL: legacy_cgi-2.6.1-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eacc1522d9f76451337a4b5a0abf494158d39250754b0d1bc19a14c6512af9b |
|
MD5 | d813b2dca87c549eceda0ec2febadb24 |
|
BLAKE2b-256 | 9bda4cbc703cccc326bac1b4311609e694729134d1e8a2b45c224f7cb2602590 |