Skip to main content

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


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 details)

Uploaded Source

Built Distribution

pbzlib-0.20210128-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

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

Hashes for pbzlib-0.20210128.tar.gz
Algorithm Hash digest
SHA256 001c5a92c3efc3b0b4bcf515bf1616bfa99c7f535fbd7fada609ca7fe3675ae4
MD5 497a4442a0f5bc6230c1ecbb3bbacf1b
BLAKE2b-256 3de2420546fb02e3e5471e24db28f8529bda1779808476145eae7bcd3a684aa1

See more details on using hashes here.

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

Hashes for pbzlib-0.20210128-py3-none-any.whl
Algorithm Hash digest
SHA256 23ef445c74d44249c4a8637bed68e5f6aa6c949a2e27dbff702e8f687e90daf5
MD5 4d6f7804e54ba365e319911fb54897f9
BLAKE2b-256 d7b15d239743bb98b03b350b7d7df3e755f7f140c25dd0aaa1484f4a785d841c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page