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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for rc_ssl_logtools-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8414b5463f8192b72cad2a7e3e2f6954dfdab6f7a86e1a96561daa829e0e3c1 |
|
MD5 | fdd1588e73a0a04cf6afa6463d0dc7c5 |
|
BLAKE2b-256 | 83b093b74143f4dda4fa0d2881cee917523335fd63e59f95ea37608d76408a2f |