Skip to main content

Application that generates the report from provided files

Project description

Report of Monaco 2018 Racing

Overview

This is a command line application that generates a report for the racers of a racing cup. It creates a list of the best racers who will go to the second round and continue their competition. It evaluates the provided data and returns the result.

Modules that are used

How to install

pip install f1-racers-report==1.0.6

How to fill key files

You need to provide a path to directory where your 'start.log', 'end.log' and 'abbreviations.txt' files are located.

  • 'start.log' file where start time of the lap for each racer is located
  • 'end.log' file where end time of the lap for each racer is located
  • 'abbreviations.txt' file with abbreviations explanations are located

Examples of records for each file are presented below

start.log file

  • KRF2018-05-24_12:03:01.250
  • SVM2018-05-24_12:18:37.735

end.log file

  • MES2018-05-24_12:05:58.778
  • RGH2018-05-24_12:06:27.441

abbreviations.txt file

  • EOF_Esteban Ocon_FORCE INDIA MERCEDES
  • FAM_Fernando Alonso_MCLAREN RENAULT

Usage

If you want to get list of racers who go to the next stage, type the following in the command line:

py -m racers_report --files "<path_to_the_directory_with_needed_files>"

You can select the order in which racers will appear, with the help either '--asc asc' or '--desc desc':

py -m racers_report --files "<path_to_the_directory_with_needed_files>" --desc desc

In order to obtain information only for the selected racer, type the following cmd:

py -m racers_report --files "<path_to_the_directory_with_needed_files>" --driver "<name_of_the_driver>"

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

f1-racers-report-1.0.6.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

f1_racers_report-1.0.6-py2.py3-none-any.whl (6.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file f1-racers-report-1.0.6.tar.gz.

File metadata

  • Download URL: f1-racers-report-1.0.6.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for f1-racers-report-1.0.6.tar.gz
Algorithm Hash digest
SHA256 878f9ae2c1931779be74297ccbf9a28cd58587dd0f9072ac8c9bd1b57e2a081a
MD5 252ce14d4326e6a90286b005c491d826
BLAKE2b-256 148c8f198717f4cee53b05cf8d553d17095b904efc594e8b770d2e729c94dfbe

See more details on using hashes here.

File details

Details for the file f1_racers_report-1.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: f1_racers_report-1.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2

File hashes

Hashes for f1_racers_report-1.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 baa4da68cb6bd050178feaa00e9a3d8447704c2b3c8f441196c8dd10ec7cb301
MD5 2606b4fb336b817fcd84de2da0354916
BLAKE2b-256 cc9717e89f0bb70e8b06f7bb2bd6e945ed31cc027c7227b2d5ed8d6bb301619c

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