A dead simple, cross-platform Python library to connect to wireless networks.
Project description
wireless
A dead simple, cross-platform Python library to connect to wireless networks.
Description
This library can control a computer’s wireless adapter to connect to a network. Environments currently supported include:
Mac OS 10.10
Ubuntu 12.04
Setup
sudo pip install wireless
To use the nmcli on Ubuntu, one must have the right permissions in place. A few options are listed here.
Usage
A typical usage looks like this:
from wireless import Wireless
wireless = Wireless()
wireless.connect(ssid='ssid', password='password')
API
Wireless() - initialize the wifi driver
connect(ssid, password) - attempts to connect to a network and returns True on success
current() - returns the name of the current network or None otherwise
Change History
This project uses semantic versioning.
v0.1.1 - 2014/11/24
Better documentation formatting for PyPI
v0.1.0 - 2014/11/22
Initial release
Contributions
Pull requests to the develop branch are welcomed!
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
File details
Details for the file wireless-0.1.1.tar.gz
.
File metadata
- Download URL: wireless-0.1.1.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53d82623450933dcb1741d1b7e8a96bc993724e3fa6e1e93de14c7872bd4a95d |
|
MD5 | 9bd7b2c186aad482f8ea1136437afe0b |
|
BLAKE2b-256 | 287219386d43582cd5c40e8a2257ddb5595aba06946a619a35b1f66bace06055 |