{"id":16497216,"url":"https://github.com/guillaumefalourd/poc-grpc-python","last_synced_at":"2026-05-14T19:05:24.803Z","repository":{"id":103343047,"uuid":"344925083","full_name":"GuillaumeFalourd/poc-grpc-python","owner":"GuillaumeFalourd","description":"POC of a gRPC project in Python 🐍","archived":false,"fork":false,"pushed_at":"2021-08-03T14:49:22.000Z","size":744,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T14:41:21.958Z","etag":null,"topics":["demo","grpc","message","python"],"latest_commit_sha":null,"homepage":"https://grpc.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GuillaumeFalourd.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":"2021-03-05T20:21:59.000Z","updated_at":"2021-08-03T14:49:25.000Z","dependencies_parsed_at":"2023-07-07T18:45:10.431Z","dependency_job_id":null,"html_url":"https://github.com/GuillaumeFalourd/poc-grpc-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GuillaumeFalourd/poc-grpc-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fpoc-grpc-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fpoc-grpc-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fpoc-grpc-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fpoc-grpc-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuillaumeFalourd","download_url":"https://codeload.github.com/GuillaumeFalourd/poc-grpc-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fpoc-grpc-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33039257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["demo","grpc","message","python"],"created_at":"2024-10-11T14:38:46.987Z","updated_at":"2026-05-14T19:05:24.788Z","avatar_url":"https://github.com/GuillaumeFalourd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gRPC (Google Remote Procedure Call) Python\n\n[This code's has been inspired from from the grpc.io site.](https://grpc.io/docs/languages/python/quickstart)\n\n## Run\n\n### Message\n\n#### Message Execution\n\nFrom the `message` directory:\n\nRun the server:\n\n```bash\npython3 message_server.py\n```\n\nFrom another terminal window, run the client:\n\n```bash\npython3 message_client.py\n```\n\n### Ritchie\n\n#### Ritchie Premisse\n\n- [Ritchie CLI](https://docs.ritchiecli.io/getting-started/install-cli) installed locally\n- ritchie-formulas-demo Github repository imported:\n\n```bash\nrit add repo --provider=\"Github\" --name=\"demo\" --repoUrl=\"https://github.com/ZupIT/ritchie-formulas-demo\" --priority=1\n```\n\n#### Ritchie Execution\n\nFrom the `python/ritchie` directory:\n\nRun the server:\n\n```bash\npython3 ritchie_server.py\n```\n\nFrom another terminal window, run the client:\n\n```bash\npython3 ritchie_client.py\n```\n\n## Demo\n\n### Message Sample\n\n#### Message inputs and response (client)\n\n![Client](/docs/img/message_client.png)\n\n#### Logs from message server\n\n![Server](/docs/img/message_server.png)\n\n### Ritchie Sample\n\n#### Ritchie inputs and response (client)\n\n![Client](/docs/img/ritchie_client.png)\n\n#### Logs from ritchie server\n\n![Server](/docs/img/ritchie_server.png)\n\n## Update\n\n### Message RPC code\n\nUpdating the `/protos/message.proto` file, we need to update the gRPC code used by our application to use the new service definition.\n\nFrom the `message` directory, run:\n\n```bash\npython3 -m grpc_tools.protoc -I../protos --python_out=. --grpc_python_out=. ../protos/message.proto\n```\n\n### Ritchie RPC code\n\nUpdating the `/protos/ritchie.proto` file, we need to update the gRPC code used by our application to use the new service definition.\n\nFrom the `ritchie` directory, run:\n\n```bash\npython3 -m grpc_tools.protoc -I../protos --python_out=. --grpc_python_out=. ../protos/ritchie.proto\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaumefalourd%2Fpoc-grpc-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguillaumefalourd%2Fpoc-grpc-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaumefalourd%2Fpoc-grpc-python/lists"}