Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.
/ shrimp Public archive

🦐 Shrimp is a batteries-included web-framework for Python

License

Notifications You must be signed in to change notification settings

duccdev/shrimp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦐 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

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.

About

🦐 Shrimp is a batteries-included web-framework for Python

Topics

Resources

License

Stars

Watchers

Forks

Languages