Skip to main content

Python wrapper around procolog2msgpack, to convert rock-log- to msgpack-files

Project description


Python wrapper around the docker container of rock-core/tools-pocolog2msgpack

Table of content


This project provides a python interface for the pocolog2msgpack tool, to convert Rock's pocolog format to MessagePack.


dependencies version
python 3.5+
docker 19.03+

getting started

  1. Install package from pip
    $ pip install pocolog2msgpack
  2. Write own converter
    from pocolog2msgpack import Converter
    base_path = "data/"
    conv = Converter(base_path=base_path)
    1. convert batch of files
      • convert all log-files in data/log/
      • resulting msg-files in same sub-dir, but under data/msg
      log_path = f"{base_path}/log/"
    2. convert single file
      • convert file data/log/poco.log
      • resulting msg-file in data/msg/poco.msg
      from pocolog2msgpack import X2YFile
      file = X2YFile(
      	log_2_msg_file = file,

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pocolog2msgpack, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pocolog2msgpack-0.1.2-py3-none-any.whl (10.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pocolog2msgpack-0.1.2.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page