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 Page Description
Static acpmf_static Car, track, player, and game information.
Physics acpmf_physics Speed, controls, engine, damage, and wheel telemetry.
Graphics acpmf_graphics Session, timing, positions, tyres, and pit information.
Enums - Named status, session, and flag values.

Metadata

Release files for py-assettocorsa 0.1.4

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.4
File Size Uploaded Provenance Actions
py_assettocorsa-0.1.4.tar.gz 10.2 kB With provenance Details for py_assettocorsa-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 19.4 kB

Release files / py_assettocorsa-0.1.4.tar.gz

Download URL py_assettocorsa-0.1.4.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2ce7191e7090a6b019df92de0e0515f4a2e8ac86487d5c1810def975ac87b2f6
BLAKE2b-256 checksum
How to use checksums
8c6bb1b1d158170dad24cf1c7babbca5c2ac304f625695ea847dc4ad34f41080
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.4-py3-none-any.whl

Download URL py_assettocorsa-0.1.4-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f4a69b6e13227adf4b40d96b64574f5041726fb9ba63c5359d2b81063e5fa41
BLAKE2b-256 checksum
How to use checksums
a64a23080d3790f76dd9bef5c7b3cda946d9bd5e0998c2e78f9872f60bf8e257
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.4

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