Skip to main content

PySGI Library

PySGI is a WSGI library that allows you to receive and handle HTTP requests, giving access to various features, such as:

  • Handle all response and request headers;
  • Get or set all cookies coming from the browser;
  • Add or get the body of an HTTP response or request;
  • Can get parameters from URL;
  • Get values ​​from a dynamic route;
  • Returning JSON and other data types.

You can learn how to use PySGI in the project's official documentation. See CHANGELOG.md on GitHub for changes made to each release.

Example of use

Here's a brief demonstration of using the PySGI library to create a simple web server:

from pysgi import PySGI

server = PySGI()


@server.route('/')
def index():
    return 'Hello World from PySGI!'


if __name__ == '__main__':
    server.run()

You can find this and other examples in the example usage files.

License

MIT License
Copyright (c) 2022 Jaedson Silva

See LICENSE file to learn more about the license.

Metadata

Release files for PySGI 1.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PySGI 1.3.3
File Size Uploaded Provenance Actions
PySGI-1.3.3.tar.gz 8.0 kB Without provenance Details for PySGI-1.3.3.tar.gz

Release files / PySGI-1.3.3.tar.gz

Download URL PySGI-1.3.3.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
18f6c51c2cf2bee4fc278928624a51b7a7a543885f01275e2323f1ccd05e9f8d
BLAKE2b-256 checksum
How to use checksums
29ee13276966a6c1d01f7625ab99bb1fbb48cd558c41dbc5f362890f1fed5cc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Security for PySGI 1.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page