{ "info": { "author": "Lars Falk-Petersen", "author_email": "dev@falkp.no", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: System :: Networking" ], "description": "radiocells - Network Geolocation Services\n=========================================\n\nLocates the current wifi-enabled computer using nearby access points and\nhttps://radiocells.org/geolocation\n\nProject home: https://github.com/ways/locate-radiocells\n\n----\n\nInstallation\n------------\n\n.. code:: bash\n\n $ pip install radiocells\n\nDependencies (handled by pip)\n-----------------------------\n\n* https://github.com/rockymeza/wifi/\n* https://pypi.python.org/pypi/requests/\n\nUsage\n-----\n\nMust run as root to get access to scanning on Linux.\n\nExample use:\n\n.. code:: python\n\n import radiocells\n accuracy, latlng = radiocells.locate(device='wlan0')\n\nExample script included in examples/, (prints out accuracy in meters, and coordinates):\n\n.. code:: bash\n\n $ sudo ./locate-wifi.py wlan0\n 30 (59.12345, 10.12345)\n\nCompatibility\n-------------\n\nPython 2 and 3. Only tested on Linux (Ubuntu, Fedora, Arch).\n\nDevelopment info\n----------------\n\nexample query sent to radiocells.org:\ncurl -H \"Accept: application/json\" -H \"Content-type: application/json\" -X POST -d '{\"wifiAccessPoints\":[{\"macAddress\":\"24-DE-C6-A8-C9-64\",\"signalStrength\":-57}]}' https://radiocells.org/backend/geolocate\n\nExample response:\n{\"source\": \"wifis\", \"measurements\": 14, \"location\": {\"lat\": 59.12345, \"lng\": 10.12345}, \"accuracy\": 30}\n\nor on fail:\n{'resultType': 'error', 'results': {'source': 'none', 'measurements': 0, 'location': {'lat': 0.0, 'lng': 0.0}, 'accuracy': 9999}, 'error': {'message': 'Empty request', 'code': 400, 'errors': [{'message': None, 'reason': 'parseError', 'domain': 'global'}]}}\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ways/locate-radiocells", "keywords": "location", "license": "AGPLv3+", "maintainer": "", "maintainer_email": "", "name": "radiocells", "package_url": "https://pypi.org/project/radiocells/", "platform": "", "project_url": "https://pypi.org/project/radiocells/", "project_urls": { "Homepage": "https://github.com/ways/locate-radiocells" }, "release_url": "https://pypi.org/project/radiocells/0.3.0/", "requires_dist": [ "wifi", "requests", "setuptools", "development; extra == 'json'" ], "requires_python": "", "summary": "Get position based on wifi APs in proximity and radiocells.org database.", "version": "0.3.0" }, "last_serial": 3487626, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "1a5a00bca44ba290476a88d3196147ad", "sha256": "c7c2799060671c2f0a7b72ec2790f0aa00dd3b71165bae7c75eb61cc61a58868" }, "downloads": -1, "filename": "radiocells-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1a5a00bca44ba290476a88d3196147ad", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5204, "upload_time": "2017-11-13T21:38:26", "url": "https://files.pythonhosted.org/packages/56/e1/f60c31849a6d45a1d4cbb35f93125ae0ea097534b12a58dcfe9f869c3667/radiocells-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bb9e241b666b4c2270fffc52fe0457c", "sha256": "81239efc37cf18945a72635ff4c87739864c5948f2ae6ced08b6e47792aebfb8" }, "downloads": -1, "filename": "radiocells-0.3.0.tar.gz", "has_sig": false, "md5_digest": "6bb9e241b666b4c2270fffc52fe0457c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4229, "upload_time": "2017-11-13T21:38:28", "url": "https://files.pythonhosted.org/packages/72/2f/d5f644a06811439d293ea0d2e638a9739bb9cd7b56e42bdb7a36f125226a/radiocells-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1a5a00bca44ba290476a88d3196147ad", "sha256": "c7c2799060671c2f0a7b72ec2790f0aa00dd3b71165bae7c75eb61cc61a58868" }, "downloads": -1, "filename": "radiocells-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1a5a00bca44ba290476a88d3196147ad", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5204, "upload_time": "2017-11-13T21:38:26", "url": "https://files.pythonhosted.org/packages/56/e1/f60c31849a6d45a1d4cbb35f93125ae0ea097534b12a58dcfe9f869c3667/radiocells-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6bb9e241b666b4c2270fffc52fe0457c", "sha256": "81239efc37cf18945a72635ff4c87739864c5948f2ae6ced08b6e47792aebfb8" }, "downloads": -1, "filename": "radiocells-0.3.0.tar.gz", "has_sig": false, "md5_digest": "6bb9e241b666b4c2270fffc52fe0457c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4229, "upload_time": "2017-11-13T21:38:28", "url": "https://files.pythonhosted.org/packages/72/2f/d5f644a06811439d293ea0d2e638a9739bb9cd7b56e42bdb7a36f125226a/radiocells-0.3.0.tar.gz" } ] }