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 details)
Built Distribution
File details
Details for the file pbzlib-0.20211124.tar.gz
.
File metadata
- Download URL: pbzlib-0.20211124.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.19.5 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ef876f383773908b3060c86e9ae3ff39eb0f444890f237c14831c3123517a62 |
|
MD5 | 5389a43ad0641c081551e751b8f173fc |
|
BLAKE2b-256 | 3f68c7a45f433c0b4f4190093b227b0d3b99902d1a517a4317bbe122ca974117 |
File details
Details for the file pbzlib-0.20211124-py3-none-any.whl
.
File metadata
- Download URL: pbzlib-0.20211124-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.19.5 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5a723bcf0ce6fe446c3c0208c8a4cf8cee2133c6798120c245a28212bc39107 |
|
MD5 | acc10246e4bc7647ccb47585f749d4e9 |
|
BLAKE2b-256 | a71516a646e4c3dc5c4d9c606eca70d3dcdd3038d44349725c81e6ee02a29736 |