{"id":15699057,"url":"https://github.com/pgilad/grpc-python-demo","last_synced_at":"2026-04-25T11:35:08.076Z","repository":{"id":44199166,"uuid":"192566291","full_name":"pgilad/grpc-python-demo","owner":"pgilad","description":"A minimal client-server gRPC example for finding Levenshtein distance between words","archived":false,"fork":false,"pushed_at":"2023-07-05T20:57:45.000Z","size":44,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T22:41:56.457Z","etag":null,"topics":["demo","grpc","levenshtein-distance","pipenv","protobuf","python3"],"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/pgilad.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":"2019-06-18T15:22:50.000Z","updated_at":"2019-06-23T16:55:28.000Z","dependencies_parsed_at":"2024-10-24T05:41:08.749Z","dependency_job_id":null,"html_url":"https://github.com/pgilad/grpc-python-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pgilad/grpc-python-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgrpc-python-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgrpc-python-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgrpc-python-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgrpc-python-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgilad","download_url":"https://codeload.github.com/pgilad/grpc-python-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgilad%2Fgrpc-python-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32261117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","levenshtein-distance","pipenv","protobuf","python3"],"created_at":"2024-10-03T19:37:50.599Z","updated_at":"2026-04-25T11:35:08.060Z","avatar_url":"https://github.com/pgilad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grpc-python-demo\n\u003e A minimal client-server gRPC example for finding Levenshtein distance between words\n\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)\n[![Build Status](https://travis-ci.org/pgilad/grpc-python-demo.svg?branch=master)](https://travis-ci.org/pgilad/grpc-python-demo)\n\nThis is a minimal playable demo I did in order to learn gRPC. It involves a server with\na single entry RPC for calculating the Levenshtein distance between 2 words.\n\nThis demo includes a server and a client. The server is long-living (until stopped) and the\nclient runs several pre-defined RPC calls with different words.\n\n[![asciicast](https://asciinema.org/a/l65iY1aDzDgfqXkSscaMaWC6B.svg)](https://asciinema.org/a/l65iY1aDzDgfqXkSscaMaWC6B)\n\n## Requirements\n\n- `python 3.7`\n- `pipenv`\n- `make`\n\n## Install\n\n```bash\n$ git clone https://github.com/pgilad/grpc-python-demo.git\n$ cd grpc-python-demo\n\n# install dependencies\n$ pipenv install --dev\n\n# generate client stubs\n$ make clean build\n\n# start server\n$ pipenv run python3 server.py\n\n# start client\n$ pipenv run python3 client.py\n```\n\n## Development\n\nRun all required tasks:\n\n`$ make clean lint fmt build`\n\n## License\n\nMIT © [Gilad Peleg](https://www.giladpeleg.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgilad%2Fgrpc-python-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgilad%2Fgrpc-python-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgilad%2Fgrpc-python-demo/lists"}