osminogin / generator-aiohttp-uvloop

Generates a Python and aiohttp project with ultra fast uvloop

Home Page:https://cookiecutter-aiohttp-uvloop.herokuapp.com/health/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generator-aiohttp-uvloop

Python 3.6, 3.7, 3.8 Tests NPM Badge Licensed under MIT

Generates a Python3 and AIOHTTP project with ultra fast UVloop event loop.

Features

  • Gunicorn with UVloop asyncio event loop (read why).
  • Pipenv for dependency management.
  • Docker frendly (also docker-compose file included).
  • Heroku deployment support.

Requirements

  • Python 3.6, 3.7 or 3.8
  • Yeoman >= 4.11.0

Generator installation

  1. You are going to need Yeoman:
npm install -g yo
  1. Install the generator:
npm install -g generator-aiohttp-uvloop

Usage

Base generator

Create a new directory where you want your project to be and run it:

mkdir aio-service
cd aio-service
yo aiohttp-uvloop

License

MIT. See LICENSE

About

Generates a Python and aiohttp project with ultra fast uvloop

https://cookiecutter-aiohttp-uvloop.herokuapp.com/health/

License:MIT License


Languages

Language:Python 57.3%Language:JavaScript 22.1%Language:Makefile 11.8%Language:Dockerfile 8.7%Language:Procfile 0.1%