Skip to main content
Help us improve Python packaging – donate today!

Python WiFi is a Python module that provides read and write access to a wireless network card's capabilities using the Linux Wireless Extensions.

Project Description

Python WiFi is a Python module that provides read and write access to a wireless network card’s capabilities using the Linux Wireless Extensions. It was initially developed by Roman Joost with advice from Guido Goldstein of Infrae. It is currently maintained by Sean Robinson.

More information is available at A mailing list for announcements and developer discussion is available at

Check the ./docs/feature_matrix_*.txt files for a detailed list of what is implemented. This may not work with 64-bit Linux kernels, I would appreciate reports of success or failure on such systems.

Example Applications

The examples directory contains and, which are sample re-implementations of iwconfig and iwlist. These scripts use the pythonwifi module to duplicate the functionality of those programs as closely as possible.

Files and Directories

./docs/ - supporting documentation ./docs/api/ - documentation of the pythonwifi API (not yet there) ./docs/logos/ - the Python WiFi logo in various formats ./examples/ - sample uses of pythonwifi module ./pythonwifi/ - the module source code ./INSTALL - installation instructions ./Makefile - convenience commands for developers ./README - this file ./ - installation script

Python WiFi Users

The methods in the Wireless class are the highest level interace. An example program, which prints the ESSID and the association mode:

>>> from pythonwifi.iwlibs import Wireless
>>> wifi = Wireless('eth1')
>>> wifi.getEssid()
>>> wifi.getMode()


pythonwifi is licensed under LGPLv2+, however, the examples (e.g. and are licensed under GPLv2+.

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
python-wifi-0.6.1.tar.bz2 (73.7 kB) Copy SHA256 hash SHA256 Source None Nov 11, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page