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

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.3
File Size Uploaded Provenance Actions
py_assettocorsa-0.1.3.tar.gz 9.9 kB With provenance Details for py_assettocorsa-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 18.9 kB

Release files / py_assettocorsa-0.1.3.tar.gz

Download URL py_assettocorsa-0.1.3.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0e60ba79b1150295315de5c05f472451a1ee529b24b3bec2f2d4c5f8acb99bb9
BLAKE2b-256 checksum
How to use checksums
366d284210c6b1fcd99695aae94b7f35d6abf0fc6a91516eaa92871fa251c0c4
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 19, 2026.

Transparency log

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

Download URL py_assettocorsa-0.1.3-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d4c28507632a90f6bfcc578635f654903905351a2e79343679a4373439cb7d4
BLAKE2b-256 checksum
How to use checksums
d2442a813cfee313dc9d0863da52ea878b62dbc024ec4740258af2f0eec8c02e
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 19, 2026.

Transparency log

Security for py-assettocorsa 0.1.3

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.3.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 19, 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