init (pre-existing): added template oop implementation

This commit is contained in:
do butterflies cry? 2025-07-06 21:29:08 +10:00
commit d51238838c
13 changed files with 178 additions and 0 deletions

12
src/util/speedtest.py Normal file
View 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