Skip to main content

Tools to convert SSL logs to usable Python formats

Project description

RoboCup Small Size League Python Log Tools

This package supports a minimal interface to parse and analyze log files generated by the RoboCup Small Size League.

Installation

rc-ssl-logtools is on the PyPi package index. It can be installed by simply running the below command.

pip3 install rc-ssl-logtools

Use

rc-ssl-logtools comes with a simple script to verify that the system is working. Download a log from http://wiki.robocup.org/Small_Size_League/Game_Logs, and run the below command. It will print all messages from time 0.0 seconds to 10.0 seconds.

ssldump -s 0.0 -d 10.0 <rc_ssl_logfile.gz>

rc-ssl-logtools allows python scripts to programmatically access these protobuf messages as well. This is how the ssldump script is implemented.

#!/usr/bin/env python3

import rc_ssl_logtools

frames = rc_ssl_logtools.log_frames(args.file, args.start_time, args.duration)

for f in frames:
    print(f)

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

rc_ssl_logtools-0.0.3.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distribution

rc_ssl_logtools-0.0.3-py3-none-any.whl (13.8 kB view hashes)

Uploaded Python 3

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