commit | 4b15cf3da2e3d4ec10961d02a25bbfbc2ac6d34a | [log] [tgz] |
---|---|---|
author | Joshua Haberman <jhaberman@gmail.com> | Tue Feb 08 00:12:51 2022 -0800 |
committer | GitHub <noreply@github.com> | Tue Feb 08 00:12:51 2022 -0800 |
tree | d532b74d6d2910d2ebed5269cead8bfd2890ea92 | |
parent | 6375267af4cfefa69e3c1063be11b9b7803bd41c [diff] | |
parent | a07ac3fafcb56a9b6c168e5a7e2e6e2a7c087e7b [diff] |
Merge pull request #499 from haberman/python-pkg Added a Bazel rule to build a binary wheel for Python
μpb (often written ‘upb’) is a small protobuf implementation written in C.
upb is the core runtime for protobuf languages extensions in Ruby, PHP, and (soon) Python.
While upb offers a C API, the C API & ABI are not stable. For this reason, upb is not generally offered as a C library for direct consumption, and there are no releases.
upb has comparable speed to protobuf C++, but is an order of magnitude smaller in code size.
Like the main protobuf implementation in C++, it supports:
upb also supports some features that C++ does not:
However there are a few features it does not support:
protoc
.For Ruby, use RubyGems:
$ gem install google-protobuf
For PHP, use PECL:
$ sudo pecl install protobuf
Please see CONTRIBUTING.md.