File tree Expand file tree Collapse file tree 7 files changed +14
-16
lines changed Expand file tree Collapse file tree 7 files changed +14
-16
lines changed Original file line number Diff line number Diff line change 6
6
import sys
7
7
from functools import wraps
8
8
9
- from tqdm import tqdm
10
- from tqdm . auto import tqdm as tqdm_auto
11
- from tqdm .utils import ObjectWrapper
9
+ from .. auto import tqdm as tqdm_auto
10
+ from .. std import tqdm
11
+ from . .utils import ObjectWrapper
12
12
13
13
__author__ = {"github.com/" : ["casperdcl" ]}
14
14
__all__ = ['tenumerate' , 'tzip' , 'tmap' ]
Original file line number Diff line number Diff line change 13
13
from os import getenv
14
14
15
15
if getenv ("TQDM_TELEGRAM_TOKEN" ) and getenv ("TQDM_TELEGRAM_CHAT_ID" ):
16
- from tqdm . contrib .telegram import tqdm , trange
16
+ from .telegram import tqdm , trange
17
17
elif getenv ("TQDM_DISCORD_TOKEN" ) and getenv ("TQDM_DISCORD_CHANNEL_ID" ):
18
- from tqdm . contrib .discord import tqdm , trange
18
+ from .discord import tqdm , trange
19
19
else :
20
- from tqdm .auto import tqdm , trange
20
+ from . .auto import tqdm , trange
21
21
22
22
with warnings .catch_warnings ():
23
23
warnings .simplefilter ("ignore" , category = FutureWarning )
Original file line number Diff line number Diff line change 5
5
6
6
from contextlib import contextmanager
7
7
8
- from tqdm import TqdmWarning
9
- from tqdm . auto import tqdm as tqdm_auto
8
+ from .. auto import tqdm as tqdm_auto
9
+ from .. std import TqdmWarning
10
10
11
11
try :
12
12
from operator import length_hint
Original file line number Diff line number Diff line change 18
18
except ImportError :
19
19
raise ImportError ("Please `pip install disco-py`" )
20
20
21
- from tqdm .auto import tqdm as tqdm_auto
22
- from tqdm .utils import _range
23
-
21
+ from ..auto import tqdm as tqdm_auto
22
+ from ..utils import _range
24
23
from .utils_worker import MonoWorker
25
24
26
25
__author__ = {"github.com/" : ["casperdcl" ]}
Original file line number Diff line number Diff line change 5
5
6
6
import itertools
7
7
8
- from tqdm .auto import tqdm as tqdm_auto
8
+ from . .auto import tqdm as tqdm_auto
9
9
10
10
__author__ = {"github.com/" : ["casperdcl" ]}
11
11
__all__ = ['product' ]
Original file line number Diff line number Diff line change 14
14
15
15
from requests import Session
16
16
17
- from tqdm .auto import tqdm as tqdm_auto
18
- from tqdm .utils import _range
19
-
17
+ from ..auto import tqdm as tqdm_auto
18
+ from ..utils import _range
20
19
from .utils_worker import MonoWorker
21
20
22
21
__author__ = {"github.com/" : ["casperdcl" ]}
Original file line number Diff line number Diff line change 6
6
from collections import deque
7
7
from concurrent .futures import ThreadPoolExecutor
8
8
9
- from tqdm .auto import tqdm as tqdm_auto
9
+ from . .auto import tqdm as tqdm_auto
10
10
11
11
__author__ = {"github.com/" : ["casperdcl" ]}
12
12
__all__ = ['MonoWorker' ]
You can’t perform that action at this time.
0 commit comments