Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

legacy_cgi-2.6.1.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

legacy_cgi-2.6.1-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

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

Hashes for legacy_cgi-2.6.1.tar.gz
Algorithm Hash digest
SHA256 f2ada99c747c3d72a473a6aaff6259a61f226b06fe9f3106e495ab83fd8f7a42
MD5 82a61ea4905ec03f07cf24c586623fa7
BLAKE2b-256 4896ff14ad0f759f2297a2e61db9c5384d248a6b38c6c1d4452c07d7419676a2

See more details on using hashes here.

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

Hashes for legacy_cgi-2.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8eacc1522d9f76451337a4b5a0abf494158d39250754b0d1bc19a14c6512af9b
MD5 d813b2dca87c549eceda0ec2febadb24
BLAKE2b-256 9bda4cbc703cccc326bac1b4311609e694729134d1e8a2b45c224f7cb2602590

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page