Metadata-Version: 2.1
Name: protolog
Version: 24.1.0
Summary: Protcol logging tool
Home-page: https://github.com/pwitab/protolog
Author: Henrik Palmlund Wahlgren @ Palmlund Wahlgren Innovative Technology AB
Author-email: henrik@pwit.se
License: BSD-3
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# 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](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added 
### Changed
### Deprecated
### Removed
### Fixed
### Security

## [0.0.1] - 2019-12-31

### Added
- Initial project setup
