py-eawrc-sdk
SDK built with Python 3 to aid with access to EA WRC's live telemetry.
Install
- Python 3.9+
pip install py-eawrc-sdk
Usage/Examples
NOTE - EA WRC must be launched at least once to generate telemmetry configuration files found in %UserProfile%/Documents/My Games/WRC/telemetry/
Basic Usage
#!python3
import pyeawrcsdk
wrc = pyeawrcsdk.EAWRCSDK()
wrc.connect()
print(wrc['vehicle_speed'])
Simple Application Example
#!python3
import eawrcsdk
import time
if __name__ == "__main__":
wrc = eawrcsdk.EAWRCSDK()
wrc.connect()
while True:
try:
wrc.freeze_buffer_latest() #Freeze telemmetry data so all data retrieved is from the same telemmetry packet
if wrc['game_total_time']: #check if data exists first
##
## application logic
##
print(wrc['game_total_time'])
time.sleep(1/30)
except KeyboardInterrupt:
break
wrc.close()
print("client closed")
Feedback
Feel free to contact me if you'd like to contribute to this package. I'm relatively new to python and programming in general and created this package to provide core functionality to other python projects I'm working on.
Metadata
Release files for py-eawrc-sdk 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py_eawrc_sdk-0.0.3.tar.gz | 4.8 kB | Without provenance | Details for py_eawrc_sdk-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_eawrc_sdk-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for py_eawrc_sdk-0.0.3-py3-none-any.whl |
Total release size: 10.0 kB
Release files / py_eawrc_sdk-0.0.3.tar.gz
| Download URL | py_eawrc_sdk-0.0.3.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa0a7de18f1a80d6ad3c24e25b98f228a976b09c20371648ac3c06bbf1edb192
|
|
BLAKE2b-256 checksum How to use checksums |
d26ce7fef86d6b416f97602385aa24d13f2cb9c872497b74d8575a6dd1d3bd3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / py_eawrc_sdk-0.0.3-py3-none-any.whl
| Download URL | py_eawrc_sdk-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5bcad90b675f7f1c26615ca96aadb969a6df2032a954cb0c610ac881622ac8b
|
|
BLAKE2b-256 checksum How to use checksums |
20925052c20a9102576a882d3b7e5e6ee2716009f2a39d077cc7e8ade9773051
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for py-eawrc-sdk 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.