Convert track coordinates to percentages along a lap
Project description
workflow:
CREATE track map
- create an "expy" folder in the same directory as your current python file
- use generatelaparray.py to spit out a file with x, y, and z coordinates for the track. The data will appear in (circuit_short_name).json.
- manually delete extra data points and assign relevant ones to pit lane by moving them under "Pit Lane:"
- use parselaparray.py to check work (sample code to also go from file to array)
USE xy2pct
- use the function xy2pct(x, y, z, circuit_short_name) to convert any x, y, and z(optional) to a percentage along the track you specify in circuit_short_name. to find the variable, use the openf1 docs: https://api.openf1.org/v1/meetings?year=2026&country_name=Singapore and replace the country name with the one you want.
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
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 xy2pct-0.1.1.tar.gz.
File metadata
- Download URL: xy2pct-0.1.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f9a934d660c21cbf3f702b89659c07af14dd782e72043d56647b73c0fc77b7d
|
|
| MD5 |
d4909efe8842c5e2ae079e0e0baa8490
|
|
| BLAKE2b-256 |
d33799ed5142143ce20803d98c6821e12f93e36a454a3dbc130cfc5398fe5d3e
|
Provenance
The following attestation bundles were made for xy2pct-0.1.1.tar.gz:
Publisher:
python-package.yml on jusaaatin/xy2pct
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xy2pct-0.1.1.tar.gz -
Subject digest:
4f9a934d660c21cbf3f702b89659c07af14dd782e72043d56647b73c0fc77b7d - Sigstore transparency entry: 2143291732
- Sigstore integration time:
-
Permalink:
jusaaatin/xy2pct@cda597e332576044caaa0bf2d6f43e44d20d7a0f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jusaaatin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-package.yml@cda597e332576044caaa0bf2d6f43e44d20d7a0f -
Trigger Event:
push
-
Statement type:
File details
Details for the file xy2pct-0.1.1-py3-none-any.whl.
File metadata
- Download URL: xy2pct-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
882b6423611ec328ecb71785f628cc5090954bbccdb2decfcebf62c699508e03
|
|
| MD5 |
b4bdabfe0856ffed19f48f6dbdf86d81
|
|
| BLAKE2b-256 |
70108d460e289b7c2d243f36443d590c0d5bde610cd5d3fdf0cc37ab44b0ebba
|
Provenance
The following attestation bundles were made for xy2pct-0.1.1-py3-none-any.whl:
Publisher:
python-package.yml on jusaaatin/xy2pct
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xy2pct-0.1.1-py3-none-any.whl -
Subject digest:
882b6423611ec328ecb71785f628cc5090954bbccdb2decfcebf62c699508e03 - Sigstore transparency entry: 2143291738
- Sigstore integration time:
-
Permalink:
jusaaatin/xy2pct@cda597e332576044caaa0bf2d6f43e44d20d7a0f -
Branch / Tag:
refs/heads/main - Owner: https://github.com/jusaaatin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-package.yml@cda597e332576044caaa0bf2d6f43e44d20d7a0f -
Trigger Event:
push
-
Statement type: