Skip to main content

Webots Web Log Interface

A python library used to interact with webots robocup game web logs

Installation

pip3 install webots-web-log-interface

Documentation

You can find the interface documentation here.

Examples

Download example data

mkdir data
cd data
wget https://games.bit-bots.de/k-ko-sf2/K-KO-SF2.json
wget https://games.bit-bots.de/k-ko-sf2/K-KO-SF2.x3d
cd ..

Now you are able to use the interface

from webots_web_log_interface.interface import WebotsGameLogParser

gp = WebotsGameLogParser(log_folder="data")

# Now some examples
# Get ball
ball = gp.x3d.get_ball_id()
# Get velocities for ball
print(gp.game_data.get_velocity_vectors_for_id(ball))
# Get player names
print(gp.x3d.get_player_names())
# Plot player paths
gp.plot_player_paths()

Build it yourself

git clone https://github.com/bit-bots/webots-web-log-interface.git
cd webots-web-log-interface

poetry install
poetry shell

Metadata

Release files for webots-web-log-interface 0.2.5

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

Source distribution (sdist)

Source distribution for webots-web-log-interface 0.2.5
File Size Uploaded Provenance Actions
webots-web-log-interface-0.2.5.tar.gz 5.3 kB Without provenance Details for webots-web-log-interface-0.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for webots-web-log-interface 0.2.5
File Interpreter ABI Platform Actions
webots_web_log_interface-0.2.5-py3-none-any.whl Python 3 none any Details for webots_web_log_interface-0.2.5-py3-none-any.whl

Total release size: 10.8 kB

Release files / webots-web-log-interface-0.2.5.tar.gz

Download URL webots-web-log-interface-0.2.5.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7273b3886f3db8941285eb11c582f09cd378bd342e6290c1ac6c1f6b04e825ee
BLAKE2b-256 checksum
How to use checksums
69677841c0cf5d09ac170adb94abf74c78306b79c01406fd7d1e3ceeb78e4965
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.10 CPython/3.9.7 Linux/5.14.14-arch1-1

Release files / webots_web_log_interface-0.2.5-py3-none-any.whl

Download URL webots_web_log_interface-0.2.5-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b5d4711f9779a3cfff684283514202c083c62bab67438d7753aaef2e8691239
BLAKE2b-256 checksum
How to use checksums
3fa36c52c1f76ae6ad65d1e2c04d091bedb3bd147c3305f6674050ebbb633606
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.10 CPython/3.9.7 Linux/5.14.14-arch1-1

Security for webots-web-log-interface 0.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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