Monaco 2018 Q1 lap-time report generator
Project description
🏎️ Application to create Formula 1 Report
This tool can build a Formula 1 report. It works from CLI and you from import in your code. The app reads and analyzes some files from a passing directory in CLI (read data by default package), or you can import it in your code and pass your own files
Installation
Report-of-monaco-2018 can be installed by running
pip install report-of-monaco-2018==0.0.11
💻 Run from CLI
You can use this package to run it from CLI and receive a report by default this command:
report-monaco - you can pass optional --asc | --desc to sort it;
or you can choose some driver and receive a result by him:
report-monaco --file --driver 'Sebastian Vettel'
💻 Import in your project
You can import this package in your code and pass your own files:
import report_of_monaco_2018
report_of_monaco_2018.race_report()
After import, you should pass a path to directory with files to read, to cli
Options flag:
--file- directory with files to read--descor--asc- sort report--driver- show info for a specific driver
📁 Requirements to directory
abbreviations.txt: contains driver abbreviations, full names, and team names.
start.log: contains timestamps of when each driver's start race.
end.log: contains timestamps of when each driver's end race.
Example entry for start.log and end.log files:
SVF2018-05-24_12:02:58.917
SVF: Driver abbreviation2018-05-24: Date12:02:58.917: Start or end time (used for lap duration calculation)
Example entry for abbreviations.txt:
DRR_Daniel Riccardo_RED BULL RACING TAG HEUER
DRR: Driver abbreviationDaniel Riccardo: Driver nameRED BULL RACING TAG HEUER: Driver team
🏁 Report print Example
After parsing and calculating lap times, the output will look like:
1. Daniel Ricciardo | RED BULL RACING TAG HEUER | 1:12.013
2. Sebastian Vettel | FERRARI | 1:12.415
3. ...
------------------------------------------------------------------------
16. Brendon Hartley | SCUDERIA TORO ROSSO HONDA | 1:13.179
17. Marcus Ericsson | SAUBER FERRARI | 1:13.265
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file report_of_monaco_2018-0.0.11.tar.gz.
File metadata
- Download URL: report_of_monaco_2018-0.0.11.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c97cab2ad8511d4f1594ffa47ac2c6c04493a44f7415319e5967cec59ed99a5
|
|
| MD5 |
056e91626346fc77d389f6e05054c5a4
|
|
| BLAKE2b-256 |
69f24efa9cfef66eb0d200e02d178999fb40f6b5a948b0f309230433e7e4a6c8
|
File details
Details for the file report_of_monaco_2018-0.0.11-py3-none-any.whl.
File metadata
- Download URL: report_of_monaco_2018-0.0.11-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6be3533bffaf8378b5f1019270f07e7c45a02b4330c48173bda856a2c4d1c3eb
|
|
| MD5 |
30f458e8e98cb4633ca8e919155fa240
|
|
| BLAKE2b-256 |
07884b0f1f9fe10012e25a55aa2c18890663ac1e3c66a94689573bf5e27e850c
|