App that sorts racing results and store it in logs
Project description
Module Documentation: qualifying_report
The qualifying_report module provides functionality to read data from two log files containing start and end times for each driver's lap, calculates the lap times, sorts the results, and writes the output to a new file. It also provides functionality to print the leaderboard or driver's information from the generated report.
Functions
build_report(folder_path: str = '') -> None This function reads in data from two log files containing start and end times for each driver's lap, calculates the lap times, sorts the results, and writes the output to a new file.
print_report(folder_path: str = '', driver_name: str = '', desc: bool = False, asc: bool = False) -> None This function prints the leaderboard or driver's information from the generated report.
main() -> None This function parses command-line arguments, builds a report or prints driver information based on the provided arguments.
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
File details
Details for the file racing_report_swaghettie-0.0.3.tar.gz
.
File metadata
- Download URL: racing_report_swaghettie-0.0.3.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a23c4ed39a244cd5eaf96c780226986bb66dff471a43bab2b6704d22b741526 |
|
MD5 | 74142e7f872e26d29c7b4a1b821151d1 |
|
BLAKE2b-256 | 13f318f996f540b53b0c2c2f1cc43a65b9c744b76fc7804a173b900a50b994b0 |
File details
Details for the file racing_report_swaghettie-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: racing_report_swaghettie-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 698c096ea6e72d92285b95d63b1633adac3a51bd510a74e9e9520636ea24c60d |
|
MD5 | e892ca01399f2fbdaff9aa243fad20b4 |
|
BLAKE2b-256 | 909b9d252d2ec3b1f90c59231d381912ff1afe6f84b80ef9a8ddfbc5a3a3f6ea |