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.1

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.1
File Size Uploaded Provenance Actions
py_assettocorsa-0.1.1.tar.gz 9.2 kB With provenance Details for py_assettocorsa-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 16.7 kB

Release files / py_assettocorsa-0.1.1.tar.gz

Download URL py_assettocorsa-0.1.1.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
791f3d06847e8639aff6ec0f9b42ba0cecb099c2fc26bdd1987155ea3571d2e1
BLAKE2b-256 checksum
How to use checksums
b6c626638d2fb5d93496c8f2f7a5ed645c350e45004dde53f1e05d587fe5b153
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 13, 2026.

Transparency log

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

Download URL py_assettocorsa-0.1.1-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c42739721fcfb739178f27ea2df0093994e1e57be1dde56214dd0bda0a5df27
BLAKE2b-256 checksum
How to use checksums
e1bebec47af465f8cffbdad81942c8339322e7d2a80788f9e1b03faf10210494
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 13, 2026.

Transparency log

Security for py-assettocorsa 0.1.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.

Select from 2 files

Attestation for py_assettocorsa-0.1.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 Nov 13, 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