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

Organizations

@jazzband

Block or report aliev

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 baker

🤔 I’m looking for help with baker


🔭 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 228 22

  2. baker baker Public

    Baker is a command-line tool that helps you quickly scaffold new projects. It supports language-independent hooks for automating routine tasks. Baker is written in Rust and distributed as a standal…

    Rust 49 4

  3. aioshutdown aioshutdown Public

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

    Python 9

  4. aiostd aiostd Public

    A simple library for asynchronous communication with standard I/O

    Python 2

  5. vim vim Public

    📝 minimalistic vimrc based on KISS principle @vim

    Vim Script 46 7

  6. mcp_memory mcp_memory Public

    Model Context Protocol Memory

    Rust 3