{ "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": "Skyhook ELG client for python\n=============================\n\nThis implements the Skyhook ELG binary protocol in python\n\nInstallation\n------------\n\nJust install with ``pip``::\n\n\tpip install python-skyhook\n\nUsage\n-----\n\nPython example::\n\n\timport skyhook\n\n\tkey = 'ABCDEF1234567890' # from the API console\n\tuserID = 11111 # from the API console\n\n\tbssid = 'ab:cd:ef:12:34:56'\n\trssi = -60\n\n\trequest = skyhook.SkyhookRequest()\n\trequest.addAccessPoint(bssid.replace(':', ''), rssi)\n\n\tconnection = skyhook.SkyhookConnection(key=key, userID=userID)\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 -u USERID [-w WIFI] [-g GPS] [-c CELL]\n\t\t\t\t\t\t\t [-b BT]\n\n\tMake a location request against the skyhook service\n\n\toptional arguments:\n\t -h, --help show this help message and exit\n\t -k KEY, --key KEY encryption key from Skyhook API panel\n\t -u USERID, --user USERID\n\t\t\t\t\t\t\tuser ID from Skyhook 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\tCelltower information (format: MCC,MNC,LAC,CellID@RSSI)\n\t -b BT, --bt BT, --bluetooth BT\n\t\t\t\t\t\t\tBluetooth beacon (format: XX:XX:XX:XX:XX:XX,UUID,Major,Minor@RSSI)", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/anfema/python-skyhook", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "skyhook", "package_url": "https://pypi.org/project/skyhook/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/skyhook/", "project_urls": { "Homepage": "https://github.com/anfema/python-skyhook" }, "release_url": "https://pypi.org/project/skyhook/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Skyhook ELG client.", "version": "0.1.2" }, "last_serial": 2468285, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "702a39ab89cbb8353c39c4e6d60827db", "sha256": "3a3f00c5b6ab44de233e50a39117b1a7942a5e7afefbde9f72f883a3a8c77770" }, "downloads": -1, "filename": "skyhook-0.1.0.tar.gz", "has_sig": false, "md5_digest": "702a39ab89cbb8353c39c4e6d60827db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6281, "upload_time": "2016-11-08T19:14:13", "url": "https://files.pythonhosted.org/packages/22/6a/04a63ca81aad5490dc6d24943dafd609a0b8d04e4fb517e9c6529d5fafb5/skyhook-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "00f4520b160659072637b7868bc8452a", "sha256": "a104514cdf8fb9e2599006312f130228059c150c6abdd9bda541c96aef9f2d69" }, "downloads": -1, "filename": "skyhook-0.1.1.tar.gz", "has_sig": false, "md5_digest": "00f4520b160659072637b7868bc8452a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6328, "upload_time": "2016-11-10T10:51:27", "url": "https://files.pythonhosted.org/packages/82/53/81cd9e076d31e5d1682c7d2475413746a3016b59bd50acba88bb965cda1e/skyhook-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "5e2d18f93b377ea890a059bf0dddf725", "sha256": "b7379bb2572ae5405c1386675bcd91f9db496444b9a6cab8dc4981e6b045f9d7" }, "downloads": -1, "filename": "skyhook-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5e2d18f93b377ea890a059bf0dddf725", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6302, "upload_time": "2016-11-18T11:18:33", "url": "https://files.pythonhosted.org/packages/43/1e/c22b0d85e72cdcc31ca430e1ebd2810f04aefa8ffb29cf0c82516f3a82f0/skyhook-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e2d18f93b377ea890a059bf0dddf725", "sha256": "b7379bb2572ae5405c1386675bcd91f9db496444b9a6cab8dc4981e6b045f9d7" }, "downloads": -1, "filename": "skyhook-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5e2d18f93b377ea890a059bf0dddf725", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6302, "upload_time": "2016-11-18T11:18:33", "url": "https://files.pythonhosted.org/packages/43/1e/c22b0d85e72cdcc31ca430e1ebd2810f04aefa8ffb29cf0c82516f3a82f0/skyhook-0.1.2.tar.gz" } ] }