Example how to deploy deep learning model with aiohttp.

Overview

aiohttp-demos

GitHub Actions status for master branch Chat on Gitter Latest Read The Docs

Demos for aiohttp project.

Imagetagger Deep Learning Image Classifier

Example how to deploy deep learning model with aiohttp.

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

URL shortener

Simple URL shortener with Redis storage.

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.

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.

/docs/_static/slack_moderator.gif

Twitter clone

Twitter clone with MongoDB storage.

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

Chat

Simple chat using websockets.

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

Polls app

Simple polls application with PostgreSQL storage.

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

Blog

Blog application with PostgreSQL storage and Redis session store.

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

GraphQL Messenger

The simple realization of the GraphQL api.

/docs/_static/graph.gif

Contributing

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

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
Comments
  • DB setup-teardown compatible with tests

    DB setup-teardown compatible with tests

    Hi all. I'm stuck and need some advice. Trying to implement db setup/teardown process compatible with tests.

    I want to have separate db created exclusively for specified test and removed afterwards. Is it possible to do so asynchronously? How two async tests can manipulate db without failing each other?

    So far I kill all sessions in teardown_db - and because of that can run only one test in time.

    opened by gyermolenko 14
  • Swap for loop with list comprehension.

    Swap for loop with list comprehension.

    Usually, list comprehensions are faster to execute than for loops. Especially in Python 3.x, where it returns a generator and not the whole list. It might be a bit more obscure to read, but it is more efficient speed-wise, which might be a concern when doing real-time predictions. Plus, it allows you to skip an empty assignment, which is another slight speed gain.

    opened by davinellulinvega 9
  • Added simple graphql app

    Added simple graphql app

    Sorry, for my estimate 😞

    Now, i added structure for graphql api. It's chat because i want to show all possible of GraphQl (query, mutation, subscribes).

    contrib.py - it's file that solve problem in few libs. I going to make pull request in these libs for remove that file in future.

    todo: -- add correct ui (now ui has problems) -- add test -- add authorization

    exapmle: screen shot 2018-05-28 at 22 29 01

    opened by Arfey 9
  • Make app creating factory async

    Make app creating factory async

    To be able to run application with gunicorn I made the application creating factory async (fix #10). Unfortunately I got unrecognized arguments error from

    gunicorn aiohttpdemo_polls.main:init_app --bind localhost:8080 --worker-class aiohttp.GunicornWebWorker
    

    so I've also substituted parse_args with parse_known_args as a workaround:

    # ignore unknown options
    options, unknown = ap.parse_known_args(argv)
    

    Please review get_config function usages and parts of logic related to usage of argv and get_config(['-c', USER_CONFIG_PATH.as_posix()]). It looks ugly but I can't find a better way (if we still want command line args).

    opened by gyermolenko 9
  • Migrate from Travis CI to GitHub Actions

    Migrate from Travis CI to GitHub Actions

    What do these changes do?

    Migrate CI from Travis CI to GitHub Actions

    Are there changes in behavior for the user?

    None.

    Related issue number

    Checklist

    • [x] I think the code is well written
    • [ ] Unit tests for the changes exist
    • [ ] Documentation reflects the changes
    • [ ] Add a new news fragment into the CHANGES folder
      • name it <issue_id>.<type> (e.g. 588.bugfix)
      • if you don't have an issue_id change it to the pr id after creating the PR
      • ensure type is one of the following:
        • .feature: Signifying a new feature.
        • .bugfix: Signifying a bug fix.
        • .doc: Signifying a documentation improvement.
        • .removal: Signifying a deprecation or removal of public API.
        • .misc: A ticket has been closed, but it is not of interest to users.
      • Make sure to use full sentences with correct case and punctuation, for example: Fix issue with non-ascii contents in doctest text files.
    opened by anesabml 8
  • build(deps): bump macaddress from 0.2.8 to 0.2.9 in /demos/moderator

    build(deps): bump macaddress from 0.2.8 to 0.2.9 in /demos/moderator

    Bumps macaddress from 0.2.8 to 0.2.9.

    Release notes

    Sourced from macaddress's releases.

    v0.2.9

    • Fixes an arbitrary command execution vulnerability (https://github-redirect.dependabot.com/scravy/node-macaddress/pull/16/files)
    • Adds support for freebsd
    • Fixes a few typos
    Commits
    • 3379146 Added note about vulnerability
    • 4d311a5 Set version 0.2.9
    • b83e3f8 Merge pull request #11 from TheBeastOfCaerbannog/master
    • 68ecfae Added explicit LICENSE file recognizable by github
    • e3e76d5 Support for freebsd as per pull #16
    • 6ab7a11 Merge pull request #13 from roebuk/master
    • 4d10ca6 Merge pull request #17 from dekoding/patch-1
    • 358fd59 Merge pull request #20 from flypapertech/fixCommandInjection
    • 214ad00 Run travis against osx and linux, travis doesn't do windows
    • 7b0a488 Fix for Node 0.8 thru 0.10
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    dependencies 
    opened by dependabot[bot] 7
  • WIP: blog demo, v0.4

    WIP: blog demo, v0.4

    Wanted to share my "work in progress" for blog demo.

    To discuss:

    ~~- readme is empty, sorry for that. If someone wants to start it locally, I will work on those notes.~~ ~~- I've tried out gino for db access and so far it's been very convenient~~ switched back to sqlalchemy core

    • this v0.1 has login, but I'm thinking about aiohttp-loginto handle registration/login/logout and stuff more easily

    update: I've tried out aiohttp-login. There are two ways to use it:

    1. use it's db schema as is, with existing AsyncpgStorage storage.
    2. create our own aiohttp_login storage implementing 7 required methods. As in p.1. it will also require table for login-related user fields.

    At the moment I don't like either of those options.

    Please share your feedback.

    opened by gyermolenko 7
  • Graphql demo code throwing error

    Graphql demo code throwing error

    Hi.

    I have carefully followed the document instruction and when I execute the "sudo make prepare_database" command then I am getting the below error.

    deeplearning@XXX: ~/Desktop/ML_Practise/aiohttp-demos/demos/graphql$ sudo make start_database Starting graphql_postgres_1 ... done deeplearning@XXX: ~/Desktop/ML_Practise/aiohttp-demos/demos/graphql$ sudo make start_redis Starting graphql_redis_1 ... done deeplearning@XXX: ~/Desktop/ML_Practise/aiohttp-demos/demos/graphql$ sudo make prepare_database Start to generate a new data... Traceback (most recent call last): File "prepare_database.py", line 153, in loop.run_until_complete(main()) File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "prepare_database.py", line 142, in main users = await generate_users(conn, 20) File "prepare_database.py", line 88, in generate_users return [user[0] for user in response] TypeError: 'ResultProxy' object is not iterable /usr/local/lib/python3.6/dist-packages/aiopg/pool.py:310: ResourceWarning: Unclosed 1 connections in <aiopg.pool.Pool object at 0x7f5b4ad8ac18> Makefile:26: recipe for target 'prepare_database' failed make: *** [prepare_database] Error 1

    also when I execute the Make Run command I am getting below error.

    deeplearning@XXX :~/Desktop/ML_Practise/aiohttp-demos/demos/graphql$ sudo make run Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/deeplearning/Desktop/ML_Practise/aiohttp-demos/demos/graphql/graph/main.py", line 3, in from .app import init_app File "/home/deeplearning/Desktop/ML_Practise/aiohttp-demos/demos/graphql/graph/app.py", line 10, in from graph.routes import init_routes File "/home/deeplearning/Desktop/ML_Practise/aiohttp-demos/demos/graphql/graph/routes.py", line 3, in from graph.api.views import ( File "/home/deeplearning/Desktop/ML_Practise/aiohttp-demos/demos/graphql/graph/api/views.py", line 3, in import graphene File "/usr/local/lib/python3.6/dist-packages/graphene/init.py", line 3, in from .types import ( File "/usr/local/lib/python3.6/dist-packages/graphene/types/init.py", line 2, in from graphql import ResolveInfo ImportError: cannot import name 'ResolveInfo' Makefile:8: recipe for target 'run' failed make: *** [run] Error 1

    please advise.

    opened by SaddamBInSyed 6
  • Create simple machine learning demo, serve prediction results with aiohttp

    Create simple machine learning demo, serve prediction results with aiohttp

    I have working code of very simple API with react UI, that classifies offensive and toxic comments. I think it should be good addition for aiohttp use cases. I still need to do some clean up, after will copy app here.

    https://github.com/jettify/moderator.ai

    opened by jettify 6
  • Unclear where to put example code from

    Unclear where to put example code from "Creating connection engine" part

    На этой странице https://aiohttp-demos.readthedocs.io/en/latest/tutorial.html Начиная с раздела Databases::Creating connection engine непонятно в какие файлы вставлять код, приходится смотреть сюда. И с раздела Templates все сыпется.

    Это специально чтобы отпугнуть начинающих изучать фреймворк?

    good first issue documentation 
    opened by nomhoi 5
  • Update documentation with db initialization info

    Update documentation with db initialization info

    Goal of this commit: parametrize db setup. To be able to use docker (or docker-compose) and not install postgres globally I parametrized db setup and described how to created related .env file in readme. (for this one - docker container will destroy db on exit)

    I couldn't find how to read env vars with trafaret_config (created issue in the repo to make sure I don't miss anything). Anyway, I don't think that this library is necessary for tutorial. We could discuss that separately.

    opened by gyermolenko 5
  • build(deps): bump sqlalchemy from 1.4.45 to 1.4.46 in /demos/blog

    build(deps): bump sqlalchemy from 1.4.45 to 1.4.46 in /demos/blog

    Bumps sqlalchemy from 1.4.45 to 1.4.46.

    Release notes

    Sourced from sqlalchemy's releases.

    1.4.46

    Released: January 3, 2023

    general

    • [general] [change] A new deprecation "uber warning" is now emitted at runtime the first time any SQLAlchemy 2.0 deprecation warning would normally be emitted, but the SQLALCHEMY_WARN_20 environment variable is not set. The warning emits only once at most, before setting a boolean to prevent it from emitting a second time.

      This deprecation warning intends to notify users who may not have set an appropriate constraint in their requirements files to block against a surprise SQLAlchemy 2.0 upgrade and also alert that the SQLAlchemy 2.0 upgrade process is available, as the first full 2.0 release is expected very soon. The deprecation warning can be silenced by setting the environment variable SQLALCHEMY_SILENCE_UBER_WARNING to "1".

      References: #8983

    • [general] [bug] Fixed regression where the base compat module was calling upon platform.architecture() in order to detect some system properties, which results in an over-broad system call against the system-level file call that is unavailable under some circumstances, including within some secure environment configurations.

      References: #8995

    orm

    • [orm] [bug] Fixed issue in the internal SQL traversal for DML statements like _dml.Update and _dml.Delete which would cause among other potential issues, a specific issue using lambda statements with the ORM update/delete feature.

      References: #9033

    engine

    • [engine] [bug] Fixed a long-standing race condition in the connection pool which could occur under eventlet/gevent monkeypatching schemes in conjunction with the use of eventlet/gevent Timeout conditions, where a connection pool checkout that's interrupted due to the timeout would fail to clean up the failed state, causing the underlying connection record and sometimes the database connection itself to "leak", leaving the pool in an invalid state with unreachable entries. This issue was first identified and fixed in

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 0
  • build(deps): bump graphene from 2.1.9 to 3.2.1 in /demos/graphql-demo

    build(deps): bump graphene from 2.1.9 to 3.2.1 in /demos/graphql-demo

    Bumps graphene from 2.1.9 to 3.2.1.

    Release notes

    Sourced from graphene's releases.

    v3.2.1

    What's Changed

    Non-required InputFields and Arguments can now be marked as deprecated by passing the deprecation_reason keyword argument to the constructor.

    New Contributors

    Full Changelog: https://github.com/graphql-python/graphene/compare/v3.2.0...v3.2.1

    v3.2.0

    What's Changed

    Support for custom global IDs in relay.Node

    The global ID type of a Node can now be customized:

    class CustomNode(Node):
        class Meta:
            global_id_type = CustomGlobalIDType
    

    class User(ObjectType): class Meta: interfaces = [CustomNode]

    name = String()
    

    @classmethod def get_node(cls, _type, _id): return self.users[_id]

    Available Types

    Currently, the following types are available:

    • DefaultGlobalIDType: Default global ID type: base64 encoded version of ": ". (Previously the only option) Scalar: ID
    • SimpleGlobalIDType : Simple global ID type: simply the id of the object. Scalar: ID
    • UUIDGlobalIDType : UUID global ID type. Scalar: UUID
    Customization

    To create a custom global type, BaseGlobalIDType must be extended:

    
    class CustomGlobalIDType(BaseGlobalIDType):
    
    graphene_type = CustomScalar
    

    @classmethod

    </tr></table>

    ... (truncated)

    Commits
    • 340d5ed release: 3.2.1
    • 19ea63b fix: Input fields and Arguments can now be deprecated (#1472)
    • d5dadb7 release: 3.2.0
    • 8596349 release: 3.1.2
    • a141e84 Do not interpret Enum members called 'description' as description properties ...
    • f09b2e5 housekeeping: pin ubuntu to 20.04 for python 3.6
    • 7f6fa16 feat_ (#1476)
    • 0b1bfbf chore: Make Graphene enums iterable like Python enums (#1473)
    • f891a36 docs: Disambiguate argument name in quickstart docs (#1474)
    • a2b63d8 fix: MyPy findings due to a mypy version upgrade were corrected (#1477)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 0
  • build(deps-dev): bump pytest-asyncio from 0.20.2 to 0.20.3 in /demos/moderator

    build(deps-dev): bump pytest-asyncio from 0.20.2 to 0.20.3 in /demos/moderator

    Bumps pytest-asyncio from 0.20.2 to 0.20.3.

    Release notes

    Sourced from pytest-asyncio's releases.

    pytest-asyncio 0.20.3


    title: 'pytest-asyncio'

    image

    image

    image

    Supported Python versions

    image

    pytest-asyncio is a pytest plugin. It facilitates testing of code that uses the asyncio library.

    Specifically, pytest-asyncio provides support for coroutines as test functions. This allows users to await code inside their tests. For example, the following code is executed as a test item by pytest:

    @pytest.mark.asyncio
    async def test_some_asyncio_code():
        res = await library.do_something()
        assert b"expected result" == res
    

    Note that test classes subclassing the standard unittest library are not supported. Users are advised to use unittest.IsolatedAsyncioTestCase or an async framework such as asynctest.

    pytest-asyncio is available under the Apache License 2.0.

    Installation

    To install pytest-asyncio, simply:

    $ pip install pytest-asyncio
    

    ... (truncated)

    Changelog

    Sourced from pytest-asyncio's changelog.

    0.20.3 (22-12-08)

    • Prevent DeprecationWarning to bubble up on CPython 3.10.9 and 3.11.1. [#460](https://github.com/pytest-dev/pytest-asyncio/issues/460) <https://github.com/pytest-dev/pytest-asyncio/issues/460>_
    Commits
    • 007e8ec [fix] Prevent DeprecationWarning about existing event loops to bubble up into...
    • 44ca3da Build(deps): Bump zipp from 3.10.0 to 3.11.0 in /dependencies/default (#455)
    • c3c601c Build(deps): Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.5.2 (#456)
    • a962e2b Build(deps): Bump importlib-metadata in /dependencies/default (#454)
    • 56a393a Simplify README, move most content to a separate user documentation. (#448)
    • 3c78732 Build(deps): Bump hypothesis in /dependencies/default (#453)
    • d6a9a72 Build(deps): Bump exceptiongroup in /dependencies/default (#451)
    • 42da7a0 Build(deps): Bump hypothesis in /dependencies/default (#450)
    • 0b281b1 Build(deps): Bump mypy from 0.990 to 0.991 in /dependencies/default (#446)
    • d39589c Update pre-commit hooks (#449)
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 0
  • build(deps): bump pytest-asyncio from 0.20.2 to 0.20.3 in /demos/blog

    build(deps): bump pytest-asyncio from 0.20.2 to 0.20.3 in /demos/blog

    Bumps pytest-asyncio from 0.20.2 to 0.20.3.

    Release notes

    Sourced from pytest-asyncio's releases.

    pytest-asyncio 0.20.3


    title: 'pytest-asyncio'

    image

    image

    image

    Supported Python versions

    image

    pytest-asyncio is a pytest plugin. It facilitates testing of code that uses the asyncio library.

    Specifically, pytest-asyncio provides support for coroutines as test functions. This allows users to await code inside their tests. For example, the following code is executed as a test item by pytest:

    @pytest.mark.asyncio
    async def test_some_asyncio_code():
        res = await library.do_something()
        assert b"expected result" == res
    

    Note that test classes subclassing the standard unittest library are not supported. Users are advised to use unittest.IsolatedAsyncioTestCase or an async framework such as asynctest.

    pytest-asyncio is available under the Apache License 2.0.

    Installation

    To install pytest-asyncio, simply:

    $ pip install pytest-asyncio
    

    ... (truncated)

    Changelog

    Sourced from pytest-asyncio's changelog.

    0.20.3 (22-12-08)

    • Prevent DeprecationWarning to bubble up on CPython 3.10.9 and 3.11.1. [#460](https://github.com/pytest-dev/pytest-asyncio/issues/460) <https://github.com/pytest-dev/pytest-asyncio/issues/460>_
    Commits
    • 007e8ec [fix] Prevent DeprecationWarning about existing event loops to bubble up into...
    • 44ca3da Build(deps): Bump zipp from 3.10.0 to 3.11.0 in /dependencies/default (#455)
    • c3c601c Build(deps): Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.5.2 (#456)
    • a962e2b Build(deps): Bump importlib-metadata in /dependencies/default (#454)
    • 56a393a Simplify README, move most content to a separate user documentation. (#448)
    • 3c78732 Build(deps): Bump hypothesis in /dependencies/default (#453)
    • d6a9a72 Build(deps): Bump exceptiongroup in /dependencies/default (#451)
    • 42da7a0 Build(deps): Bump hypothesis in /dependencies/default (#450)
    • 0b281b1 Build(deps): Bump mypy from 0.990 to 0.991 in /dependencies/default (#446)
    • d39589c Update pre-commit hooks (#449)
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 0
  • build(deps): bump graphql-core from 2.3.2 to 3.2.3 in /demos/graphql-demo

    build(deps): bump graphql-core from 2.3.2 to 3.2.3 in /demos/graphql-demo

    Bumps graphql-core from 2.3.2 to 3.2.3.

    Release notes

    Sourced from graphql-core's releases.

    v3.2.3

    Patch-release GraphQL-core v3.2.3, based on GraphQL.js v16.6.0.

    This patch-releases includes only one change in GraphQL.js v16.6.0:

    • The parser now allows to limit the number of tokens

    Thanks to all who are sponsoring me (@​Cito) for maintaining this project.

    v3.2.2

    Patch-release GraphQL-core v3.2.2, based on GraphQL.js v16.4.0.

    This patch-releases includes the changes in GraphQL.js v16.4.0, and the following fixes:

    • Require typing extensions when needed
    • Recommend using poetry instead of pipenv in the docs (#161)
    • Cast error message to string to handle proxy objects (#175)
    • Remove newline in description (#180)

    Thanks to @​chenrui333, @​conao3, @​jkimbo, @​singingwolfboy for contributing and to all who are sponsoring me (@​Cito) for maintaining this project.

    v3.2.1

    Patch-release GraphQL-core v3.2.1, based on GraphQL.js v16.3.0.

    This patch-releases includes the changes in GraphQL.js v16.3.0, and the following fix:

    • Serialize with maximum precision when converting float to FloatValue (#164)

    Thanks to @​bennyweise for contributing and all who are sponsoring me (@​Cito) for maintaining this project.

    v3.2.0

    Final release of GraphQL-core v3.2.0, based on GraphQL.js v16.2.0.

    See v3.2.0rc1, v3.2.0rc2, v3.2.0rc3, v3.2.0rc4, v3.2.0rc5 and the changelog of GraphQL.js for a complete list of changes.

    Thanks to all who contributed and are sponsoring me (@​Cito) for maintaining this project.

    v3.2.0rc5

    Pre-release GraphQL-core v3.2.0rc5, based on GraphQL.js v16.1.0.

    In addition to porting the recent changes in GraphQL.js, this pre-release also contains the following improvements:

    • Add flag for using enum names or members as values (#73)
    • Add typed dicts for to_kwargs results (#99)
    • Add ast_to_dict utility function (#136)
    • Make print_block_string work with string proxy objects (#153)
    • Prevent infinite loop in OverlappingFieldsCanBeMergedRule (fetched ahead)

    Please test this pre-release and report any issues, the final release is imminent.

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies python 
    opened by dependabot[bot] 0
Owner
aio-libs
The set of asyncio-based libraries built with high quality
aio-libs
Machine learning and Deep learning models, deploy on telegram (the best social media)

Semi Intelligent BOT The project involves : Classifying fake news Classifying objects such as aeroplane, automobile, bird, cat, deer, dog, frog, horse

MohammadReza Norouzi 5 Mar 6, 2022
Here I will explain the flow to deploy your custom deep learning models on Ultra96V2.

Xilinx_Vitis_AI This repo will help you to Deploy your Deep Learning Model on Ultra96v2 Board. Prerequisites Vitis Core Development Kit 2019.2 This co

Amin Mamandipoor 1 Feb 8, 2022
Neon-erc20-example - Example of creating SPL token and wrapping it with ERC20 interface in Neon EVM

Example of wrapping SPL token by ERC2-20 interface in Neon Requirements Install

null 7 Mar 28, 2022
Example-custom-ml-block-keras - Custom Keras ML block example for Edge Impulse

Custom Keras ML block example for Edge Impulse This repository is an example on

Edge Impulse 8 Nov 2, 2022
Python-kafka-reset-consumergroup-offset-example - Python Kafka reset consumergroup offset example

Python Kafka reset consumergroup offset example This is a simple example of how

Willi Carlsen 1 Feb 16, 2022
🍅🍅🍅YOLOv5-Lite: lighter, faster and easier to deploy. Evolved from yolov5 and the size of model is only 1.7M (int8) and 3.3M (fp16). It can reach 10+ FPS on the Raspberry Pi 4B when the input size is 320×320~

YOLOv5-Lite:lighter, faster and easier to deploy Perform a series of ablation experiments on yolov5 to make it lighter (smaller Flops, lower memory, a

pogg 1.5k Jan 5, 2023
Deploy pytorch classification model using Flask and Streamlit

Deploy pytorch classification model using Flask and Streamlit

Ben Seo 1 Nov 17, 2021
😇A pyTorch implementation of the DeepMoji model: state-of-the-art deep learning model for analyzing sentiment, emotion, sarcasm etc

------ Update September 2018 ------ It's been a year since TorchMoji and DeepMoji were released. We're trying to understand how it's being used such t

Hugging Face 865 Dec 24, 2022
A multi-functional library for full-stack Deep Learning. Simplifies Model Building, API development, and Model Deployment.

chitra What is chitra? chitra (चित्र) is a multi-functional library for full-stack Deep Learning. It simplifies Model Building, API development, and M

Aniket Maurya 210 Dec 21, 2022
Example scripts for the detection of lanes using the ultra fast lane detection model in ONNX.

Example scripts for the detection of lanes using the ultra fast lane detection model in ONNX.

Ibai Gorordo 35 Sep 7, 2022
Example scripts for the detection of lanes using the ultra fast lane detection model in Tensorflow Lite.

TFlite Ultra Fast Lane Detection Inference Example scripts for the detection of lanes using the ultra fast lane detection model in Tensorflow Lite. So

Ibai Gorordo 12 Aug 27, 2022
Ejemplo Algoritmo Viterbi - Example of a Viterbi algorithm applied to a hidden Markov model on DNA sequence

Ejemplo Algoritmo Viterbi Ejemplo de un algoritmo Viterbi aplicado a modelo ocul

Mateo Velásquez Molina 1 Jan 10, 2022
The trained model and denoising example for paper : Cardiopulmonary Auscultation Enhancement with a Two-Stage Noise Cancellation Approach

The trained model and denoising example for paper : Cardiopulmonary Auscultation Enhancement with a Two-Stage Noise Cancellation Approach

ycj_project 1 Jan 18, 2022
Deploy a ML inference service on a budget in less than 10 lines of code.

BudgetML is perfect for practitioners who would like to quickly deploy their models to an endpoint, but not waste a lot of time, money, and effort trying to figure out how to do this end-to-end.

null 1.3k Dec 25, 2022
Deploy tensorflow graphs for fast evaluation and export to tensorflow-less environments running numpy.

Deploy tensorflow graphs for fast evaluation and export to tensorflow-less environments running numpy. Now with tensorflow 1.0 support. Evaluation usa

Marcel R. 349 Aug 6, 2022
shufflev2-yolov5:lighter, faster and easier to deploy

shufflev2-yolov5: lighter, faster and easier to deploy. Evolved from yolov5 and the size of model is only 1.7M (int8) and 3.3M (fp16). It can reach 10+ FPS on the Raspberry Pi 4B when the input size is 320×320~

pogg 1.5k Jan 5, 2023
Deploy optimized transformer based models on Nvidia Triton server

Deploy optimized transformer based models on Nvidia Triton server

Lefebvre Sarrut Services 1.2k Jan 5, 2023
Deploy optimized transformer based models on Nvidia Triton server

?? Hugging Face Transformer submillisecond inference ?? and deployment on Nvidia Triton server Yes, you can perfom inference with transformer based mo

Lefebvre Sarrut Services 1.2k Jan 5, 2023
An example project demonstrating how the Autonomous Learning Library can be used to build new reinforcement learning agents.

About This repository shows how Autonomous Learning Library can be used to build new reinforcement learning agents. In particular, it contains a model

Chris Nota 5 Aug 30, 2022