Python binding for RaceRoom's Shared Memory API.
Project description
R3E Python API
This package will allow you to easily read data from RaceRoom's Shared Memory API using Python.
Usage:
from r3e_api import R3ESharedMemory
import time
shared_memory = R3ESharedMemory()
shared_memory.update_offsets() # only needed once
while True:
shared_memory.update_buffer()
print(shared_memory.get_value('Player'))
time.sleep(0.5)
The method R3ESharedMemory.get_value()
accepts one string field. If you want to retrieve a sub-field, you can use dot notation, for example, R3ESharedMemory.get_value('Player.Velocity')
.
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
r3e-api-0.1.2.tar.gz
(4.0 kB
view details)
Built Distribution
r3e_api-0.1.2-py3-none-any.whl
(16.9 kB
view details)
File details
Details for the file r3e-api-0.1.2.tar.gz
.
File metadata
- Download URL: r3e-api-0.1.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 178199d5da56e143db983519f398b4cd71850c03be1bc41f425ac057b071b089 |
|
MD5 | 527436eec06e259b608a90172d15d2ab |
|
BLAKE2b-256 | d2bef418656f1701688714b8b804b5292aa5a83e1d0a02cf2e1f46af556560fe |
File details
Details for the file r3e_api-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: r3e_api-0.1.2-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b3b78a45e82b02743fee1f313bff6b110155d475e6046da5dc06c3255564152 |
|
MD5 | 390ec3d7c69a80e6ea78f1fc14d61dad |
|
BLAKE2b-256 | 8a54a6cdc5e03e6eadd8272b2f453c435e7e10ff4cc721373f6ad2af5ff7d72e |