{"id":24084368,"url":"https://github.com/4trodev/python-wifi-speed-test","last_synced_at":"2025-06-14T04:06:09.504Z","repository":{"id":154780898,"uuid":"432574126","full_name":"4troDev/Python-Wifi-Speed-test","owner":"4troDev","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-27T23:14:48.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T04:05:27.126Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/4troDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-11-27T23:12:28.000Z","updated_at":"2021-11-27T23:14:50.000Z","dependencies_parsed_at":"2023-05-28T21:30:27.326Z","dependency_job_id":null,"html_url":"https://github.com/4troDev/Python-Wifi-Speed-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/4troDev/Python-Wifi-Speed-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4troDev%2FPython-Wifi-Speed-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4troDev%2FPython-Wifi-Speed-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4troDev%2FPython-Wifi-Speed-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4troDev%2FPython-Wifi-Speed-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4troDev","download_url":"https://codeload.github.com/4troDev/Python-Wifi-Speed-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4troDev%2FPython-Wifi-Speed-test/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259756872,"owners_count":22906678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-10T00:21:08.316Z","updated_at":"2025-06-14T04:06:09.496Z","avatar_url":"https://github.com/4troDev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![MIT License](https://img.shields.io/apm/l/atomic-design-ui.svg?)](https://github.com/tterb/atomic-design-ui/blob/master/LICENSEs)\n\n\n# Test Internet Connection Speed Using Python\n\n\n## Running Script\n\nTo run Script, run the following command\n\n```bash\n  Python Main.py\n```\n\n\n### Installation\ninstall the required library into our computer. Just run this code in your terminal or command line.\n\n```\n  pip install speedtest-cli\n```\n ## Script   \n\n```\nimport speedtest\nspeed = speedtest.Speedtest()\n```\n\n```\ndef main():\n    while True:\n        print('\\a')\n        choice=int(input(\"\"\"Check Your Connection Speed\n    1) Download Speed\n    2) Upload Speed\n    3) Exit\nChoice (1/2/3): \"\"\"))\n        print('\\a')\n...\nif __name__ == '__main__':\n  main()\n  ```\n\n```\nif choice==1:\n            print('Counting...')\n            print(f\"Download speed: {'{:.2f}'.format(speed.download()/1024/1024)} Mb/s\")\n        elif choice==2:\n            print('Counting...')\n            print(f\"Upload speed: {'{:.2f}'.format(speed.upload()/1024/1024)} Mb/s\")\n        elif choice==3:\n            print('Exiting the program')\n            quit()\n        else:\n            print(\"Please choose the correct options\")\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4trodev%2Fpython-wifi-speed-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4trodev%2Fpython-wifi-speed-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4trodev%2Fpython-wifi-speed-test/lists"}