Python SuperTuxKart 2
This is a modified version of the free SuperTuxKart racing game with Python bindings. A lot of code was borrowed from PySTK, with some main differences:
- The code is now quite close to SuperTuxKart (no code deletion) so that SuperTuxKart updates can be easily applied
- The assets are now downloaded in a "cache" directory (no more data package)
- (project) races can be run in parallel (e.g. for Reinforcement Learning experiments)
The current source code is based on the SuperTuxKart 1.4 branch. The PySTK changelog can be found in this file.
Licence
As STK and PySTK, PySTK2 is released under the GNU General Public License (GPL) which can be found in the file COPYING in the same directory as this file.
SuperTuxKart
SuperTuxKart is a free kart racing game. It focuses on fun and not on realistic kart physics. Instructions can be found on the in-game help page.
The SuperTuxKart homepage can be found at https://supertuxkart.net/. There is also our FAQ and information on how get in touch with the community.
Hardware Requirements
To visualize the races (not mandatory), make sure that you computer's specifications are equal or higher than the following specifications:
- A graphics card capable of 3D rendering - NVIDIA GeForce 470 GTX, AMD Radeon 6870 HD series card or Intel HD Graphics 4000 and newer. OpenGL >= 3.3
- You should have a dual-core CPU that's running at 1 GHz or faster.
- You'll need at least 512 MB of free VRAM (video memory).
- System memory: 1 GB
- Minimum disk space: 700 MB
- Ideally, you'll want a joystick with at least 6 buttons.
License
The software is released under the GNU General Public License (GPL) which can be found in the file COPYING in the same directory as this file.
3D coordinates
A reminder for those who are looking at the code and 3D models:
SuperTuxKart: X right, Y up, Z forwards
Blender: X right, Y forwards, Z up
The export utilities perform the needed transformation, so in Blender you just work with the XY plane as ground, and things will appear fine in STK (using XZ as ground in the code, obviously).
Building from source
Building instructions can be found in INSTALL.md
Python bindings
pystk.[hc]pp: manage racesstate.[hc]pp: observable and actionspyckle.[hc]pp: pickly statesfake_input_device.[hc]pp: a fake input device used to control playersutils.[hc]pp,views.hppbuffer.[hc]pp
PYSTK_LOG_LEVEL can control the log level (debug, verbose, info, warn, error, fatal)
Metadata
Release files for PySuperTuxKart2 0.7.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pysupertuxkart2-0.7.4.tar.gz | 37.0 MB | Details |
Built distributions (wheels)
Total release size: 306.9 MB
Release files / pysupertuxkart2-0.7.4.tar.gz
| Download URL | pysupertuxkart2-0.7.4.tar.gz |
|---|---|
| Size | 37.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b806f9ed12400d3ee08f914abd2bc8114828aa8cd79ddd1bf2a015676c03819
|
|
BLAKE2b-256 checksum How to use checksums |
2f291c1055e68dcf27f54429d6be928bfd9732e22087d65c108a012cf94d2626
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp314-cp314t-win_amd64.whl
| Download URL | pysupertuxkart2-0.7.4-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5ee1e65ba3081a35e247a226c1736020b9dcbc83089ef7b2736cf8414b916ee1
|
|
BLAKE2b-256 checksum How to use checksums |
0763f1a3da2d17fd5eba0860e09219ec554b9daa209629c4b470b5c41c2d3b23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp314-cp314t-manylinux_2_34_x86_64.whl
| Download URL | pysupertuxkart2-0.7.4-cp314-cp314t-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 17.9 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
421e0687a7d79db024138746b7fbdd74132856a7e16270100ef63194beeac74b
|
|
BLAKE2b-256 checksum How to use checksums |
a0019a8abe10a155e9c95417576a75cc7a51485d969cbbe032f5deef63fb2bbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp314-cp314t-macosx_10_15_universal2.whl
| Download URL | pysupertuxkart2-0.7.4-cp314-cp314t-macosx_10_15_universal2.whl |
|---|---|
| Size | 22.3 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 10.15+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
73f7c871453f6e46db0f3b68aade9b68f1306a7c9fd9737b6d26ff9869788d6b
|
|
BLAKE2b-256 checksum How to use checksums |
c7c44fe429875581faf6b5f243cff117355f96de4569d8a6677e02d1140601b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp314-cp314-win_amd64.whl
| Download URL | pysupertuxkart2-0.7.4-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4dce64ab2d18d1dd666907fc0ae3b0880e0625f6c6642af9367189d116e6c34e
|
|
BLAKE2b-256 checksum How to use checksums |
ceb8c798952c7a57937b0a44daac9e3bd9ca4f15e76dbf8cba37e5a13570f0b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp314-cp314-manylinux_2_34_x86_64.whl
| Download URL | pysupertuxkart2-0.7.4-cp314-cp314-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 17.9 MB |
| Tags | CPython 3.14 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
c659f09637607bb1e8493b44f4f73f2edd5f7e9c44586ac55b0bc528e6e9625e
|
|
BLAKE2b-256 checksum How to use checksums |
269f038bc810ef72fc28e218c2590a8701f09fe2e424155af433745735c2c750
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp314-cp314-macosx_10_15_universal2.whl
| Download URL | pysupertuxkart2-0.7.4-cp314-cp314-macosx_10_15_universal2.whl |
|---|---|
| Size | 22.3 MB |
| Tags | CPython 3.14 macOS 10.15+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
e7a9b12fc992ef27ca506cf7eee6a0a726882ac8688b9877051f3b233cd29822
|
|
BLAKE2b-256 checksum How to use checksums |
e4104cec97ee4878f8ddcbe439031518efba03ee0581a2947b23feb9a335a42c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp313-cp313-win_amd64.whl
| Download URL | pysupertuxkart2-0.7.4-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e917574917c2a551a2f831f958b850de21afa7308c706f8716a55ac3c3370b82
|
|
BLAKE2b-256 checksum How to use checksums |
c3f17c381ac72a502c8bf3e133cbecf94d813d9dbde10fcb705d481ab98315c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp313-cp313-manylinux_2_34_x86_64.whl
| Download URL | pysupertuxkart2-0.7.4-cp313-cp313-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 17.9 MB |
| Tags | CPython 3.13 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
4db3250315d7ae7c1970bc9e2874a0a6482d5374afcf8d08ab1340675bd85707
|
|
BLAKE2b-256 checksum How to use checksums |
2497edbca45affd53beda3f61bfc74da0789cc3c141ce65cd66e6018248b0b8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp313-cp313-macosx_10_13_universal2.whl
| Download URL | pysupertuxkart2-0.7.4-cp313-cp313-macosx_10_13_universal2.whl |
|---|---|
| Size | 22.3 MB |
| Tags | CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
4ada8acc20de28683e349b758bd4d94eeb25e6eeffbc939e4bd50bf1b59dd9b8
|
|
BLAKE2b-256 checksum How to use checksums |
617aa73034de4df941a3943487098ea16046bf619c454d578cc809440de5365e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp312-cp312-win_amd64.whl
| Download URL | pysupertuxkart2-0.7.4-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
50de06810005c461c02ab4b76ea86442ab881f5a34978e365dcfc908c6cd0688
|
|
BLAKE2b-256 checksum How to use checksums |
6f92a29cda2c3f8a0b3e8332a4c6e852b1f5badb264676e2f2a6097a59570634
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | pysupertuxkart2-0.7.4-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 17.9 MB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
4fda0bf145f461631ad2d4e7ea9f7222758b4f18a444635ad6326663e0c5a94d
|
|
BLAKE2b-256 checksum How to use checksums |
934ed9d3659f71d65127ce11ced684787a41af073ff520554685c9372e01333a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp312-cp312-macosx_10_13_universal2.whl
| Download URL | pysupertuxkart2-0.7.4-cp312-cp312-macosx_10_13_universal2.whl |
|---|---|
| Size | 22.3 MB |
| Tags | CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
7e0ea9504901da8c9d1d90d8b029b5ec2d53e759aacecf5673d8cd170ced9050
|
|
BLAKE2b-256 checksum How to use checksums |
83176a8774b8506b0243de59dbbb25b9675b2de43e04dfe375982b4138dae7d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp311-cp311-win_amd64.whl
| Download URL | pysupertuxkart2-0.7.4-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5a05b1f842ffe1d4c3250f5ee9126b141ebf717b9f7e3ac2a0c36a4cfee64226
|
|
BLAKE2b-256 checksum How to use checksums |
b691a7778a0e2048ac8e647e330ef02b149d4c9c41599652a6bc0a9dc1fe3e23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | pysupertuxkart2-0.7.4-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 17.9 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
2b1230c9c71bd5fb66744afc1cec9109bef77e2686a71fdb3a21c336aa499ad2
|
|
BLAKE2b-256 checksum How to use checksums |
05e06c8715b03f06957749977d0fa131d47bf3282cf28167e774c35a2d145f87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp311-cp311-macosx_10_11_universal2.whl
| Download URL | pysupertuxkart2-0.7.4-cp311-cp311-macosx_10_11_universal2.whl |
|---|---|
| Size | 22.4 MB |
| Tags | CPython 3.11 macOS 10.11+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
b2309b5dd8f765111c1257ac14b8bea050e9eef59a48f01787911b49917aeab6
|
|
BLAKE2b-256 checksum How to use checksums |
d8d3e269031d3a01095cb0a4f509759a44ccc18c7409e2a9cc024e5a0497f258
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp310-cp310-win_amd64.whl
| Download URL | pysupertuxkart2-0.7.4-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1d068ae5ec548acad7b5614c1ebb65b45b4c377f99a1a856b1143057b947f5bd
|
|
BLAKE2b-256 checksum How to use checksums |
a7ecfdc7d2b17d50aa89f1199582e045d258d2acc5e9c87fa6a422eca0aace26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | pysupertuxkart2-0.7.4-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 17.9 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
9e96ee0738554c55809afab3027c9d27386240d23f6393b3e7c5394e468669a7
|
|
BLAKE2b-256 checksum How to use checksums |
2acb8012db19e9f70a839d1fdc1ba2ee16521f4e79157b9ef49592998d561154
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency logRelease files / pysupertuxkart2-0.7.4-cp310-cp310-macosx_10_11_universal2.whl
| Download URL | pysupertuxkart2-0.7.4-cp310-cp310-macosx_10_11_universal2.whl |
|---|---|
| Size | 22.4 MB |
| Tags | CPython 3.10 macOS 10.11+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
4e730c05558e3203b1aa94bf5a3e1b8ca94f375d7ded9f01a397e843aa117114
|
|
BLAKE2b-256 checksum How to use checksums |
e5ce9d914e26a77185df12b4c0f07aac6ff3ff5c0b92f0bd0807f18a9e596a0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Apr 4, 2026.
Transparency log