Skip to content
View aliev's full-sized avatar
🎯
Focusing
🎯
Focusing

Organizations

@jazzband

Block or report aliev

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
aliev/README.md

Hi there 👋

🔭 I’m currently working on aioauth - Asynchronous OAuth 2.0 framework for Python 3

🔭 I’m currently working on aioauth-fastapi demo server

🤔 I’m looking for help with documenting aioauth


🔭 I created new library - aioshutdown the context manager that provides simple graceful shutdown interface for your asyncio tasks.

Usage example:

import asyncio
from aioshutdown import SIGTERM, SIGINT, SIGHUP


async def my_task(sleep: int):
    try:
        ...
    except asyncio.CancelledError as exc:
        # Your graceful shutdown logic here


# The list of the signals, that you want to handle
with SIGTERM | SIGHUP | SIGINT as loop:
    # The list of your tasks
    tasks = [loop.create_task(my_task(i)) for i in range(1, 10)]
    loop.run_forever()

Pinned Loading

  1. aioauth aioauth Public

    Asynchronous OAuth 2.0 provider for Python 3

    Python 214 19

  2. aioshutdown aioshutdown Public

    Context manager that provides simple graceful shutdown interface for your asyncio tasks.

    Python 9

  3. aiostd aiostd Public

    A simple library for asynchronous communication with standard I/O

    Python 2

  4. runestone runestone Public

    Forked from RunestoneInteractive/RunestoneServer

    📙 Перевод книги Problem Solving with Algorithms and Data Structures Using Python

    HTML 401 87

  5. vim vim Public

    📝 minimalistic vimrc based on KISS principle @vim

    Vim Script 47 7

  6. solid-sold solid-sold Public

    The solid_sold package provides a generic implementation of the Repository pattern in Python, aimed at creating a flexible and robust data access layer for your applications.

    Python 2