/aiohttp-demos

Demos for aiohttp project

Primary LanguageMakefileApache License 2.0Apache-2.0

aiohttp-demos

https://travis-ci.org/aio-libs/aiohttp-demos.svg?branch=master Chat on Gitter Latest Read The Docs

Demos for aiohttp project.

Example how to deploy deep learning model with aiohttp.

https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/imagetagger.png

Simple URL shortener with Redis storage.

https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/shorty.png

UI and API for classification of offensive and toxic comments using Kaggle data and simple logistic regression.

https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/moderator.png

Slack bot that moderates offensive and toxic chat messages using model from Moderator AI.

/docs/_static/slack_moderator.gif

Twitter clone with MongoDB storage.

https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/motortwit.png

Simple chat using websockets.

https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/chat.png

Simple polls application with PostgreSQL storage.

https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/polls.png

Blog application with PostgreSQL storage and Redis session store.

https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/blog.png

The simple realization of the GraphQL api.

/docs/_static/graph.gif

Things you need for local development:

$ pip install -r requirements-dev.txt
$ pip install demos/polls
$ pip install demos/chat
$ pip install demos/blog
$ pip install demos/graphql-demo

To check documentation locally - run:

$ make doc

and click the open file link from the output.

To make sure everything is ok before committing:

$ make ci

Polls:

  • [+] create configuration steps (venv, pip install, db initialization)
  • [+] fix or recreate tests
  • [~] revise tutorial.rst
  • [+] fix urls from aiohttp/tutorial
  • [x] setup communication channels (aio-libs gitter channel is enough)
  • [~] create missing issues
  • [+] add "Contributing" section
  • [ ] add "What's next" section
  • [ ] discuss roadmap