Skip to main content

Fast, highly-concurrent and scalable web APIs for everyone

Project description

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 the Official Bocadillo blog.

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 our Contributing guide to get started.

By the way, here's our Contributor Hall of Fame. 👨‍💻👩‍💻

Credits

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

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

bocadillo-0.16.2.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

bocadillo-0.16.2-py3-none-any.whl (68.6 kB view details)

Uploaded Python 3

File details

Details for the file bocadillo-0.16.2.tar.gz.

File metadata

  • Download URL: bocadillo-0.16.2.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for bocadillo-0.16.2.tar.gz
Algorithm Hash digest
SHA256 314d80a39fc87e50de73d78c6c13e119840e42328d38f1f81b7caf2eb8af5fc7
MD5 ac3338c621052e5958ad8c5abe14c0cd
BLAKE2b-256 eb305e9a7605a110a1835dfa48fef9ebf08ce9e80bd868db97507361b708d63e

See more details on using hashes here.

File details

Details for the file bocadillo-0.16.2-py3-none-any.whl.

File metadata

  • Download URL: bocadillo-0.16.2-py3-none-any.whl
  • Upload date:
  • Size: 68.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for bocadillo-0.16.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f693db76e1d1162d4facfe3b6a05c7d6ce66bc73aae02e606554a84fc831930
MD5 2d709cc9d22de271cd1f8ad7e06ad8b3
BLAKE2b-256 905d6fb771870dbcb2b6404b6a635837b43b8955d892a0fa71837e2c165492b4

See more details on using hashes here.

Supported by

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