{ "info": { "author": "Johannes Schriewer", "author_email": "j.schriewer@anfe.ma", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.4" ], "description": "Unwiredlabs Location API client for python\n==========================================\n\nThis implements the Unwiredlabs Location API protocol in python\n\nInstallation\n------------\n\nJust install with ``pip``::\n\n\tpip install unwiredlabs\n\nUsage\n-----\n\nPython example::\n\n\timport unwiredlabs\n\n\tkey = 'ABCDEF1234567890' # from the API console\n\n\tbssid = 'ab:cd:ef:12:34:56'\n\trssi = -60\n\n\trequest = unwiredlabs.UnwiredRequest()\n\trequest.addAccessPoint(bssid, rssi)\n\n\tconnection = unwiredlabs.UnwiredConnection(key=key)\n\tresponse = connection.performRequest(request)\n\n\tif response.status != 'Ok':\n\t\tprint('Error:', response.status)\n\telse:\n\t\tprint('Response: ', response.coordinate)\n\nCommand line client\n-------------------\n\nIn the ``test`` directory you'll find a command line client to test if everything works::\n\n\t$ python cmdline_client.py --help\n\tusage: cmdline_client.py [-h] -k KEY [-w WIFI] [-g GPS] [-c CELL]\n\t\t\t\t\t\t\t [-l LTE] [-u UMTS] [-m CDMA] [-a]\n\n\tMake a location request against the unwiredlabs location API\n\n\toptional arguments:\n\t -h, --help show this help message and exit\n\t -k KEY, --key KEY token from Unwired API panel\n\t -w WIFI, --wifi WIFI WIFI BSSID and signal strength (format: XX:XX:XX:XX:XX:XX@RSSI)\n\t -g GPS, --gps GPS GPS coordinate (format: latitude,longitude@num_satelites)\n\t -c CELL, --cell CELL, --celltower CELL\n\t\t\t\t\t\t\tGSM Celltower information (format: MCC,MNC,LAC,CellID@RSSI)\n\t -l LTE, --lte LTE LTE Celltower information (format: MCC,MNC,LAC,CellID@RSSI)\n\t -u UMTS, --umts UMTS UMTS (3G) Celltower information (format: MCC,MNC,LAC,CellID@RSSI)\n\t -m CDMA, --cdma CDMA CDMA/EVDO Celltower information (format: MCC,MNC,LAC,CellID@RSSI)\n\t -a, --address Fetch address info in addition to coordinates\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/anfema/python-unwired", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "unwiredlabs", "package_url": "https://pypi.org/project/unwiredlabs/", "platform": "", "project_url": "https://pypi.org/project/unwiredlabs/", "project_urls": { "Homepage": "https://github.com/anfema/python-unwired" }, "release_url": "https://pypi.org/project/unwiredlabs/0.4.0/", "requires_dist": null, "requires_python": "", "summary": "Unwiredlabs Location API client.", "version": "0.4.0" }, "last_serial": 4727152, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "112800805bdbc2d7e922dc95c8cea8b5", "sha256": "88a060b6260db72e1d66294fe34252ab429e6a7629e7ed3daba4a8693ebaa17c" }, "downloads": -1, "filename": "unwiredlabs-0.1.0.tar.gz", "has_sig": false, "md5_digest": "112800805bdbc2d7e922dc95c8cea8b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4896, "upload_time": "2017-01-12T17:28:26", "url": "https://files.pythonhosted.org/packages/dc/e0/22cd6bcd14249fbf1e438482221b12b21568af00e0b6ac2bfd1cef573916/unwiredlabs-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "5bc7eb366e3bcd3ea77b1a8f83933f3e", "sha256": "c7350c7bf385b6d65f9bac2693be4abd8a5fe6ac02e0a794e76b2536082ff7b8" }, "downloads": -1, "filename": "unwiredlabs-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5bc7eb366e3bcd3ea77b1a8f83933f3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5179, "upload_time": "2017-01-31T11:11:28", "url": "https://files.pythonhosted.org/packages/f3/d6/f39e53d5eb228a7f71ca0ae188e1a01d2f1f7615c877a6e733e497491305/unwiredlabs-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "74de2d6843256703801a2ad7e948a558", "sha256": "a1f3d469dadd3f8da60dfbffab5d7ad9e3bf777fc09f337da8789baae54d131b" }, "downloads": -1, "filename": "unwiredlabs-0.2.1.tar.gz", "has_sig": false, "md5_digest": "74de2d6843256703801a2ad7e948a558", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5185, "upload_time": "2017-02-15T12:01:38", "url": "https://files.pythonhosted.org/packages/5f/5b/f6aa0d3fae0aa34e7e09f330d19329557bf231902b2dca7d6f8fff5fa9fd/unwiredlabs-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "d5f63ab256b177a81ba120310d8d2699", "sha256": "35cb3a16f5e03d0a01263ce0ae97b452dc1cd5b36254ab2e0ba43cb687867d38" }, "downloads": -1, "filename": "unwiredlabs-0.3.0.tar.gz", "has_sig": false, "md5_digest": "d5f63ab256b177a81ba120310d8d2699", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5311, "upload_time": "2018-04-19T13:09:17", "url": "https://files.pythonhosted.org/packages/3f/e6/b5e5ecde81b51e56e667053d64047f6f2bac94a41c3bfec75e52b59dd3cb/unwiredlabs-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "57e6334bfc0224c597452e07a17017eb", "sha256": "f27a41de5a9a9a929f1e14b5b1ddeacea626616f35804c5c325ec8cbbabd8690" }, "downloads": -1, "filename": "unwiredlabs-0.4.0.tar.gz", "has_sig": false, "md5_digest": "57e6334bfc0224c597452e07a17017eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5311, "upload_time": "2019-01-22T17:41:23", "url": "https://files.pythonhosted.org/packages/5f/11/7027a9afa0cd9f42af002aebf24cec1d2388ca5ed1dc02405241bc99ba49/unwiredlabs-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "57e6334bfc0224c597452e07a17017eb", "sha256": "f27a41de5a9a9a929f1e14b5b1ddeacea626616f35804c5c325ec8cbbabd8690" }, "downloads": -1, "filename": "unwiredlabs-0.4.0.tar.gz", "has_sig": false, "md5_digest": "57e6334bfc0224c597452e07a17017eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5311, "upload_time": "2019-01-22T17:41:23", "url": "https://files.pythonhosted.org/packages/5f/11/7027a9afa0cd9f42af002aebf24cec1d2388ca5ed1dc02405241bc99ba49/unwiredlabs-0.4.0.tar.gz" } ] }