Skip to content

Commit

Permalink
Imported Upstream version 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
woglinde committed Dec 18, 2009
0 parents commit 240e0eb
Show file tree
Hide file tree
Showing 38 changed files with 5,229 additions and 0 deletions.
8 changes: 8 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Installing:
-----------
If you want an easy install, use the .egg file and install it via
easy_install. See:

http://peak.telecommunity.com/DevCenter/EasyInstall


33 changes: 33 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# Makefile for Python WiFi
#

SHELL = /bin/sh

package = python-wifi

srcdir = .

VERSION = $(shell cat $(srcdir)/docs/VERSION)

BRANCH = "master"

TOPDIR := $(CURDIR)

.PHONY: all egg tarball changelog clean distclean

all:

egg:
python setup.py bdist_egg

tarball:

changelog:
mkdir -p $(TOPDIR)/tmp/
git log | perl -pi -e 's/</&lt;/g; s/>/&gt;/g; s/@/@<!-- com.com -->/g;' > $(TOPDIR)/tmp/CHANGELOG

clean:
rm -fr tmp/

distclean: clean
58 changes: 58 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
README
======

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 http://pythonwifi.wikispot.org and
https://developer.berlios.de/projects/pythonwifi/ Mailing lists for
announcements and developer discussion are available at
https://developer.berlios.de/mail/?group_id=7134

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 iwconfig.py and iwlist.py, 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
./ez_setup.py - installation script
./INSTALL - installation instructions
./Makefile - convenience commands for developers
./README - this file
./setup.py - 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()
'romanofski'
>>> wifi.getMode()
'Managed'


License
-------

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

8 changes: 8 additions & 0 deletions docs/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
R�man Joost <[email protected]>
Sean Robinson <[email protected]>

Contributors:
Mike Auty <[email protected]>
Guido Goldstein
Pierre-Nicolas
Paulo Ferreira
5 changes: 5 additions & 0 deletions docs/BUGS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Known Bugs:
===========

- egg install leads to weird result when scanning. If you discover this
problem, send an email to [email protected].
245 changes: 245 additions & 0 deletions docs/ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@
2009-02-13 Roman Joost <[email protected]>

* docs/AUTHORS
* pythonwifi/iwlibs.py: bugfix #2636, submitted by Sean Robinson

2009-02-13 Roman Joost <[email protected]>

* pythonwifi/iwlibs.py: fixes ##13090 (Error parsing the event
stream if no available acces points) spotted by Pierre-Nicolas

* setup.py
* README: small spelling fix

2008-08-01 Roman Joost <[email protected]>

* docs/DEVEL.txt: moved devel instructions

* examples/pyiwlist.py
* pythonwifi/iwlibs.py
* pythonwifi/flags.py: mostly code cleanup

* setup.py: cleanup

2008-08-01 Roman Joost <[email protected]>

* docs/NEWS
* NEWS
* INSTALL
* README: restructured and moved devel instructions out to docs

2008-08-01 Roman Joost <[email protected]>

* setup.py: bumped to version 0.3.1

* version.txt
* PKG-INFO: removed, because they're not needed

2008-07-28 Roman Joost <[email protected]>

* pythonwifi/iwlibs.py: fixes a small bug in the regular
expression for detecting the interface name, spotted by Paulo
Ferreira

2006-07-05 Roman Joost <[email protected]>

* docs/BUGS
* docs/pywifi_english.tpp
* docs/pywifi.tpp
* docs/NEWS
* PKG-INFO
* README: minor package changes and updates

* examples/pyiwconfig.py
* examples/pyiwlist.py: import the correct module from the
correct package

2006-07-05 Roman Joost <[email protected]>

* pythonwifi
* setup.py
* python-wireless
* python-wireless/iwlibs.py
* python-wireless/flags.py
* python-wireless/__init__.py: as I already figured, this
package name is not suitable

2006-07-05 Roman Joost <[email protected]>

* LICENSE: GPL -> LGPL

* docs/README
* README: updated description and moved README to toplevel

* setup.py
* PKG-INFO
* ez_setup.py: boilerplate for setuptools and metadata

* lib
* lib/iwlibs.py
* lib/flags.py
* docs/AUTHORS
* python-wireless
* python-wireless/iwlibs.py
* python-wireless/flags.py
* python-wireless/__init__.py: updated copyright date and
renamed to a better package name

2006-07-05 Roman Joost <[email protected]>

* iwlibs.py
* flags.py
* pyiwconfig.py
* pyiwlist.py
* trunk/lib/iwlibs.py
* trunk/lib/flags.py
* trunk/examples
* trunk/examples/pyiwconfig.py
* trunk/examples/pyiwlist.py: moved files in designated areas

2006-07-05 Roman Joost <[email protected]>

* LICENSE
* pyiwlist
* pyiwlist.py
* ChangeLog
* docs
* docs/BUGS
* docs/profiling.py
* docs/pywifi_english.tpp
* docs/europython2005.mgp
* docs/TODO
* docs/AUTHORS
* docs/pywifi.tpp
* docs/NEWS
* docs/README
* README
* tests
* tests/test_wireless.py
* tests/test_wireless_doctest.py
* tests/README
* version.txt
* trunk/LICENSE
* trunk/tests
* trunk/version.txt
* trunk/lib
* trunk/ChangeLog
* trunk/docs
* trunk/README: moved everything to trunk directory, some more
files and dirs will follow

2006-07-05 Roman Joost <[email protected]>

* version.txt: bumped to 0.3

* iwlibs.py
* flags.py
* pyiwlist
* pyiwconfig.py
* docs/pywifi_english.tpp
* docs/pywifi.tpp
* docs/AUTHORS
* docs/README: added patch submitted by Mike Auty which adds
scanning functionality

2005-08-026 Roman Joost <[email protected]>

* docs/europython2005.mgp: added presentation from the
europython

2005-06-05 Roman Joost <[email protected]>

* tests/test_wireless.py
* tests/test_wirelessconfig.py
* pyiwconfig
* pyiwconfig.py: renamed

* iwlibs.py: new methods for returning the right power
management values

* flags.py: moved ioctl calls and flags out to seperate module

* README: hint to check the docs directory

2005-06-05 Roman Joost <[email protected]>

* iwlibs.py
* tests
* tests/README
* tests/test_wireless_doctest.py
* tests/test_wirelessconfig.py: added doctests and a method to
get the ifnames by a systemcall if /proc/net/wireless doesn't
exist

* README
* NEWS
* BUGS
* AUTHORS
* TODO
* docs
* docs/profiling.py
* docs/BUGS
* docs/TODO
* docs/AUTHORS
* docs/NEWS
* docs/README: moved to seperate docs directory

* pyiwconfig: specified the copyright year

2005-05-22 Roman Joost <[email protected]>

* version.txt: bumped to 0.2

* iwlibs.py: fixed spelling in docstring

* pyiwlist: fixed wrong exception catch

* AUTHORS
* TODO
* NEWS
* README: moving some text to their right directions, added
some tutorial style code for pywifi relevant 'users'

2005-05-18 Roman Joost <[email protected]>

* iwlibs.py
* pyiwlist: refactoring

* TODO: added possible todo item

2005-05-17 Roman Joost <[email protected]>

* iwlibs.py
* pyiwlist
* pyiwconfig: added 'bitrates' option and fixed some syntax
errors and bugs

2005-05-16 Roman Joost <[email protected]>

* iwconfig.py
* pyiwconfig: renamed

2005-05-16 Roman Joost <[email protected]>

* pyiwlist
* iwlibs.py: new method for gathering detailed information

* BUGS: known bugs

* iwconfig.py: minor modifications for main program

2005-05-08 Roman Joost <[email protected]>

* iwlibs.py
* iwconfig.py: new parsing style to achieve same options parsing
like the wireless tools

* README: descriptions about whats going on

2005-05-08 Roman Joost <[email protected]>

* main.py: removed, because iwconfig should be doing this now
* iwconfig.py
* iwlibs.py: factored out most of iwconfig methods to new
Wireless class. Not sure if this is the right name for this, but
it'll store all necessary methods for read/write to the driver.
Loading

0 comments on commit 240e0eb

Please sign in to comment.