Protarrow
Protarrow is a python library for converting from Protocol Buffers to Apache Arrow and back.
It is used at Tradewell Technologies, to share data between transactional and analytical applications, with little boilerplate code and zero data loss.
Installation
pip install protarrow
Usage
Taking a simple protobuf:
message MyProto {
string name = 1;
int32 id = 2;
repeated int32 values = 3;
}
It can be converted to a pyarrow.Table:
import protarrow
my_protos = [
MyProto(name="foo", id=1, values=[1, 2, 4]),
MyProto(name="bar", id=2, values=[3, 4, 5]),
]
table = protarrow.messages_to_table(my_protos, MyProto)
| name | id | values |
|---|---|---|
| foo | 1 | [1 2 4] |
| bar | 2 | [3 4 5] |
And the table can be converted back to proto:
protos_from_table = protarrow.table_to_messages(table, MyProto)
See the documentation
Metadata
Release files for protarrow 0.16.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| protarrow-0.16.0.tar.gz | 4.8 MB | With provenance | Details for protarrow-0.16.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| protarrow-0.16.0-py3-none-any.whl | Python 3 | none | any | Details for protarrow-0.16.0-py3-none-any.whl |
Total release size: 4.8 MB
Release files / protarrow-0.16.0.tar.gz
| Download URL | protarrow-0.16.0.tar.gz |
|---|---|
| Size | 4.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d49ea390018f8c06f2f57cd45c0691658ba08930976d8f63a27cd85e1d187d6
|
|
BLAKE2b-256 checksum How to use checksums |
69b6cee6a10990ffd82d801bd329ae398078e9649eb93d5eff8f5b834c0c9acc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 28, 2026.
Transparency logRelease files / protarrow-0.16.0-py3-none-any.whl
| Download URL | protarrow-0.16.0-py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b620a25fee9c939b388dfc9ee446d01b2c711f5be0c7a59a26c7ae74c8a9714
|
|
BLAKE2b-256 checksum How to use checksums |
cdc30a4fb1be64d4b36cb7784c9d8daf856ea1851d6bcd562f2194e77f6513fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 28, 2026.
Transparency logSecurity for protarrow 0.16.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for protarrow-0.16.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.