{"id":20246748,"url":"https://github.com/idrsdev/cn_project","last_synced_at":"2025-08-28T04:34:18.071Z","repository":{"id":109380547,"uuid":"267852818","full_name":"idrsdev/CN_Project","owner":"idrsdev","description":"python virtual multi Server downloader where a number of virtual servers are created and a file is downloaded simultaneously from all of them. ☆ : pull request is welcomed","archived":false,"fork":false,"pushed_at":"2020-11-07T09:02:19.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T15:47:39.648Z","etag":null,"topics":["python","tcp-ip"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idrsdev.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}},"created_at":"2020-05-29T12:30:43.000Z","updated_at":"2022-09-08T11:04:48.000Z","dependencies_parsed_at":"2023-04-09T21:46:13.626Z","dependency_job_id":null,"html_url":"https://github.com/idrsdev/CN_Project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/idrsdev/CN_Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idrsdev%2FCN_Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idrsdev%2FCN_Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idrsdev%2FCN_Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idrsdev%2FCN_Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idrsdev","download_url":"https://codeload.github.com/idrsdev/CN_Project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idrsdev%2FCN_Project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272438833,"owners_count":24935265,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["python","tcp-ip"],"created_at":"2024-11-14T09:32:50.423Z","updated_at":"2025-08-28T04:34:18.055Z","avatar_url":"https://github.com/idrsdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CN_Project\nGroup Members:\n[Bilal Waheed](https://github.com/bilalwaheed099/)\n[Malik Idrees](https://github.com/Malik-Idrees/)\n\npython virtual multiserver downloader where a number of virtual servers are created and a file is downloaded simultaneously from all of them\u003cbr/\u003e\nTo test run it store a video.mp4 file in root directory and use commands given below\u003cbr/\u003e\n-n : No of virtual servers\u003cbr/\u003e\n-p : ports on which the server will run\u003cbr/\u003e\n-i : intervals after which status is updated(Only for client though)\u003cbr/\u003e\n-f : a path to input file relative/absolute\u003cbr/\u003e\n-a : server's IP address\u003cbr/\u003e\n-o : output path where output will be stored with a file extension e.g ..\\..\\\\outputvideo.mp4 \u003cbr/\u003e\nalthough -a receives IP address but SERVER is set to work on localhost\u003cbr/\u003e\n# Run server \n```shell\npython server.py -n 4  -p 10002 10003 10004 10005 -i 2 -f video.mp4\n```\n# Run client\n```shell\npython client.py -a 192.168.1.1  -p 10002 10003 10004 10005 -i 2 -o outputvideo.mp4\n```\n# future changes that you could add\nserver crash handling and load distribution if particular server is unavailable.\nwith current setup each server that client wants to connect should be running.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidrsdev%2Fcn_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidrsdev%2Fcn_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidrsdev%2Fcn_project/lists"}