This repo is a fork of mkwvconf modified to work on Python 2.7 and later. The original mkwvconf can be found at schuay/mkwvconf.
First, install the tool and its system dependency:
python3 -m pip install mkwvconf apt-get install mobile-broadband-provider-info
After installation, you can run tool to guide you through an interactive setup experience that generates a wvdial configuration file for you: