Skip to main content

Race report package

Project description

monacoreport

Package for displaying the rating of racers.

Installation

Use the package manager pip to install countonlyonechar.

pip install monacoreport

Usage

from monacoreport import build_report, print_report

valid_result, invalid_result = build_report('folder_path')
print_report(valid_result, invalid_result)
  • Read data from start.log, end.log and abbreviations.txt inside the <folder_path>

  • Build a lap time report

  • Print the top 15 racers and the rest after a separator

start.log or end.log

DRR2018-05-24_12:04:04.396
SVF2018-05-24_12:16:05.164
LHM2018-05-24_12:19:50.198

abbreviations.txt

DRR_Daniel Ricciardo_RED BULL RACING TAG HEUER
SVF_Sebastian Vettel_FERRARI
LHM_Lewis Hamilton_MERCEDES

# CLI
monacoreport --files <folder_path>

--files: path to the folder containing:

  • start.log
  • end.log
  • abbreviations.txt

Optional flags:

--asc: sort from fastest to slowest (default)

--desc: sort from slowest to fastest

# CLI
monacoreport --files <folder_path> --driver 'name'
  • Shows statistic about driver

License

MIT

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

monacoreport-0.0.6.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

monacoreport-0.0.6-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file monacoreport-0.0.6.tar.gz.

File metadata

  • Download URL: monacoreport-0.0.6.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for monacoreport-0.0.6.tar.gz
Algorithm Hash digest
SHA256 6dbd9b9202d6025fe67f0a875b4eadf17eab63ce7140f89ef818bc416c5e7ed7
MD5 1968112fb265f46ff47d6c8196932bf1
BLAKE2b-256 7c06ccbaf3a3821df3c6266ccf0cb3895da37e947071d8e40432e4f2093b368a

See more details on using hashes here.

File details

Details for the file monacoreport-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: monacoreport-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for monacoreport-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 42304b30646697fecdf2360412b9d10471d7fa11f40fd70e286cb8ad372293b5
MD5 006070b1410745a2889df54c5038bbd8
BLAKE2b-256 6c243397770fa51728ecbfa5742e2e1ab0460c27dff1c3b13b625ee5c2f8fdd0

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