ads2_2022/code/python/src/thirdparty/run.py

42 lines
1.2 KiB
Python
Raw Normal View History

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# IMPORTS
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
import aiohttp;
from asyncio import Future;
from asyncio import gather as asyncio_gather;
from asyncio import get_event_loop as asyncio_get_event_loop;
from asyncio import new_event_loop as asyncio_new_event_loop;
from asyncio import set_event_loop as asyncio_set_event_loop;
from asyncio import ensure_future as asyncio_ensure_future;
from asyncio import sleep as asyncio_sleep;
from asyncio import AbstractEventLoop;
from codetiming import Timer;
from signal import Signals;
from signal import SIGINT;
from signal import SIGTERM;
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# EXPORTS
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__all__ = [
'aiohttp',
'Future',
'asyncio_gather',
'asyncio_ensure_future',
'asyncio_get_event_loop',
'asyncio_new_event_loop',
'asyncio_set_event_loop',
'asyncio_sleep',
'AbstractEventLoop',
'Timer',
'Signals',
'SIGINT',
'SIGTERM',
];