For code maintainability and performance, the whole code was re-written using aiohttp
.
usage is mostly the same aside from bits parameter changes.
(Legacy multi-threaded version is still available and would still work on current unchanged code)
main class has changed from Pushpull
to PullPushAsync
⚠️ python v3.11 or greater is needed
after the re-write,asyncio.TaskGroup
is used which is out after python v3.11
It can also...
- create
tempfile
andtempdir
now for temporary result caching in-case of failures - do better pacing and cooldowns for requests
currently needs some improvements and some more testing so there might be some bugs. but basic functions seem to be working fine. Also, compatibility for Arctic-shift is under consideration after the newest changes due to demands.
docs for dummies
are also requested so planning on that too.