Skip to main content

A python library to control wpa_supplicant via it's control socket.

Project description

https://coveralls.io/repos/github/btimby/mkpy224o/badge.svg?branch=master https://github.com/btimby/mkpy224o/actions/workflows/ci.yml/badge.svg https://badge.fury.io/py/mkpy224o.svg

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)

Uploaded Source

Built Distribution

mkpy224o-0.1.5-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page