Wifinetctl is a portability wifi librari for netctl It's a fork of pywifi
Wifinetctl provides a command line wrapper for iwlist and /etc/netctl/profile-file that makes it easier to connect the WiFi networks from the command line. The wifi command is also implemented as a library that can be used from Python.
use this documentation temporarily : https://wifi.readthedocs.org/en/latest/.
Work Same
Work with python 2.7