{ "info": { "author": "Josh Villbrandt", "author_email": "josh@javconcepts.com", "bugtrack_url": null, "classifiers": [], "description": "# Warning: This project is currently unmaintained! Please reach out if you are interested in helping to maintain this project.\n\n[![Build Status](https://travis-ci.org/joshvillbrandt/wireless.svg?branch=master)](https://travis-ci.org/joshvillbrandt/wireless) [![Documentation Status](https://readthedocs.org/projects/wireless/badge/?version=latest)](http://wireless.readthedocs.org/en/latest/)\n\n# wireless\n\nA dead simple, cross-platform Python library to connect to wireless networks.\n\n## Description\n\nThis library can control a computer's wireless adapter to connect to a network. Environments currently supported include (in order of preference):\n\nNetwork Manager | Operating Systems | Tested Adapters\n--- | --- | ---\nnmcli | Ubuntu 12.04, 14.04 | Linksys AE3000, Intel Centrino 6250\nwpa_supplicant | Ubuntu 12.04, 14.04 | Intel Centrino 6250\nnetworksetup | Mac OS 10.10 | Macbook Pro\n\n## Setup\n\n```bash\nsudo pip install wireless\n```\n\n## Usage\n\nA typical usage looks like this:\n\n```python\nfrom wireless import Wireless\nwireless = Wireless()\nwireless.connect(ssid='ssid', password='password')\n```\n\nNote: To use `nmcli` on Ubuntu 14.04, the right permissions must be in place. A few options are listed [here](https://wiki.archlinux.org/index.php/NetworkManager#Set_up_PolicyKit_permissions).\n\nNote: To use `wpa_supplicant`, `network-manager` (the backend for `nmcli`) must not be running. This is because `network-manager` runs an instance of `wpa_supplicant` behind the scenes which will conflict with the `wpa_supplicant` instance that this library would create. If you have a `network-manager` on your machine but would prefer to use `wpa_supplicant` (not recommended), run `sudo service network-manager stop` before using `wireless`.\n\n## API\n\n* `Wireless([interface])` - initialize the wireless driver\n* `connect(ssid, password)` - attempts to connect to a network and returns True on success\n* `current()` - returns the name of the current network or None otherwise\n* `interfaces()` - list the available interfaces\n* `interface([interface])` - get or set the current interface\n* `power([True||False])` - get or set the power status of the adapter\n* `driver()` - return the name of driver being used for wireless control\n\n## Change History\n\nThis project uses [semantic versioning](http://semver.org/).\n\n### v0.3.3 - 2019/06/27\n\n* Fix version comparison for python3.5 ([pschmitt](https://github.com/pschmitt))\n* Update iwconfig current() to handle Nickname field ([jminardi](https://github.com/jminardi))\n\n### v0.3.2 - 2016/03/06\n\n* Added a few tests and fixed a py34 bug ([XayOn](https://github.com/XayOn))\n\n### v0.3.1 - 2015/04/24\n\n* Added version check for nmcli ([Silarn](https://github.com/Silarn))\n\n### v0.3.0 - 2015/01/13\n\n* Added support for `wpa_supplicant`\n* Added the `driver()` method\n\n### v0.2.1 - 2014/12/01\n\n* remove dependency on `pandoc`\n\n### v0.2.0 - 2014/11/25\n\n* Added support for multiple network adapters with `interface()` and `interfaces()` methods\n* The `current()` method actually asks the wireless driver for the current SSID instead of returning the name of the most recently connected network\n* Added the `power()` method\n\n### v0.1.1 - 2014/11/24\n\n* Better documentation formatting for PyPI\n\n### v0.1.0 - 2014/11/22\n\n* Initial release\n\n## Contributions\n\nPull requests to the `develop` branch are welcomed!\n\n## Publishing\n\nFirst, install `pandoc` so that setup.py can auto-convert Markdown syntax into reStructuredText:\n\n```bash\nsudo apt-get install pandoc\nsudo pip install pypandoc\n```\n\nThen, following [this guide](http://peterdowns.com/posts/first-time-with-pypi.html), push the project to PyPI:\n\n```bash\nsudo python setup.py sdist upload -r pypi\n```", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/joshvillbrandt/wireless", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "wireless", "package_url": "https://pypi.org/project/wireless/", "platform": "", "project_url": "https://pypi.org/project/wireless/", "project_urls": { "Homepage": "https://github.com/joshvillbrandt/wireless" }, "release_url": "https://pypi.org/project/wireless/0.3.3/", "requires_dist": null, "requires_python": "", "summary": "A dead simple, cross-platform Python library to connect to wireless networks.", "version": "0.3.3" }, "last_serial": 5459605, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a68c2b461511b6632f19cc94c8198479", "sha256": "bd6c3bd099c18a8fcaaadd07926ac40545e255d02d12963076cdab54c977286e" }, "downloads": -1, "filename": "wireless-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a68c2b461511b6632f19cc94c8198479", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7463, "upload_time": "2014-11-25T02:01:38", "url": "https://files.pythonhosted.org/packages/e3/57/a4feff3a27fd5d424250cef27cd231736586b9e1e489f81fa2e0650c8092/wireless-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9bd7b2c186aad482f8ea1136437afe0b", "sha256": "53d82623450933dcb1741d1b7e8a96bc993724e3fa6e1e93de14c7872bd4a95d" }, "downloads": -1, "filename": "wireless-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9bd7b2c186aad482f8ea1136437afe0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7774, "upload_time": "2014-11-25T02:41:40", "url": "https://files.pythonhosted.org/packages/28/72/19386d43582cd5c40e8a2257ddb5595aba06946a619a35b1f66bace06055/wireless-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "768cf828ded0ff257f7b1867aeb05220", "sha256": "9516659b4cd091a24971babc485cd8c67acc0d375c8f7bf668a7b6e212631977" }, "downloads": -1, "filename": "wireless-0.2.0.tar.gz", "has_sig": false, "md5_digest": "768cf828ded0ff257f7b1867aeb05220", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12560, "upload_time": "2014-11-26T08:27:59", "url": "https://files.pythonhosted.org/packages/27/72/eed7dff447bb0f3f64c4623414fdb494715244e5d0566159176472d0fce9/wireless-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "bf869d7bdd962e3d9cd8a3cad1a2f354", "sha256": "37007173a45faa7398b1e2b0a9c19714bab75dfa33df93ec061f8501eea76e86" }, "downloads": -1, "filename": "wireless-0.2.1.tar.gz", "has_sig": false, "md5_digest": "bf869d7bdd962e3d9cd8a3cad1a2f354", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12922, "upload_time": "2014-12-01T19:27:23", "url": "https://files.pythonhosted.org/packages/26/c6/609ced007da5eb27401225a74e914de0091b1953e652d0e3305232fe4e8b/wireless-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "834db74d3329bca6621354ec5accb83f", "sha256": "f383c401a2ee52ce1459a3f8be440a5806fe92acf8c82725640b757e918cb1bc" }, "downloads": -1, "filename": "wireless-0.3.0.tar.gz", "has_sig": false, "md5_digest": "834db74d3329bca6621354ec5accb83f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14847, "upload_time": "2015-01-13T08:46:47", "url": "https://files.pythonhosted.org/packages/d7/e3/6bbe77fe51087638c2173830840fa90471e5a9218ffeccb6149c017c5a48/wireless-0.3.0.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "4e08a3094f2a4ae0ca00eca761716fe1", "sha256": "e28d48a3e7e00be100be8a14c27be4f8cbde30dddecd9f6f3ffc3c03184967de" }, "downloads": -1, "filename": "wireless-0.3.2.tar.gz", "has_sig": false, "md5_digest": "4e08a3094f2a4ae0ca00eca761716fe1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15883, "upload_time": "2016-03-07T06:00:19", "url": "https://files.pythonhosted.org/packages/16/0f/dbcf07fc0b28fd034a364156d7ddd7ed01079a2b904b29f0ad017238e55c/wireless-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "9fbaaeb9876d7c587ee4be9dbbc23f49", "sha256": "8d2ab4746d39688caa7e659704e83872d5530cca6cec0982cb8a7bd6590d13fc" }, "downloads": -1, "filename": "wireless-0.3.3.tar.gz", "has_sig": false, "md5_digest": "9fbaaeb9876d7c587ee4be9dbbc23f49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10028, "upload_time": "2019-06-28T01:04:31", "url": "https://files.pythonhosted.org/packages/d8/2d/f22a420e763ff8251003ee2d65cf527de54dd9ec42e07fa6416b539d4bfa/wireless-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9fbaaeb9876d7c587ee4be9dbbc23f49", "sha256": "8d2ab4746d39688caa7e659704e83872d5530cca6cec0982cb8a7bd6590d13fc" }, "downloads": -1, "filename": "wireless-0.3.3.tar.gz", "has_sig": false, "md5_digest": "9fbaaeb9876d7c587ee4be9dbbc23f49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10028, "upload_time": "2019-06-28T01:04:31", "url": "https://files.pythonhosted.org/packages/d8/2d/f22a420e763ff8251003ee2d65cf527de54dd9ec42e07fa6416b539d4bfa/wireless-0.3.3.tar.gz" } ] }