Metadata-Version: 2.4
Name: py-acevo
Version: 0.1.0
Summary: Read Assetto Corsa EVO shared memory on Windows.
Project-URL: Homepage, https://github.com/ooocheckitout/py-acevo
Project-URL: Repository, https://github.com/ooocheckitout/py-acevo.git
Project-URL: Issues, https://github.com/ooocheckitout/py-acevo/issues
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# py-acevo

The Python library to read shared memory of Assetto Corsa Evo.

## Install

```bash
pip install py-acevo
```

## Example

```python
from acevo import ACEvoSharedMemory

try:
    with ACEvoSharedMemory() as memory:
        static, physics, graphics = memory.read_snapshot()
        print(static.session_name, static.track)
        print(physics.speed_kmh, physics.gas, physics.brake)
        print(graphics.current_lap_time_ms, graphics.car_coordinates)
except FileNotFoundError as error:
    print("The AC Evo shared memory is unavailable. Start a driving session.")
```

## Available Models

| Model | Description |
| --- | --- |
| [Static](https://github.com/ooocheckitout/py-acevo/blob/main/acevo/models/static.py) | Session, track, and game information. |
| [Physics](https://github.com/ooocheckitout/py-acevo/blob/main/acevo/models/physics.py) | Speed, controls, engine, and wheel telemetry. |
| [Graphics](https://github.com/ooocheckitout/py-acevo/blob/main/acevo/models/graphics.py) | Timing, positions, tyres, damage, and pit information. |
| [Enums](https://github.com/ooocheckitout/py-acevo/blob/main/acevo/models/enums.py) | Named status, session, and flag values. |
