fastcli package

Submodules

fastcli.fastcli module

fastcli.py :: Command line interface to fast.com by Netflix.

Usage:
python3 -m fastcli
fastcli.fastcli.cli() → None[source]

Parse CLI arguments.

fastcli.fastcli.main(token: str = '', timeout: Union[float, int] = 10.0, https: bool = True, url_count: int = 3, verbosity: int = 30) → float[source]

Create coroutines for speedtest and return results.

fastcli.fastcli.run(*, timeout: float = 30, verbosity: int = 30) → float[source]

Create eventloop and run main coroutine.

fastcli.fastcli.test_download_speed(session: aiohttp.client.ClientSession, url: str) → int[source]

Count the amount of data successfully downloaded.

Module contents