A python library to control wpa_supplicant via it's control socket.
Project description
mkpy224o
Python wrapper for mkp224o CLI tool.
Installation
To install the library:
pip install mkpy224o
This wrapper requires mkp224o in order to function. If you want to use regular expressions as filters, you will need to enable the regex feature (disabled by default).
git clone git@github.com:cathugger/mkp224o.git
cd mkp224o/
./autogen.sh
./configure --enable-regex=yes
make
sudo install mkp224o /usr/local/bin/mkp224o
Note that you can omit --enable-regex=yes if you don’t want to use regular expressions and you can install to any destination that is in your PATH.
Usage
from mkpy224o import find_keys
keys = find_keys('^foo', on_progress=print)
The above will find a key that starts with foo. Progress will be printed to the console.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mkpy224o-0.1.5.tar.gz
(4.0 kB
view hashes)