init (pre-existing): added template oop implementation
This commit is contained in:
commit
d51238838c
13 changed files with 178 additions and 0 deletions
12
src/util/speedtest.py
Normal file
12
src/util/speedtest.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from core.mirror import Mirror
|
||||
|
||||
'''
|
||||
Speedtest multiple mirrors to see which is faster
|
||||
|
||||
My idea is to run some bash thing like
|
||||
ping hianime.nz -c 1 -q | head -n 1
|
||||
And then run one of those asyncronyously (in parallel)
|
||||
for each mirror we're testing
|
||||
'''
|
||||
def Speedtest(mirrors: list[Mirror]) -> list[int]:
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue