Skip to main content

RedStar

The Modern Python WSGI Framework

RedStar is a synchronous Python web framework for handling HTTP requests with ordinary methods. Python 3.9 or later is required.

Installation

python -m pip install py-wsgi-redstar

The PyPI distribution name is py-wsgi-redstar, and you import it in Python as RedStar (from RedStar import Application).

The built-in Python HTTP server requires no additional server dependency. The Gunicorn and Uvicorn adapter sources are always included; the following extras install only the external dependencies each adapter needs:

python -m pip install "py-wsgi-redstar[Gunicorn]"
python -m pip install "py-wsgi-redstar[Uvicorn]"

Install the desired adapter extra when needed.

Quick start

Save this example as app.py and run python app.py.

from RedStar import Application, Request, RequestRunner
from RedStar.Adapter.Implements.Python import Server
from RedStar.Responses import ResponseText


class Hello(RequestRunner, method='GET', url='/hello'):
  def run(self, request: Request):
    return ResponseText('Hello, world!')


application = Application()
application.add(Hello)
Server('127.0.0.1', 8000, application).run()

The server listens on 127.0.0.1:8000. A GET /hello request returns Hello, world!.

License

See the LICENSE file included with the source distribution for license terms.

Metadata

Release files for py-wsgi-redstar 0.1.18

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

Source distribution (sdist)

Source distribution for py-wsgi-redstar 0.1.18
File Size Uploaded Provenance Actions
py_wsgi_redstar-0.1.18.tar.gz 1.1 MB Without provenance Details for py_wsgi_redstar-0.1.18.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for py-wsgi-redstar 0.1.18
File Interpreter ABI Platform Actions
py_wsgi_redstar-0.1.18-98-py3-none-any.whl Python 3 none any Details for py_wsgi_redstar-0.1.18-98-py3-none-any.whl
py_wsgi_redstar-0.1.18-96-py3-none-any.whl Python 3 none any Details for py_wsgi_redstar-0.1.18-96-py3-none-any.whl

Total release size: 1.3 MB

Release files / py_wsgi_redstar-0.1.18.tar.gz

Download URL py_wsgi_redstar-0.1.18.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
b54a5fa15d1a0ac09b084364ab88467dd37c05640783f6f4249944cca4ab6023
BLAKE2b-256 checksum
How to use checksums
cd41962fd5c0f19cb91bef48071315a1a6a53f2bd35b78a2c8e737bedb9b636c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / py_wsgi_redstar-0.1.18-98-py3-none-any.whl

Download URL py_wsgi_redstar-0.1.18-98-py3-none-any.whl
Size 116.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecbec0a9d7276019753a0daa2fa9d89ca4b91a77c6ffa8a8be838b517f968202
BLAKE2b-256 checksum
How to use checksums
f8173832dd44d7f29156b1fc90bb6d9851813fec101e0206bb06dad82020de90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / py_wsgi_redstar-0.1.18-96-py3-none-any.whl

Download URL py_wsgi_redstar-0.1.18-96-py3-none-any.whl
Size 116.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c05ff61800a2ccae9e7432908ec27c1413b8163458fb9252e91050e3e3d18a9f
BLAKE2b-256 checksum
How to use checksums
1c7fcb110634977cdf2b8f8fd1f8f8015efe62532693e9dd9d0efd8cac6c9566
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for py-wsgi-redstar 0.1.18

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