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.4.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

rc_ssl_logtools-0.0.4-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file rc_ssl_logtools-0.0.4.tar.gz.

File metadata

  • Download URL: rc_ssl_logtools-0.0.4.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for rc_ssl_logtools-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f5356285e6f0f8ff79e384257db23abaa43dc6b67ceb07807c656a7fc2b71e83
MD5 cce89a6e3c9eb78be128e34c8aabc3fe
BLAKE2b-256 bb0018b8b08227ab3b14af8a2a39f28ca289ed29aa7bdded7effa06ec8050637

See more details on using hashes here.

File details

Details for the file rc_ssl_logtools-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: rc_ssl_logtools-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for rc_ssl_logtools-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e8414b5463f8192b72cad2a7e3e2f6954dfdab6f7a86e1a96561daa829e0e3c1
MD5 fdd1588e73a0a04cf6afa6463d0dc7c5
BLAKE2b-256 83b093b74143f4dda4fa0d2881cee917523335fd63e59f95ea37608d76408a2f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page