Skip to main content

A CLI tool to parse and report Monaco 2018 F1 qualification results.

Project description

Monaco Racing (CLI Tool)

A lightweight CLI tool to parse, calculate, and report Monaco 2018 Formula 1 qualification results (Q1 stage) from raw log files.

Features

  • Log Parsing: Processes fictional timestamps from start.log and end.log matching them with abbreviations.txt.
  • Lap Time Calculation: Computes precise lap times for each racer.
  • Smart Sorting: Orders racers from fastest to slowest (or vice versa).
  • F1 Q1 Rule Compliance: Automatically draws an underline after the 15th position to separate eliminated drivers.
  • Driver Lookup: Instantly find statistics for a specific driver by name.

Installation

You can install the package from PyPI using either uv or pip.

Using uv (Recommended)

Installs the tool globally in an isolated environment:

uv tool install monaco-racing
pip install monaco-racing

Usage

  1. Standard Report (Ascending order) Prints the full list of drivers from fastest to slowest (top 15 are separated by an underline):
monaco-report --files "path/to/data/folder"
  1. Reversed Report (Descending order) Prints the full list of drivers from slowest to fastest:
monaco-report --files "path/to/data/folder" --desc
  1. Search for a Specific Driver Shows statistics only for the specified driver:
monaco-report --files "path/to/data/folder" --driver "Sebastian Vettel"
  1. Help Menu To see all available CLI arguments and options:
monaco-report --help

Documentation

Technical specifications and design decisions are documented separately in the RFC.md file.

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

monaco_racing-0.1.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

monaco_racing-0.1.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file monaco_racing-0.1.1.tar.gz.

File metadata

  • Download URL: monaco_racing-0.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for monaco_racing-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3d2e41b65a245190a5575473f7e5d5b8c3f8f939ba10bc9e0e220989f7dd920b
MD5 645632999a85ffc0e598e21ebcd5fa83
BLAKE2b-256 d836366a5589487522964fe15c205865c8250deb5992a23cd65ca6963ffdcb0e

See more details on using hashes here.

File details

Details for the file monaco_racing-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: monaco_racing-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for monaco_racing-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b6a8ae79bc17f049082d1a1f5eae2319076cf2b21eb18987d3ca1ff0af9682b
MD5 1bb9cc90ded5c01e7a512e8b2e54d3fa
BLAKE2b-256 23c17181c217eecdfc3a0fb852fc70891a46da9d0703e9e68cffc4954e4d8dd9

See more details on using hashes here.

Supported by

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