{"id":24764311,"url":"https://github.com/liut/grpc-retry-py","last_synced_at":"2025-10-11T13:30:29.800Z","repository":{"id":138763914,"uuid":"90853634","full_name":"liut/grpc-retry-py","owner":"liut","description":"Retry call of gRPC stub","archived":false,"fork":false,"pushed_at":"2017-05-10T10:49:02.000Z","size":4,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T15:50:53.594Z","etag":null,"topics":["golang","grpc","python"],"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/liut.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":"2017-05-10T10:48:26.000Z","updated_at":"2021-07-28T07:36:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"b75c5c57-239c-4aac-8e58-de522134a287","html_url":"https://github.com/liut/grpc-retry-py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/liut/grpc-retry-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liut%2Fgrpc-retry-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liut%2Fgrpc-retry-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liut%2Fgrpc-retry-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liut%2Fgrpc-retry-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liut","download_url":"https://codeload.github.com/liut/grpc-retry-py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liut%2Fgrpc-retry-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007341,"owners_count":26084282,"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-10-11T02:00:06.511Z","response_time":55,"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":["golang","grpc","python"],"created_at":"2025-01-28T21:47:20.823Z","updated_at":"2025-10-11T13:30:29.794Z","avatar_url":"https://github.com/liut.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Retry call of gRPC stub\n\nThe implement of code inspiration from [google-cloud-python#2583](https://github.com/GoogleCloudPlatform/google-cloud-python/issues/2583)\n\nTested OK with `grpcio==1.3.0`\n\n\n```py\nfrom grpc_retry import retrying_stub_methods\n\nchannel = grpc.insecure_channel('localhost:50051')\nstub = helloworld_pb2_grpc.GreeterStub(channel)\n\n# os.setenv('GRPC_RETRY_UNAVAILABLE', 5)\n# os.setenv('GRPC_RETRY_DEADLINE_EXCEEDED', 4)\nretrying_stub_methods(stub)\n\nresponse = stub.SayHello(helloworld_pb2.HelloRequest(name='you'))\nprint(\"Greeter client received: \" + response.message)\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliut%2Fgrpc-retry-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliut%2Fgrpc-retry-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliut%2Fgrpc-retry-py/lists"}