Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aio-libs/aiohttp-demos
Demos for aiohttp project
https://github.com/aio-libs/aiohttp-demos
aiohttp asyncio demo tutorial
Last synced: 2 months ago
JSON representation
Demos for aiohttp project
- Host: GitHub
- URL: https://github.com/aio-libs/aiohttp-demos
- Owner: aio-libs
- License: other
- Created: 2017-10-27T09:35:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T09:42:06.000Z (3 months ago)
- Last Synced: 2024-10-29T11:47:26.120Z (3 months ago)
- Topics: aiohttp, asyncio, demo, tutorial
- Language: Makefile
- Homepage: https://demos.aiohttp.org
- Size: 43.7 MB
- Stars: 734
- Watchers: 26
- Forks: 220
- Open Issues: 27
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=============
aiohttp-demos
=============.. image:: https://github.com/aio-libs/aiohttp-demos/actions/workflows/ci.yml/badge.svg
:target: https://github.com/aio-libs/aiohttp-demos/actions/workflows/ci.yml
:alt: GitHub Actions status for master branch
.. image:: https://badges.gitter.im/Join%20Chat.svg
:target: https://gitter.im/aio-libs/Lobby
:alt: Chat on Gitter
.. image:: https://readthedocs.org/projects/aiohttp-demos/badge/?version=latest
:target: http://aiohttp-demos.readthedocs.io/en/latest/
:alt: Latest Read The DocsDemos for `aiohttp `_ project.
.. contents::
Imagetagger Deep Learning Image Classifier
------------------------------------------
Example how to deploy deep learning model with aiohttp... image:: https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/imagetagger.png
URL shortener
-------------
Simple URL shortener with Redis storage... image:: https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/shorty.png
Toxic Comments Classifier
-------------------------
UI and API for classification of offensive and toxic comments using Kaggle data and simple
logistic regression... image:: https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/moderator.png
Moderator Slack Bot
-------------------
Slack bot that moderates offensive and toxic chat messages using model from `Moderator AI`... image:: /docs/_static/slack_moderator.gif
:align: center
:width: 460pxTwitter clone
-------------
Twitter clone with MongoDB storage... image:: https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/motortwit.png
Chat
----
Simple chat using websockets... image:: https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/chat.png
Polls app
---------
Simple *polls* application with PostgreSQL storage... image:: https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/polls.png
:align: center
:width: 460pxBlog
----
Blog application with PostgreSQL storage and Redis session store... image:: https://raw.githubusercontent.com/aio-libs/aiohttp-demos/master/docs/_static/blog.png
:align: center
:width: 460pxGraphQL Messenger
-----------------
The simple realization of the GraphQL api... image:: /docs/_static/graph.gif
:align: center
:width: 460pxContributing
------------
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-demoTo 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
Improvement plan
----------------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