Skip to content

Fork of the standard library cgi and cgitb modules, being deprecated in PEP-594

License

Notifications You must be signed in to change notification settings

jackrosenthal/legacy-cgi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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.

About

Fork of the standard library cgi and cgitb modules, being deprecated in PEP-594

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages