protogen: write protoc plugins in Python

This page summarizes the projects mentioned and recommended in the original post on /r/Python

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • protogen-python

    The protogen package makes it easy to write protoc plugins in Python

  • I would like to share a Python package I have open sourced in the last couple of days: https://github.com/fischor/protogen-python

  • python-betterproto

    Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC

  • For context: in a project I was working on recently, we relied heavily on Protocol buffers. All our internal and external services expose a GRPC interface. Also the client libraries that are used by the end users rely on the Proto service interfaces. However, shipping simply the generated code that comes with the official protoc Python plugin or any other standardised Python protoc plugin (like betterproto) was not sufficient for us. We wanted certain modifications and additions to the generated client code like service clients that would automatically pick up credentials/service account files, a more Pythonic handling for requests that work with pagination or long running operations etc.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts