Skip to main content

Protcol logging tool

Project description


Tools to analyse and log data from smart metering devices

We have been copy-pasting these simple server classes onto servers when we have had the need to analyse protocol data. It was time to gather them in a git reop and make it a bit nicer to manage.

We use Pythons super simple socketserver module. The servers are for testing purpose only. We use the threading mixin to be able to process several requests at the same time.


Only python 3.6+

pip install protolog


To run a UDP logging server

protolog udp --port 4000

To know more use the --help argument

protolog --help

Usage: protolog [OPTIONS] COMMAND [ARGS]...

  CLI to run simple protocol loggers by Palmlund Wahlgren Innovative
  Technology AB

  --help  Show this message and exit.


protolog udp --help

Usage: protolog udp [OPTIONS]

  Runs a threaded UDP server that logs all datagrams it receives. It can
  alos act as an UDP echo server using the --echo flag

  -h, --host TEXT     Host to bind the server too
  -p, --port INTEGER  Port to bind the server too
  -e, --echo          If the server should echo the data back to the sender
  --help              Show this message and exit.


All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.








[0.0.1] - 2019-12-31


  • Initial project setup

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 protolog, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size protolog-0.0.1-py3-none-any.whl (5.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size protolog-0.0.1.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page