acevo-sdk
acevo-sdk is a Python SDK for Assetto Corsa Evo log parsing and shared-memory telemetry.
It packages the reusable telemetry foundation extracted from SimLaps so other projects can build on ACE data without reimplementing log parsing, binary decoding, or shared-memory capture.
This is an independent community SDK. It is not official Kunos Simulazioni or Assetto Corsa software.
Install
pip install acevo-sdk
For local development from this repository:
python -m pip install -e ".[dev]"
What It Includes
- ACE log parsing for sessions, laps, sectors, validity, player identity, car, track, tyre compound, setup notes, and fuel signals.
- Live shared-memory capture for ACE physics, graphics, and static regions on Windows, including a validity-only mode that streams lap-completion signals without retaining frames.
- Decoders for captured shared-memory bytes, plus a lightweight
peek_graphics_validityfor real-time lap validity. - Reusable dataclasses for laps, sessions, stints, frames, capture metadata, and shared session state that reconciles log and shared-memory signals.
- Track and car tuning catalog helpers with bundled data.
What It Does Not Include
- SimLaps API submission.
- Discord notifications.
- Personal-best cache.
- Desktop UI.
- Signing, anti-cheat, or server security helpers.
- HTML telemetry reports, AI prompts, or the larger telemetry analyzer pipeline.
Those belong in downstream applications for now.
Use Cases
- Build lap-tracking apps like SimLaps that parse ACE logs, detect sessions, laps, sectors, validity, and send structured data to a custom backend.
- Capture live shared-memory telemetry for dashboards, overlays, stream widgets, engineering tools, or race-control utilities.
- Decode saved raw shared-memory dumps offline for reverse engineering, debugging, analysis notebooks, or regression tests.
- Build coaching tools that consume lap, sector, car, track, fuel, tyre, and telemetry signals, while keeping AI/report generation in the downstream app.
- Create personal data pipelines that export ACE session data to JSONL, SQLite, DuckDB, Parquet, spreadsheets, or analytics services.
- Build test fixtures and validation tools for ACE telemetry integrations without each project reimplementing log parsing and binary decoding.
- Prototype setup/tuning tools on top of stable decoded telemetry and the car tuning catalog.
Parse Logs
import asyncio
from acevo import LogParser
async def main():
parser = LogParser()
sessions = await parser.parse_file()
for session in sessions:
print(session.track, session.car, session.best_lap)
asyncio.run(main())
You can pass a specific log file or directory:
parser = LogParser(r"C:\Users\you\Saved Games\ACE\Logs")
Capture Shared Memory
Live shared-memory capture is Windows-only because ACE exposes telemetry through Win32 file mappings.
import asyncio
from acevo import TelemetryCapture
async def main():
capture = TelemetryCapture(hz=20)
await capture.start_capture()
await asyncio.sleep(30)
frames = await capture.stop_capture()
print(f"captured {len(frames)} frames")
asyncio.run(main())
If your application already knows whether the game is running, you can inject a callback:
capture = TelemetryCapture(game_running_callback=lambda: True)
When no callback is provided, the SDK does not enforce game-process detection.
Decode Raw Bytes
from pathlib import Path
from acevo import decode_graphics, decode_static
graphics_bytes = bytes.fromhex(Path("graphics_frame.hex").read_text().strip())
static_bytes = bytes.fromhex(Path("static_frame.hex").read_text().strip())
graphics = decode_graphics(graphics_bytes)
static = decode_static(static_bytes)
print(graphics)
print(static)
Public API
from acevo import (
LogParser,
TelemetryCapture,
RegionReader,
FrameData,
CaptureMetadata,
CaptureSnapshot,
LapBoundary,
decode_physics,
decode_graphics,
decode_static,
peek_graphics_validity,
LapData,
SessionData,
LapState,
LapCompletionData,
SharedSessionManager,
is_hybrid_car,
)
Catalog helpers live under acevo.catalogs (resolve_track_key,
track_slug, select_track_profile, get_tuning_params,
format_tuning_block).
Status
acevo-sdk is Alpha software, so public APIs may change while real downstream use cases settle. 0.2.0 syncs the SDK with the current SimLaps telemetry core; LapState.PUSH was renamed to LapState.VALID.
Please report issues at https://github.com/glebulon/acevo-sdk/issues.
Fixing a Bug Found in a Downstream App
When a bug in SDK code shows up in an app that depends on it (e.g. SimLaps):
-
Point the app's virtualenv at this checkout so breakpoints and edits hit SDK source directly:
# run the app's pip, targeting this repo /path/to/app/venv/Scripts/pip.exe install -e "C:\Storage\my_documents\acevo-sdk[dev]"
acevo.__file__should now resolve inside this repo. Reproduce the bug in the app, debug, and fix here. -
Add a regression test in
tests/, then verify:ruff check . pytest
-
Release a new version using the checklist below, then in the downstream app: restore the pinned install (
pip install acevo-sdk==X.Y.Z), bump the pin in itsrequirements.txt, run its test suite, and rebuild.
Do not cut a release build of a downstream app while the editable
install is active — whatever is in this working tree gets bundled. For a
hotfix that cannot wait for a PyPI release, build the wheel locally
(python -m build) and install it into the app's venv, or pin the app to a
git tag instead of PyPI.
Publishing
This repo is designed for PyPI Trusted Publishing through GitHub Actions.
Release checklist:
python -m pip install -e ".[dev]"
ruff check .
pytest
python -m build
git tag v0.2.1
git push origin v0.2.1
Create the GitHub Release for v0.2.1; the publish workflow uploads the package to PyPI.
License
MIT
Metadata
Release files for acevo-sdk 0.2.1
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 |
|---|---|---|---|---|
| acevo_sdk-0.2.1.tar.gz | 161.5 kB | With provenance | Details for acevo_sdk-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| acevo_sdk-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for acevo_sdk-0.2.1-py3-none-any.whl |
Total release size: 260.6 kB
Release files / acevo_sdk-0.2.1.tar.gz
| Download URL | acevo_sdk-0.2.1.tar.gz |
|---|---|
| Size | 161.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ea6519e89d796360411b0b4fc4616bdd2abd70cd5dacda63e7709a69453dcd3
|
|
BLAKE2b-256 checksum How to use checksums |
9f4765db5b1dbc0c1b6b5222211a3752370556af15af90b9e2964248a37417a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / acevo_sdk-0.2.1-py3-none-any.whl
| Download URL | acevo_sdk-0.2.1-py3-none-any.whl |
|---|---|
| Size | 99.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d309bcd47adc98d39d0f587ae68274862d5164398e16099a87437b50b2408aab
|
|
BLAKE2b-256 checksum How to use checksums |
4c20f103c0907bb1759bd04f6db11f8671d5c46c7439c822b0957e7bbd50b20e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logSecurity for acevo-sdk 0.2.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for acevo_sdk-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logA 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.