Skip to main content

Python bindings for SuperTuxKart

Project description

Python SuperTuxKart 2

Documentation PyPI version

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 races
  • state.[hc]pp: observable and actions
  • pyckle.[hc]pp: pickly states
  • fake_input_device.[hc]pp: a fake input device used to control players
  • utils.[hc]pp, views.hpp
  • buffer.[hc]pp

PYSTK_LOG_LEVEL can control the log level (debug, verbose, info, warn, error, fatal)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysupertuxkart2-0.7.2.tar.gz (37.0 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pysupertuxkart2-0.7.2-cp314-cp314t-win_amd64.whl (4.9 MB view details)

Uploaded CPython 3.14tWindows x86-64

pysupertuxkart2-0.7.2-cp314-cp314t-manylinux_2_34_x86_64.whl (17.9 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.34+ x86-64

pysupertuxkart2-0.7.2-cp314-cp314t-macosx_10_15_universal2.whl (22.3 MB view details)

Uploaded CPython 3.14tmacOS 10.15+ universal2 (ARM64, x86-64)

pysupertuxkart2-0.7.2-cp314-cp314-win_amd64.whl (4.9 MB view details)

Uploaded CPython 3.14Windows x86-64

pysupertuxkart2-0.7.2-cp314-cp314-manylinux_2_34_x86_64.whl (17.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

pysupertuxkart2-0.7.2-cp314-cp314-macosx_10_15_universal2.whl (22.3 MB view details)

Uploaded CPython 3.14macOS 10.15+ universal2 (ARM64, x86-64)

pysupertuxkart2-0.7.2-cp313-cp313-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.13Windows x86-64

pysupertuxkart2-0.7.2-cp313-cp313-manylinux_2_34_x86_64.whl (17.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

pysupertuxkart2-0.7.2-cp313-cp313-macosx_10_13_universal2.whl (22.3 MB view details)

Uploaded CPython 3.13macOS 10.13+ universal2 (ARM64, x86-64)

pysupertuxkart2-0.7.2-cp312-cp312-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.12Windows x86-64

pysupertuxkart2-0.7.2-cp312-cp312-manylinux_2_34_x86_64.whl (17.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

pysupertuxkart2-0.7.2-cp312-cp312-macosx_10_13_universal2.whl (22.3 MB view details)

Uploaded CPython 3.12macOS 10.13+ universal2 (ARM64, x86-64)

pysupertuxkart2-0.7.2-cp311-cp311-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.11Windows x86-64

pysupertuxkart2-0.7.2-cp311-cp311-manylinux_2_34_x86_64.whl (17.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

pysupertuxkart2-0.7.2-cp311-cp311-macosx_10_11_universal2.whl (22.4 MB view details)

Uploaded CPython 3.11macOS 10.11+ universal2 (ARM64, x86-64)

pysupertuxkart2-0.7.2-cp310-cp310-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.10Windows x86-64

pysupertuxkart2-0.7.2-cp310-cp310-manylinux_2_34_x86_64.whl (17.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

pysupertuxkart2-0.7.2-cp310-cp310-macosx_10_11_universal2.whl (22.4 MB view details)

Uploaded CPython 3.10macOS 10.11+ universal2 (ARM64, x86-64)

File details

Details for the file pysupertuxkart2-0.7.2.tar.gz.

File metadata

  • Download URL: pysupertuxkart2-0.7.2.tar.gz
  • Upload date:
  • Size: 37.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pysupertuxkart2-0.7.2.tar.gz
Algorithm Hash digest
SHA256 935bced40030ff0ffa767daac6a58e29da6eabde73dcb3f80545f42715e937b6
MD5 ff9b149f24f23e9fb3b96518806e789b
BLAKE2b-256 d5708508d11ccd1faf7dfa40e9f1af477e98bee5ab5c922fcd1e8db59488cfba

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2.tar.gz:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 fb3721a781f540a484531fed1a60e299d22e7d757784c87567ce1855cc1a5678
MD5 43349c6df72650954630417b57071636
BLAKE2b-256 0642bc611ed59f482cc114e7879a929b0e937fc9c13af0b80b7d320e2f557864

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp314-cp314t-win_amd64.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp314-cp314t-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp314-cp314t-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 68422bd2c4c98bfe428f4e9dcfc9746142f35b1f080ca31557ab9038f527fb22
MD5 dfc65e95012a1ff9d5e262c89c2c23c2
BLAKE2b-256 1fb832020bc1bec466ee93bc0d35d377ecc2bd44484f05b9357e3970a14f92b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp314-cp314t-manylinux_2_34_x86_64.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp314-cp314t-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp314-cp314t-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 7183640b0dbbeac324beb2252e94f56cec86f5e27d442d3eb0567990498d9a2d
MD5 0829ef503a6b1c9e1893fe5cf3316bd1
BLAKE2b-256 5666c69bfe72ea943f027f84eecbf8738b81c0b134b2aed65b8d2f155a84929e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp314-cp314t-macosx_10_15_universal2.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 06da15e58217a5889bf8c5695e45b9a23127476f8ce993ca09395afae2ac665d
MD5 8b7a3117f40b5292508f650177489196
BLAKE2b-256 a1fa65fe85bfd0de239071114c0a2c4104587f82b9ad7bbc9e614fc440b66caa

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp314-cp314-win_amd64.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 75feb7ddf25b991aa2a38482bb827b58977ea6470d77769bb125b1166d2817d6
MD5 f53be8cb62569ab594d355ac72683cbb
BLAKE2b-256 63b8c7264d25d7e540de47b7924aa590c521399a38692af7b2ee440b15ab443b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp314-cp314-manylinux_2_34_x86_64.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp314-cp314-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp314-cp314-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 a076caa14a18144d3e683da24e76127e1047d7a4ec756405d0b515f81ad8e027
MD5 35ed003eee0004aaae989153ce28c63c
BLAKE2b-256 aad6cce561df83229a3b5ce77fcf13e3b8f0897d1ae463f337ecd4022c1d5eef

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp314-cp314-macosx_10_15_universal2.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 41f2a3ee32e749c48b20c9b39d76046219e7e7a263c4592c4f13f74588caf979
MD5 55942e4aff3d945169a8faa9b4fd4e32
BLAKE2b-256 fbf6e18566e5ac057657d1f271a9ec395828240c204b76e49b1480ebc0b7b131

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp313-cp313-win_amd64.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 92754b24cd1101ae3f04dacc7d9dde3e90b73ff2b430660d0caf435e6249f97a
MD5 7dcb059ad0e3e4d364b5f564abf91fe1
BLAKE2b-256 8906d7fb02611739289e2d5929debb21e8ba2a411b6872a9939a230b661d9f3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp313-cp313-manylinux_2_34_x86_64.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 bb212b7b16df4b3b0b4b68c7ad70f89a53bd5edce3c3994413ca276aebe3d333
MD5 5cabb213cae166d76a79b2009ca01d9a
BLAKE2b-256 ab4cf95b89b7c9a8cbc1054e3be4b9dcd562ced38435791babea61460aae195f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp313-cp313-macosx_10_13_universal2.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a8bbb90c6f220569a099f37ac2401a9f0b59a71c73aa78c939f2ddafefbda4bc
MD5 de7bb91d0d61934add3ed4bf7103ead0
BLAKE2b-256 f29cf65135646c39127cc3def29f49ffc1ffe415454121e0c6ef0ad8964f64a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp312-cp312-win_amd64.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c3a24a41521874b16b5d4feacbc18e478933e7c37c1901fd42c00a05232d1c35
MD5 525332da8a716d601d258ff12f5e5593
BLAKE2b-256 9d5eb1455f5921b49109ef755224aac9c0b347c9b918a7b27574648188b40382

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp312-cp312-manylinux_2_34_x86_64.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 759756beefa71e6fc236d93093c299ed61a109a475120c6cb80f348dffd977d6
MD5 f22dc419f9a76edd289731c95074fac6
BLAKE2b-256 106ed3876c6fbddd182a6825d297dc7f9738f4c1f712d8d0da5782319462c58c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp312-cp312-macosx_10_13_universal2.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6c8aed75b9e949e6abe074f326371f2e8c8de26377e91cc7de3498dd10becdaa
MD5 d2417cc00fa08c382a3da99cd00e47ff
BLAKE2b-256 a794b98a26d7584fef403c4dfa100d11bca0cb103b124de3f116971a4d683ddd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp311-cp311-win_amd64.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 b8157b59a10aa6dba590e4252e11609bccc2ec1ac24553e9ca73384fa04ec00b
MD5 331dac8cc40df5e8ecd25255814a7ef1
BLAKE2b-256 893a044c0f2cc1f6aa1c11602378a3e232de1f67ba90fae8d077c024e619d431

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp311-cp311-manylinux_2_34_x86_64.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp311-cp311-macosx_10_11_universal2.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp311-cp311-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 7e54c445f2860b0da964c7d330516a30863a8e71519ef05a5448529c69671b85
MD5 7658ec59b3b611dfd12ddd725506c8fc
BLAKE2b-256 e863e2d62ae1fa06adc41fef124396ab652e6804fb0728c8250a087b1813d36a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp311-cp311-macosx_10_11_universal2.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 09074757893413cfd6a7dfc194edb2abae0c17c3cbec33e231e831ba3ae272ed
MD5 d2a25eb1f386e9556eea1acd3cee36e8
BLAKE2b-256 ce60007b5fb1069cee055a570495963c2f01524c5eac186e0b62e9a9fd141c1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp310-cp310-win_amd64.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2451ccbff2010b296a843a889a862b4a23941bb7fbf384b5e823a484bafe2bf2
MD5 6b44847f58068700ff4e27df286debdd
BLAKE2b-256 80ad885045a9f1537cc9d56da5a1063884e8751fa6de592e16c931d20ca1b5fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp310-cp310-manylinux_2_34_x86_64.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysupertuxkart2-0.7.2-cp310-cp310-macosx_10_11_universal2.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.2-cp310-cp310-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 5750ea953362fa467d3965ec5ed273ab583bb2493126d74fa3f593527383d3a0
MD5 6c3d768d4f3a0f563df05f21e6bacc6f
BLAKE2b-256 400212c519c528dfd16388183caf772a11adb806b46bc679a78b186ccde77f97

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.2-cp310-cp310-macosx_10_11_universal2.whl:

Publisher: wheels.yml on bpiwowar/pystk2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page