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 of the latest stable version
$ pip install --upgrade pbzlib
Installation from source
$ 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.20211124.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for pbzlib-0.20211124-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5a723bcf0ce6fe446c3c0208c8a4cf8cee2133c6798120c245a28212bc39107 |
|
MD5 | acc10246e4bc7647ccb47585f749d4e9 |
|
BLAKE2b-256 | a71516a646e4c3dc5c4d9c606eca70d3dcdd3038d44349725c81e6ee02a29736 |