{ "info": { "author": "XZQ", "author_email": "690933685@qq.com", "bugtrack_url": null, "classifiers": [], "description": "Example:\n\n```python\nfrom xzqhotspot import manager\nm = manager()\n\n# start mobile hotspot\n# returns TetheringOperationStatus, for details, refer to the table below\nresult=m.start_hotspot()\n\n# stop mobile hotspot\n# returns TetheringOperationStatus, for details, refer to the table below\nresult=m.stop_hotspot()\n\n# get current status instantly\n# 0 for Unknown, 1 for On, 2 for Off, 3 for Transition between On and Off\ns = m.hotspot_status()\n\n# test Internet connectivity\n# True for connected, False otherwise\nflag = is_internet_available()\n\n# get connected network ssid\nssid = get_wifi_ssid()\n\n# keyword is a part of network adpater name\n# in order to identify specific network adpater\ndisable_network_adapter(keyword)\nenable_network_adapter(keyword)\n```\n\n| Result | Value | Description |\n| -------------------------- | ----- | ------------------------------------------------------------ |\n| BluetoothDeviceOff | 7 | The operation could not begin because Bluetooth or a required Bluetooth device is turned off. |\n| EntitlementCheckFailure | 5 | The operation did not complete because the account does not currently support tethering operations. |\n| EntitlementCheckTimeout | 4 | The operation did not complete because the mobile operator could not be contacted to confirm tethering capabilities are provided for this account. |\n| MobileBroadbandDeviceOff | 2 | The operation could not begin because the mobile broadband device is turned off. |\n| NetworkLimitedConnectivity | 8 | The operation did not complete because of limited network connectivity. |\n| OperationInProgress | 6 | The operation is still in progress. |\n| Success | 0 | The operation completed successfully. |\n| Unknown | 1 | The status of the operation is unknown. |\n| WiFiDeviceOff | 3 | The operation could not begin because the Wifi device is turned off. |\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "xzqhotspot", "package_url": "https://pypi.org/project/xzqhotspot/", "platform": "", "project_url": "https://pypi.org/project/xzqhotspot/", "project_urls": null, "release_url": "https://pypi.org/project/xzqhotspot/3.1.0/", "requires_dist": [ "winrt", "pythonnet", "pywifi" ], "requires_python": ">=3.7", "summary": "Mobile Hotspot Manager for Win10", "version": "3.1.0" }, "last_serial": 5977397, "releases": { "3.0.4": [ { "comment_text": "", "digests": { "md5": "98a62a52e78aa50e09bb9d07ce4faf46", "sha256": "c311be20c936da6d22433f54b84ba31f7d7051575ffb5d5502c2b5f2cea103af" }, "downloads": -1, "filename": "xzqhotspot-3.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "98a62a52e78aa50e09bb9d07ce4faf46", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 3452, "upload_time": "2019-10-14T12:34:18", "url": "https://files.pythonhosted.org/packages/27/6f/31a1fbc1b3db8ffc913c1b9850b92a23d4a88b9abff2823f6ca670b234d8/xzqhotspot-3.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "046e47902f9ee3882283b55b1162f64a", "sha256": "e3224132868646e0c7e4fcd5a6b528e49d86a6f5e1fb2009e214731a20f20333" }, "downloads": -1, "filename": "xzqhotspot-3.0.4.tar.gz", "has_sig": false, "md5_digest": "046e47902f9ee3882283b55b1162f64a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 3207, "upload_time": "2019-10-14T12:34:20", "url": "https://files.pythonhosted.org/packages/4b/fd/105466b35280c0c97cd5490d7ccd03ad6622400c8810df8346638937581b/xzqhotspot-3.0.4.tar.gz" } ], "3.0.5": [ { "comment_text": "", "digests": { "md5": "04775d1d49c1784ccc9bae67da9b0cb1", "sha256": "d5f53d497aea17e134afb106f1a471a6c729421fd46be3d08f4e525a71aae4ec" }, "downloads": -1, "filename": "xzqhotspot-3.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "04775d1d49c1784ccc9bae67da9b0cb1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 2877, "upload_time": "2019-10-15T13:35:07", "url": "https://files.pythonhosted.org/packages/35/ef/1d4555b6cc2286269462ccac419ca167cf9d346d36fcb6f4973b4b0dae0a/xzqhotspot-3.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "36b9dd3f6068ec6d64ce7c38ab6d90af", "sha256": "ee0d5ccb0041eeb5beaac6b106217df1920a008f3574c72a609ae46772612b00" }, "downloads": -1, "filename": "xzqhotspot-3.0.5.tar.gz", "has_sig": false, "md5_digest": "36b9dd3f6068ec6d64ce7c38ab6d90af", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 2654, "upload_time": "2019-10-15T13:35:09", "url": "https://files.pythonhosted.org/packages/eb/2f/0d8d9225e43b57e71729125a3254cf9346dfe75a0b53a506104e2ca31bd0/xzqhotspot-3.0.5.tar.gz" } ], "3.1.0": [ { "comment_text": "", "digests": { "md5": "d142c1ceece5c0f75c97f6f264c043ed", "sha256": "d308a60b48aef504913b9bc6db59d7ee4cb8538c6836e259c6653f837943e49c" }, "downloads": -1, "filename": "xzqhotspot-3.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d142c1ceece5c0f75c97f6f264c043ed", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 2870, "upload_time": "2019-10-15T13:36:56", "url": "https://files.pythonhosted.org/packages/1b/aa/5a727e4ecb584d6af7ca06ca3988695991dc426e537d7576e9945ebc048c/xzqhotspot-3.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "106459fef231489b8a0c96c2fe64f002", "sha256": "1feb1e08ff80e674368e9cc3237511128874c8cb986959f93c001e599787d225" }, "downloads": -1, "filename": "xzqhotspot-3.1.0.tar.gz", "has_sig": false, "md5_digest": "106459fef231489b8a0c96c2fe64f002", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 2639, "upload_time": "2019-10-15T13:36:58", "url": "https://files.pythonhosted.org/packages/5a/03/7730b3ef3d290f918be05eedffcc5da96d9dbadd8527680a6e999ef5b433/xzqhotspot-3.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d142c1ceece5c0f75c97f6f264c043ed", "sha256": "d308a60b48aef504913b9bc6db59d7ee4cb8538c6836e259c6653f837943e49c" }, "downloads": -1, "filename": "xzqhotspot-3.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d142c1ceece5c0f75c97f6f264c043ed", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7", "size": 2870, "upload_time": "2019-10-15T13:36:56", "url": "https://files.pythonhosted.org/packages/1b/aa/5a727e4ecb584d6af7ca06ca3988695991dc426e537d7576e9945ebc048c/xzqhotspot-3.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "106459fef231489b8a0c96c2fe64f002", "sha256": "1feb1e08ff80e674368e9cc3237511128874c8cb986959f93c001e599787d225" }, "downloads": -1, "filename": "xzqhotspot-3.1.0.tar.gz", "has_sig": false, "md5_digest": "106459fef231489b8a0c96c2fe64f002", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 2639, "upload_time": "2019-10-15T13:36:58", "url": "https://files.pythonhosted.org/packages/5a/03/7730b3ef3d290f918be05eedffcc5da96d9dbadd8527680a6e999ef5b433/xzqhotspot-3.1.0.tar.gz" } ] }