Skip to main content

A package for processing Formula 1 racing logs

Project description

F1 Racing Report Package

This Python package generates and prints a report for Formula 1 racing, based on logs of start and end times of racers. The package also provides a command-line interface (CLI) to interact with the report generation and allows flexible configuration options.

Features

  • Report Generation: Generate a sorted list of F1 racers by lap times.
  • CLI Interface: Process files from a specified folder and print reports or errors.
  • Error Handling: Provides detailed error messages for problematic records (e.g., invalid times).
  • Custom Report Options: Includes optional sorting and underline settings.

Installation

You can install the package using PIP (assuming it's published to PyPI):

    pip install task_6_rakitin_sergey

Usage

Open directory with f1_report.py and run CMD.

Below are some examples of how to use the CLI.

Basic Report Generation (with ascending order by default):

    python f1_report.py

Generate Report with Sorting order descending:

  python f1_report.py --order desc

Print Report with Custom Underline After a Specific Line (for example 3):

    python f1_report.py --underline_after 3

Show Only Errors:

    python f1_report.py --errors_only

Show Report for a Specific Driver:

    python f1_report.py --driver "Sebastian Vettel"

Use own path to .log.txt files:

    python f1_report.py -- <folder_path>

List of commands:

    python f1_report.py --help

Link to package page

    https://pypi.org/project/task-6-rakitin-sergey/

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

task_6_rakitin_sergey-0.0.24.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

task_6_rakitin_sergey-0.0.24-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file task_6_rakitin_sergey-0.0.24.tar.gz.

File metadata

  • Download URL: task_6_rakitin_sergey-0.0.24.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for task_6_rakitin_sergey-0.0.24.tar.gz
Algorithm Hash digest
SHA256 5ec839a3340128db4245cdcdc5c1782248b5a44fe9577e1691e014a439ced09d
MD5 d1e11f0d198265df781b0b2f06e8c40b
BLAKE2b-256 55ae1524e46297747903d379e7ab3bf30c45da5b0724de4cadb240a742dd577f

See more details on using hashes here.

File details

Details for the file task_6_rakitin_sergey-0.0.24-py3-none-any.whl.

File metadata

File hashes

Hashes for task_6_rakitin_sergey-0.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 70a0a3cacb060c5b554784e5657450db3b2a676f32e84abb32c1a9633919d97f
MD5 da1c5732bb897be4b86906a48cc06978
BLAKE2b-256 f98f1b3990284a2a4c260a9f74a0bfbf2d8c208c51ff322f9b4f2919c6ba15f1

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