Skip to main content

protolog

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.

Install

Only python 3.6+

pip install protolog

UDP

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

Options:
  --help  Show this message and exit.

Commands:
  udp

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

Options:
  -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.

Changelog

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.

[Unreleased]

Added

Changed

Deprecated

Removed

Fixed

Security

[0.0.1] - 2019-12-31

Added

  • Initial project setup

Metadata

Release files for protolog 24.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for protolog 24.1.0
File Size Uploaded
protolog-24.1.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for protolog 24.1.0
File Interpreter ABI Platform
protolog-24.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / protolog-24.1.0.tar.gz

Download URL protolog-24.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c8ab687c7d2024e612c4cfffabe30630af977ff60b65214024c1c119a15fbee9
BLAKE2b-256 checksum
How to use checksums
694e5ea227955e5ddc2cab8917dbdb6d26524235004c37dbfaa35b5dcc39c875
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.4

Release files / protolog-24.1.0-py3-none-any.whl

Download URL protolog-24.1.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2a55d6fd7fbe79e882d9a63f971bcd948284a0e9cacfd7868517f78681c4599
BLAKE2b-256 checksum
How to use checksums
5afc537636decf70814a43cd52bcde86439d49c3c1ad7d1b53cad99581f76d50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

24.1.0 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page