Skip to main content

Shrimp 🦐 is a batteries-included zero-dependency WSGI/ASGI web-framework for Python

Project description

🦐 Shrimp

Shrimp 🦐 is a batteries-included zero-dependency WSGI/ASGI web-framework for Python Python

Example

from shrimp import Shrimp, Request
from shrimp.response import HTMLResponse

server = Shrimp()

@server.get("/")
def index(req: Request) -> HTMLResponse:
    return HTMLResponse("<h1>Hello, World!</h1>")

server.serve()

Simple HTTP server using Shrimp 🦐

Requirements

To install Python Python with pip, check this file.

Install Shrimp

To install Shrimp 🦐, run the following pip command.

$ pip install -U shrimp-http

Shrimp 🦐 is fully made with built-in packages. There's no dependencies, hence being batteries-included.

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

shrimp-http-0.1.4.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shrimp_http-0.1.4-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file shrimp-http-0.1.4.tar.gz.

File metadata

  • Download URL: shrimp-http-0.1.4.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for shrimp-http-0.1.4.tar.gz
Algorithm Hash digest
SHA256 84c512567b55ab850f79037cc0e403258caab0454b96658248e570403485462d
MD5 2918ac3c6597f178dcf2903a0c1f2492
BLAKE2b-256 158880f87ca54954a5f54b46ca95c29aee5c6a955296ae48d7da9fb3b87b1cd9

See more details on using hashes here.

File details

Details for the file shrimp_http-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: shrimp_http-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for shrimp_http-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ef104a69118cdb32e1a3f561c9987cb9ab254a8d7610a755e75ab299734fc38f
MD5 79564d7dacc6d1a2ce28e07b2c2d8d8f
BLAKE2b-256 87b22df14a19b25109835d2ae50e6f16fa5ff65b65c4d22369397d84c7858f02

See more details on using hashes here.

Supported by

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