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

Organizations

@jazzband
Block or Report

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

  1. aioauth aioauth Public

    Asynchronous OAuth 2.0 provider for Python 3

    Python 210 16

  2. pydantic-settings-external pydantic-settings-external Public archive

    PyDantic Settings External is a library that extends PyDantic Settings to support various types of external configuration providers.

    Python 2

  3. aioshutdown aioshutdown Public

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

    Python 8

  4. runestone runestone Public

    Forked from RunestoneInteractive/RunestoneServer

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

    HTML 401 88

  5. vim vim Public

    📝 minimalistic vimrc based on KISS principle @vim

    Vim Script 47 7

  6. vim-compiler-python vim-compiler-python Public

    Python specific settings (Alpha!)

    Vim Script 22 4