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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pbzlib-0.20210128.tar.gz.
File metadata
- Download URL: pbzlib-0.20210128.tar.gz
- Upload date:
- Size: 3.7 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 |
001c5a92c3efc3b0b4bcf515bf1616bfa99c7f535fbd7fada609ca7fe3675ae4
|
|
| MD5 |
497a4442a0f5bc6230c1ecbb3bbacf1b
|
|
| BLAKE2b-256 |
3de2420546fb02e3e5471e24db28f8529bda1779808476145eae7bcd3a684aa1
|
File details
Details for the file pbzlib-0.20210128-py3-none-any.whl.
File metadata
- Download URL: pbzlib-0.20210128-py3-none-any.whl
- Upload date:
- Size: 5.5 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 |
23ef445c74d44249c4a8637bed68e5f6aa6c949a2e27dbff702e8f687e90daf5
|
|
| MD5 |
4d6f7804e54ba365e319911fb54897f9
|
|
| BLAKE2b-256 |
d7b15d239743bb98b03b350b7d7df3e755f7f140c25dd0aaa1484f4a785d841c
|