diff --git a/pyproject.toml b/pyproject.toml index 2293644..0dedc4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,10 +18,10 @@ classifiers = [ dependencies = [ "aiofiles~=23.1.0", "aiohttp~=3.8.5", - "Brotli~=1.1.0", "aiodns~=3.0.0", "aioconsole~=0.6.1", "alive-progress>=3.1.1", + "Brotli~=1.1.0", "Deprecated~=1.2.14", "click~=8.1", "typer~=0.9.0", diff --git a/src/pyutils/utils.py b/src/pyutils/utils.py index a53258c..d8d3459 100644 --- a/src/pyutils/utils.py +++ b/src/pyutils/utils.py @@ -1,13 +1,11 @@ import logging -from bson.objectid import ObjectId -from datetime import datetime, timedelta -from typing import Optional, Any, Sequence, TypeVar, Iterator, AsyncGenerator, cast +from datetime import datetime +from typing import Optional, Any, Sequence, TypeVar, Iterator from abc import ABC, abstractmethod from re import compile from itertools import islice -from aiofiles import open from alive_progress import alive_bar # type: ignore -from inspect import stack, getmembers, currentframe +from inspect import getmembers, currentframe from types import FrameType import json from time import time @@ -24,13 +22,9 @@ from typer import Typer from typer.testing import CliRunner as TyperRunner -import click from click import BaseCommand from click.testing import CliRunner -from .eventcounter import EventCounter -from .urlqueue import UrlQueue, UrlQueueItemType, is_url - # Setup logging logger = logging.getLogger()