pyttd-engine
OpenTTD built as a Python extension module, for pyttd. It contains the engine, the OpenGFX base set, the English language file, OpenTTD's AI/GS API compatibility scripts and the PyAgent stub AI. Install pyttd, which depends on this package, rather than using it directly.
The version follows OpenTTD's: 15.3.x are builds of OpenTTD 15.3. Joining a multiplayer server needs the server's exact OpenTTD version, so pin it with pip install "pyttd-engine==15.3.*".
License
GPL-2.0-only, as OpenTTD. The source distribution contains the complete OpenTTD source with our patches (patches/) and the bridge (bridge/). OpenGFX is GPL-2.0 as well.
Building from a checkout
python tools/prepare.py # fetch OpenTTD + OpenGFX, verify, patch -> openttd/
pip wheel . -w dist/ # or: pip install .
Metadata
Release files for pyttd-engine 15.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyttd_engine-15.3.1.tar.gz | 16.1 MB | With provenance | Details for pyttd_engine-15.3.1.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| pyttd_engine-15.3.1-cp312-abi3-win_amd64.whl | CPython 3.12 | abi3 | Windows x86-64 | Details for pyttd_engine-15.3.1-cp312-abi3-win_amd64.whl |
| pyttd_engine-15.3.1-cp312-abi3-manylinux_2_28_x86_64.whl | CPython 3.12 | abi3 | Linux glibc 2.28+ x86-64 | Details for pyttd_engine-15.3.1-cp312-abi3-manylinux_2_28_x86_64.whl |
| pyttd_engine-15.3.1-cp312-abi3-manylinux_2_28_aarch64.whl | CPython 3.12 | abi3 | Linux glibc 2.28+ ARM64 | Details for pyttd_engine-15.3.1-cp312-abi3-manylinux_2_28_aarch64.whl |
| pyttd_engine-15.3.1-cp312-abi3-macosx_11_0_x86_64.whl | CPython 3.12 | abi3 | macOS 11.0+ x86-64 | Details for pyttd_engine-15.3.1-cp312-abi3-macosx_11_0_x86_64.whl |
| pyttd_engine-15.3.1-cp312-abi3-macosx_11_0_arm64.whl | CPython 3.12 | abi3 | macOS 11.0+ ARM64 | Details for pyttd_engine-15.3.1-cp312-abi3-macosx_11_0_arm64.whl |
Total release size: 62.5 MB
Release files / pyttd_engine-15.3.1.tar.gz
| Download URL | pyttd_engine-15.3.1.tar.gz |
|---|---|
| Size | 16.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d8e9fecfbc3241941b8aefca3634399c735e61f37212aa1091eefef48df30b7
|
|
BLAKE2b-256 checksum How to use checksums |
7bfa7c9c97762d34c11812d291794f622d55f1e39f333bb1a2ec38ea383b4a54
|
| 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 Dec 1, 2026.
Transparency logRelease files / pyttd_engine-15.3.1-cp312-abi3-win_amd64.whl
| Download URL | pyttd_engine-15.3.1-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 8.4 MB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
08f2b199efd76e767fd19d153cab34c95f87fc625f45e4c3f5b191b0520f6117
|
|
BLAKE2b-256 checksum How to use checksums |
71530f22cb838a87a7e5141b89542ec372633e4c1c5c5bcab00ce9996ebdee24
|
| 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 Dec 1, 2026.
Transparency logRelease files / pyttd_engine-15.3.1-cp312-abi3-manylinux_2_28_x86_64.whl
| Download URL | pyttd_engine-15.3.1-cp312-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 10.7 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
4c8381771c52bc73dbea181fbbcddf5c8aa37f85f012cd2bca836dea9e181887
|
|
BLAKE2b-256 checksum How to use checksums |
36335752ed54f621f75fbba28798ce68f90e6b6194a427e4539754c88e132e7f
|
| 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 Dec 1, 2026.
Transparency logRelease files / pyttd_engine-15.3.1-cp312-abi3-manylinux_2_28_aarch64.whl
| Download URL | pyttd_engine-15.3.1-cp312-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 10.1 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
96cb16889aa223a7cb5db07f60b686b656f668b3eaef1d51a78375229dd5870f
|
|
BLAKE2b-256 checksum How to use checksums |
7b0288b63486d2154838f547c06a3617fa9ee5336f07f0226a4b1910292b8be7
|
| 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 Dec 1, 2026.
Transparency logRelease files / pyttd_engine-15.3.1-cp312-abi3-macosx_11_0_x86_64.whl
| Download URL | pyttd_engine-15.3.1-cp312-abi3-macosx_11_0_x86_64.whl |
|---|---|
| Size | 8.8 MB |
| Tags | CPython 3.12 abi3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
36c20bf536e93dbc89ad2f771ed428372e4f55f7342aeeaffe52526982caa62f
|
|
BLAKE2b-256 checksum How to use checksums |
c3e588383c867845659755e57a2fef761901331a122d7bf8d96ca01f3ee144ca
|
| 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 Dec 1, 2026.
Transparency logRelease files / pyttd_engine-15.3.1-cp312-abi3-macosx_11_0_arm64.whl
| Download URL | pyttd_engine-15.3.1-cp312-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 8.4 MB |
| Tags | CPython 3.12 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f62e37142c552bbb2e294e76a426de1f22b2ffd6d66f1a2d0d11e49f35416bc7
|
|
BLAKE2b-256 checksum How to use checksums |
12ad9c00ece6cfca0aea83a55116e6497a6720d897fa63175a1652535399f0ef
|
| 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 Dec 1, 2026.
Transparency logSecurity for pyttd-engine 15.3.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
All 6 files in this release have been uploaded with provenance metadata.
Attestation for pyttd_engine-15.3.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 Dec 1, 2026.
Transparency logA 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.