Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nibalizer/pywy
python module to (eventually) handle wireless
https://github.com/nibalizer/pywy
Last synced: about 1 month ago
JSON representation
python module to (eventually) handle wireless
- Host: GitHub
- URL: https://github.com/nibalizer/pywy
- Owner: nibalizer
- License: gpl-3.0
- Created: 2011-07-02T20:40:23.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-07-03T03:52:07.000Z (over 13 years ago)
- Last Synced: 2024-10-26T20:11:08.127Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 105 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: License.txt
Awesome Lists containing this project
README
# PyWy
Wireless Network information in python
## Overview
This set of classes and functions parses the output of iwlist:
* Network() objects hold information about a single node
* iwlist() object holds all of the networks and define helper methods(singleton)## Root privileges
PyWy can't read directly from iwlist wlan0 scan right now. This is partly due to
my inherent distrust of running scripts as root, and I'm passing that paranoia
to you. If you look at the code, PyWy reads network information from a file
passed in on the command line.## Invocation
I use
$ sudo iwlist wlan0 scan > derp; python pywy.py derp; rm derpThis prevents the python code from being executed as root.
and to be completely honest with you I do:
$ alias pywy='sudo iwlist wlan0 scan > derp;python pywy.py derp; rm derp
$ pywySource code
-----------The source code for this module is available online at
http://github.com/nibalizer/pywy.gitYou can checkout the source code by installing the `git` distributed version
control system and running:git clone git://github.com/nibalizer/pywy.git
Authors
-------* Spencer Krum