Skip to main content

py-assettocorsa

The Python library to read shared memory of Assetto Corsa.

Install

pip install py-assettocorsa

Example

from ac import ACSharedMemory

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

Available Models

Model Description
Static Car, track, player, and game information.
Physics Speed, controls, engine, damage, and wheel telemetry.
Graphics Session, timing, positions, tyres, and pit information.
Enums Named status, session, and flag values.

Metadata

Release files for py-assettocorsa 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-assettocorsa 0.1.2
File Size Uploaded Provenance Actions
py_assettocorsa-0.1.2.tar.gz 9.2 kB With provenance Details for py_assettocorsa-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-assettocorsa 0.1.2
File Interpreter ABI Platform Actions
py_assettocorsa-0.1.2-py3-none-any.whl Python 3 none any Details for py_assettocorsa-0.1.2-py3-none-any.whl

Total release size: 16.7 kB

Release files / py_assettocorsa-0.1.2.tar.gz

Download URL py_assettocorsa-0.1.2.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
61f568f0d0b5025dec516ea863ec4a33ffc99add39c2d7701042f63b4dfeef81
BLAKE2b-256 checksum
How to use checksums
43639f7fa7c83c2a84d2da6e010be17765943bb241bdbb16c344b2ba9c9cd265
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 Nov 14, 2026.

Transparency log

Release files / py_assettocorsa-0.1.2-py3-none-any.whl

Download URL py_assettocorsa-0.1.2-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf7d8e35586eea2093d151a7251a2d2df4397c9279ed83001162f3683fc41623
BLAKE2b-256 checksum
How to use checksums
0d0851b3c6ef22abeb3ca0e1f0dae1deccc3a8e1c44328854ac89359f9717a78
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 Nov 14, 2026.

Transparency log

Security for py-assettocorsa 0.1.2

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.

Select from 2 files

Attestation for py_assettocorsa-0.1.2.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 Nov 14, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page