Upgrade to Pro — share decks privately, control downloads, hide ads and more …

connect-python: convenient protobuf RPC for Python

connect-python: convenient protobuf RPC for Python

AIにPythonが向いているのですが、Protobuf-based APIサーバーを作ろうと思ったら、不具合が多いgrpc-pythonしか選択肢がなかった。他のCNCFプロジェクトであるconnectなら開発体験に優れていますがPythonバージョンがなかった。そこで今年connect-pythonがついにalpha releaseされて、Protobuf-based APIサーバーをより作りやすくなりました。Frameworkの概要を紹介もして、日本のpersonal projectから始まったのがAmerica-based Connect Organizationの公式リリースに採用されたまでの敬意も説明します。Pythonの開発者にとって楽になったところだけではなくて、日本人もOSSに積極的に参加したらグローバルインパクトを持てることを紹介したいと思います。

Avatar for Anuraag Agrawal

Anuraag Agrawal

November 24, 2025
Tweet

More Decks by Anuraag Agrawal

Other Decks in Programming

Transcript

  1. Actually I use Go instead of Python • Bad package

    management uv is here! • Underwhelming protobuf RPC ◦ gRPC, especially grpc-python, has issues…
  2. Connect • Like gRPC but without HTTP/2 trailers ◦ HTTP/1

    works fine • Compatible with gRPC libraries too • Ecosystem-friendly libraries ◦ Can serve non-RPC on the same server
  3. connect-python is here • Just a normal ASGI (or WSGI)

    application • Runs with uvicorn, gunicorn, pyvoy, etc • Fine to stick to HTTP/1 • gRPC compatibility WIP
  4. Open Source Development • Work, not inaction, is rewarded •

    Can have global impact from Japan OSSで実装せよ!