{"id":17384407,"url":"https://github.com/jakubriegel/netcalc","last_synced_at":"2025-03-27T21:18:18.977Z","repository":{"id":117762074,"uuid":"156443894","full_name":"jakubriegel/netcalc","owner":"jakubriegel","description":"A connective binary protocol for sending calculations with sample server-client app. This is a project for our studies","archived":false,"fork":false,"pushed_at":"2020-01-14T09:26:35.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T23:41:52.999Z","etag":null,"topics":["binary-protocol","protocol","python","socket","tcp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jakubriegel.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-11-06T20:32:47.000Z","updated_at":"2020-01-14T09:26:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"b921195e-95cb-4c95-be25-e0dedf34ed55","html_url":"https://github.com/jakubriegel/netcalc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakubriegel%2Fnetcalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakubriegel%2Fnetcalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakubriegel%2Fnetcalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakubriegel%2Fnetcalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakubriegel","download_url":"https://codeload.github.com/jakubriegel/netcalc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245924500,"owners_count":20694731,"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":["binary-protocol","protocol","python","socket","tcp"],"created_at":"2024-10-16T07:45:24.032Z","updated_at":"2025-03-27T21:18:18.954Z","avatar_url":"https://github.com/jakubriegel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# netcalc\nA connective binary protocol for sending calculations with sample server-client app. This is a project for our studies.\n\n## datagram structure\nEach datagram size is 248 bits (31 bytes)\n\ndata | bits | type\n-----|------|-----\noperation | 2 | uint\nnumber a | 64 | IEEE-754\nnumber b | 64 | IEEE-754\nstatus | 2 | uint\nsession id | 16 | uint\nmode | 3 | uint\nresult | 64 | IEEE-754\nresult id | 32 | uint\nlast flag | 1 | boolean\n\n## build\n \u003e It is recommended to build and run this script in virtual environment. Instructions for configuring it can be found in official Python [documentation](https://docs.python-guide.org/dev/virtualenvs/#lower-level-virtualenv).\n\nTo get all dependencies type: `pip install -r requirements.txt`.\n\nAfter making changes in dependencies remember to do: `pip freeze \u003e requirements.txt`\n\n\n## run\nTo run as server type: `python netcalc_server.py server_ip server_port` \u003cbr\u003e\nTo run as client type: `python netcalc_client.py server_ip server_port`\n\nIf flags `server_ip` ale `server_port` are not supplied, the values used are respectively `127.0.0.1`(localhost) and `1500`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakubriegel%2Fnetcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakubriegel%2Fnetcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakubriegel%2Fnetcalc/lists"}