Coder Social home page Coder Social logo

sodrooome / bocadillo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bocadilloproject/bocadillo

0.0 1.0 0.0 5.15 MB

Fast, scalable and real-time capable web APIs for everyone

Home Page: https://bocadilloproject.github.io

License: MIT License

Python 99.73% Shell 0.27%

bocadillo's Introduction

Build status Test coverage pypi version code style

@bocadillopy on Twitter ย  Say Thanks!


Documentation: https://bocadilloproject.github.io


Bocadillo is a Python async web framework that makes building performant and highly concurrent web APIs fun and accessible to everyone.

Requirements

Python 3.6+

Installation

pip install bocadillo

Example

from bocadillo import App, configure

app = App()
configure(app)

@app.route("/")
async def index(req, res):
    res.json = {"hello": "world"}

Save this as app.py, then start a uvicorn server (hot reload enabled!):

uvicorn app:app --reload

Say hello!

$ curl http://localhost:8000
{"hello": "world"}

Ready to dive in? Visit the documentation site.

Changelog

All changes to Bocadillo are recorded in the changelog. To see what's coming in the next release, read the Unreleased section.

Release notes may also be published as blog posts on Bocadillo News.

Contributing

Found a bug? A typo? Want to help build a new feature? We'd love to see your contributions! There are also many ways to contribute that don't include code: helping with issues, laying out new ideas, improving docs, etc.

Check out the Contributing guide to get started.

By the way, here is the Bocadillo Contributor Hall of Fame. ๐Ÿ‘จโ€๐Ÿ’ป๐Ÿ‘ฉโ€๐Ÿ’ป

Credits

Logo designed by Florimond Manca. Sandwich icon designed by macrovector.

bocadillo's People

Contributors

alin23 avatar florimondmanca avatar gitter-badger avatar hanaasagi avatar heykarimoff avatar schnitzelbub avatar sfermigier avatar zgoda avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.