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:`
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
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_racing_vasiliy-0.0.1.tar.gz.
File metadata
- Download URL: report_racing_vasiliy-0.0.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2796dd5f62321c980c866c843b4a43f0a4398275d6dbf3a14f031100e34a24f8
|
|
| MD5 |
268f59b4676b201af09f49be0e003aef
|
|
| BLAKE2b-256 |
04c201cb87a001d5c289ec99c005d94cc78ae7c85c9942be75e1abae87eb2512
|
File details
Details for the file report_racing_vasiliy-0.0.1-py3-none-any.whl.
File metadata
- Download URL: report_racing_vasiliy-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6dcd532b0969790618b02dfb9523eacecb557b568376731382aa59c3445125d
|
|
| MD5 |
7bb1972ba928a38b459749a9904b5c90
|
|
| BLAKE2b-256 |
ad40bbc5ee0a7eec01aa570b5a47ce5ca84c91a8df8f983797063220b8ac561b
|