Welcome to fastcli’s documentation!

Contents:

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

Credits

Development Lead

Contributors

  • None yet. Why not be the first?

History

0.1.1 :: 2021-06-09

  • Update to API V2
  • Dependency updates
  • Migrate to GitHub Actions instead of Travis

0.1.0 :: 2016-11-27

  • First release on GitHub.
  • First release on PyPI.

fastcli

https://travis-ci.org/n8henrie/fastcli.svg?branch=masterBuild Status

Python3 CLI script for fast.com

  • Free software: MIT
  • Documentation: https://fastcli.readthedocs.org

Features

Shows approximate download speed by way of Fast.com.

Introduction

Fast.com is a newish Netflix download speed test. It bases its results on download speed of actual Netflix video content, which makes it much harder for ISPs to embellish their results (without also speeding up all of Netflix, which may account for as much as 30% of all internet traffic).

It doesn’t test upload speed or ping, so fastcli doesn’t either.

Dependencies

  • Python >= 3.5
  • See requirements.txt

Quickstart

pip3 install fastcli
fastcli

Development Setup

  1. Clone the repo: git clone https://github.com/n8henrie/fastcli && cd fastcli
  2. Install into a virtualenv:
python3 -m venv venv
source venv/bin/activate
pip3 install .[dev]

Configuration

  • Optionally accepts a --runtime argument which may affect accuracy by changing to values shorter or longer than the default of 10 (seconds).

Acknowledgements

Troubleshooting / FAQ

  • fastcli requires Python >= 3.5

Indices and tables