Protobuf-py: Protobuf for Python, without compromises
Protobuf-py:毫不妥协的Python Protobuf
HN Points: 97 / 25 comments | Author: ming13 | HN Discussion: item?id=48827058 | Source: buf.build
Original Article
Today we’re announcing protobuf-py , a Protocol Buffers library for Python written completely from scratch. It passes every binary and JSON case in the Protobuf conformance suite across proto2, proto3, and editions, and it supports extensions, custom options, unknown fields, dynamic messages, and well-known types. It generates readable, typed Python, has no runtime dependencies, and runs on pure Python 3.10+. With its Rust accelerator installed, it’s just as fast for production workloads as upb , the C engine Google’s Python package runs on.
⋯ 继续阅读请登录会员 ⋯