Skip to main content

A small example package

Project description

Report of Monaco 2018 Racing

This project creates a Monaco 2018 race report by processing data from the start and finish log files,as well as the drivers' abbreviation file. The report can be sorted by drivers, and also allows you to print the data of a particular driver.

Setup

You need python>3.10 to run this script.

Install this package:pip install report-racing-vasiliy==0.0.1

Usage

To generate a report, run the following command:

python report.py --files <folder_path> --desc (--asc, defaul) --driver <driver_name>

The --files option is required and should be followed by the path to the folder containing the data files.

The --desc option is optional for descending order, and the default value is --asc.

The --driver option is optional and accepts a specific driver name to print data for.

Data files

The data files format:

Start log file format: <driver abbreviation><YYYY-MM-DD_HH:MM:SS.sss>. End log file format: <driver abbreviation> <YYYY-MM-DD_HH:MM:SS.sss>. The abbreviations file format: <driver abbreviation> <driver_name>_<team_name>.

Output

The report will be printed in the format:

<driver_name>                | <team_name>                | <race_time>

Example

For example, to report sorted in descending order for a specific driver 'Hamilton', you would run:

    python report.py --files "C:\data" --desc --driver 'Sebastian Vettel'

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

report_racing_vasiliy-0.0.2.tar.gz (3.4 MB view details)

Uploaded Source

Built Distribution

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

report_racing_vasiliy-0.0.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file report_racing_vasiliy-0.0.2.tar.gz.

File metadata

  • Download URL: report_racing_vasiliy-0.0.2.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for report_racing_vasiliy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 87a410cbe8a2ee2157d5d66efab22aeeb05918102878d1c96be9e204a4be65c4
MD5 9eaba03d2276b75a0a496ec2e3d31f35
BLAKE2b-256 33eac8cbd99b50e26d68e7b38318e414db52d7e43580be0318692cb0430cccb5

See more details on using hashes here.

File details

Details for the file report_racing_vasiliy-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for report_racing_vasiliy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 38f19459b2b1e57babf9cf943e427dd949a11c40a71bcb19e39cea0b916e98f6
MD5 9e4ce66834a96b61e70176d72e6e4658
BLAKE2b-256 e78c276ecf3fdb53272dcd1bdf0b640de72cc9fcd963cd88076cea10f4630917

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