{"id":23151370,"url":"https://github.com/husseinfo/gomplex","last_synced_at":"2025-07-26T17:09:05.215Z","repository":{"id":89966548,"uuid":"196605434","full_name":"Husseinfo/gomplex","owner":"Husseinfo","description":null,"archived":false,"fork":false,"pushed_at":"2019-07-12T15:50:12.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-04T15:15:17.297Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/Husseinfo.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":"2019-07-12T15:44:28.000Z","updated_at":"2019-07-12T15:50:14.000Z","dependencies_parsed_at":"2023-03-05T12:30:34.960Z","dependency_job_id":null,"html_url":"https://github.com/Husseinfo/gomplex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Husseinfo/gomplex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Husseinfo%2Fgomplex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Husseinfo%2Fgomplex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Husseinfo%2Fgomplex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Husseinfo%2Fgomplex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Husseinfo","download_url":"https://codeload.github.com/Husseinfo/gomplex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Husseinfo%2Fgomplex/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264021483,"owners_count":23545512,"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":"2024-12-17T18:32:54.186Z","updated_at":"2025-07-07T05:38:03.903Z","avatar_url":"https://github.com/Husseinfo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gomplex\n\n**Performs math operations on complex numbers**\n\n## gRPC service\n### Install protoc\n`$ go get -u github.com/golang/protobuf/protoc-gen-go`\n\n### Generate gRPC code in GO\n`protoc -I service service/complex.proto --go_out=plugins=grpc:service`\n\n### Build \u0026 run\n`$ go build app/`\n\n`$ ./app`\n\n### Docker\nVia docker cli\n`$ docker run gomplex`\n\nVia docker compose `$ docker-compose up`\n\n\n### Kubernetes\n\n## Clients\n\n### Go client\n#### Checking complex number type\n`$ go run clients/client.go`\n```\nReal part: 2\nImaginary part: -1\nType of \n{\n        Real:    2.00 \n        Imaginary:       -1.00\n}\nis Complex\n```\n\n### Python client\n\n#### Installation\n##### Install requirements\n`$ pip3 install -r requirements.txt`\n\n##### Generate gRPC code\n`$ python3 -m grpc_tools.protoc -Iservice --python_out=clients/ --grpc_python_out=clients/ service/service.proto`\n\n#### Running example\n`$ python3 clients/client.py --number 1+j --number 2-3j`\n`$ python3 clients/client.py  --number 2-j --number=-1-4j --subtraction`\n\n\n## TO-DO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhusseinfo%2Fgomplex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhusseinfo%2Fgomplex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhusseinfo%2Fgomplex/lists"}