python-ffmpeg
python-ffmpeg copied to clipboard
Improve type-hints, support any AsyncIterable[bytes] as input, remove support for EOL python versions
This PR is mostly a refactoring of the code base to cover the whole project with correct type-hints. Additionally it also:
- adds support for any
AsyncIterable[bytes]as pipe input so virtually any asyncio-compatible source can be used - removes support for python versions less than 3.9 which have reached end-of-life in 2024 and weren't properly supported anyways because of the reliance on PEP 585