Chalpak is a simple and easy-to-use web framework that helps you create fast and efficient web applications
The construction site began to write first class codes for me. I searched on Jan 4, I looked for a lot, it is very difficult to build the building. Alcazar seemed very interesting to me. Thanks to Jahongir Rakhmonov you are most useful to me
Install Chalpak
pip install chalpak
from chalpak.app import Chalpak
app = Chalpak()
app.run()
from chalpak.app import Chalpak
from chalpak.response import JSONResponse, HTMLResponse, render
app = Chalpak(templates='templates')
@app.get("/salom/{name}")
async def index(request, name):
return JSONResponse({"name": name})
@app.get("/html/{name}")
async def html(request, name):
return render("index.html", request, {"name": name})
app.run()
jurigged -v script.py
This project is listed in the Uzbek Awesome Open Source collection.
👉 View the full list