Library for serializing a list of protobuf objects
Project description
Library for serializing protobuf objects - Python version
This library is used for simplifying the serialization and deserialization of protocol buffer objects to/from files.
The main use-case is to save and read a large collection of objects of the same type.
Each file contains a header with the description of the protocol buffer, meaning that no compilation of .proto
description file is required before reading a pbz
file.
Installation
$ pip install --upgrade https://github.com/fabgeyer/pbzlib-py/archive/master.tar.gz
Example
Reading a pbz
file:
from pbzlib import open_pbz
for msg in open_pbz("/path/to/file.pbz"):
print(msg)
Versions in other languages
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pbzlib-0.20210128.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for pbzlib-0.20210128-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23ef445c74d44249c4a8637bed68e5f6aa6c949a2e27dbff702e8f687e90daf5 |
|
MD5 | 4d6f7804e54ba365e319911fb54897f9 |
|
BLAKE2b-256 | d7b15d239743bb98b03b350b7d7df3e755f7f140c25dd0aaa1484f4a785d841c |