Metadata-Version: 2.1
Name: bocadillo
Version: 0.8.0
Summary: A modern Python web framework filled with asynchronous salsa.
Home-page: https://github.com/bocadilloproject/bocadillo
Author: Florimond Manca
Author-email: florimond.manca@gmail.com
License: MIT
Description: <p align="center">
            <img src="https://github.com/bocadilloproject/bocadillo/blob/master/docs/.vuepress/public/banner.png?raw=true">
        </p>
        
        <p align="center">
            <em>A modern Python web framework filled with asynchronous salsa.</em>
        </p>
        
        ---
        
        [![travis](https://img.shields.io/travis-ci/bocadilloproject/bocadillo.svg)][travis-url]
        [![python](https://img.shields.io/pypi/pyversions/bocadillo.svg)][pypi-url]
        [![downloads](https://pepy.tech/badge/bocadillo)][pepy-url]
        [![pypi](https://img.shields.io/pypi/v/bocadillo.svg)][pypi-url]
        [![black](https://img.shields.io/badge/code_style-black-000000.svg)][black]
        [![codecov](https://codecov.io/gh/bocadilloproject/bocadillo/branch/master/graph/badge.svg)][codecov]
        [![license](https://img.shields.io/pypi/l/bocadillo.svg)][pypi-url]
        [![Join the chat at https://gitter.im/bocadilloproject/bocadillo](https://badges.gitter.im/bocadilloproject/bocadillo.svg)][gitter-url]
        
        # 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](https://www.starlette.io) ASGI toolkit and the lightning-fast [uvicorn](https://www.uvicorn.org) ASGI server.
        
        [Read the documentation][docs]
        
        ## Quick start
        
        Install it:
        
        ```bash
        pip install bocadillo
        ```
        
        Build something:
        
        ```python
        # 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}')
        def greet(req, res, person):
            res.media = {'message': f'Hi, {person}!'}
        
        if __name__ == '__main__':
            api.run()
        ```
        
        Launch:
        
        ```bash
        python api.py
        ```
        
        Make requests!
        
        ```bash
        curl http://localhost:8000/greet/Bocadillo
        {"message": "Hi, Bocadillo!"}
        ```
        
        Hungry for more? Head to the [docs].
        
        ## Contributing
        
        See [CONTRIBUTING](https://github.com/bocadilloproject/bocadillo/blob/master/CONTRIBUTING.md) for contribution guidelines.
        
        ## Changelog
        
        See [CHANGELOG](https://github.com/bocadilloproject/bocadillo/blob/master/CHANGELOG.md) for a chronological log of changes to Bocadillo.
        
        ## Roadmap
        
        To see what has already been implemented for the next release, see the [Unreleased](https://github.com/bocadilloproject/bocadillo/blob/master/CHANGELOG.md#unreleased) section of our changelog.
        
        <!-- URLs -->
        
        [travis-url]: https://travis-ci.org/bocadilloproject/bocadillo
        [pepy-url]: https://pepy.tech/project/bocadillo
        [pypi-url]: https://pypi.org/project/bocadillo/
        [Orator]: https://orator-orm.com
        [docs]: https://bocadilloproject.github.io
        [black]: https://github.com/ambv/black
        [codecov]: https://codecov.io/gh/bocadilloproject/bocadillo
        [gitter-url]: https://gitter.im/bocadilloproject/bocadillo
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Description-Content-Type: text/markdown
