DEV Community

Discussion on: Who's looking for open source contributors? (Feb 4th edition)

Collapse
 
florimondmanca profile image
Florimond Manca

If you're interested in getting behind the scenes of web frameworks and async in Python, Bocadillo has just got a bunch of fresh issues for new exciting features. :-)

Non-coders also welcome! If you've got design skills, I'd be excited to discuss ideas on a new logo. Some issues are also related to writing docs, i.e. explaining how to test an async web app.

I'll be glad to discuss ideas with new contributors and help them get started. Drop a message on our chat if you need anything!

bocadilloproject / bocadillo

🥙 A modern Python web framework filled with asynchronous salsa

A modern Python web framework filled with asynchronous salsa.


python pypi downloads travis black codecov license Join the chat at https://gitter.im/bocadilloproject/bocadillo

Bocadillo

Bocadillo is a Python web framework that provides a sane toolkit for quickly building performant web applications and services, while encouraging best practices and keeping developer experience in mind.

Under the hood, it uses the Starlette ASGI toolkit and the lightning-fast uvicorn ASGI server.

Read the documentation

Quick start

Install it:

pip install bocadillo

Build something:

# api.py
import bocadillo
api = bocadillo.API()
@api.route("/")
async def index(req, res)
    # Use a template from the ./templates directory 
    res.html = await api.template("index.html")

@api.route("/greet/{person}")
async def greet(req, res, person):
    res.media = {"message": f"Hi, {person}!"}

if __name__ == "__main__":
    api.run()

Launch:

python api.py

Make requests!

curl