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.3.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.3-cp314-cp314t-win_amd64.whl (4.9 MB view details)

Uploaded CPython 3.14tWindows x86-64

pysupertuxkart2-0.7.3-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.3-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.3-cp314-cp314-win_amd64.whl (4.9 MB view details)

Uploaded CPython 3.14Windows x86-64

pysupertuxkart2-0.7.3-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.3-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.3-cp313-cp313-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.13Windows x86-64

pysupertuxkart2-0.7.3-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.3-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.3-cp312-cp312-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.12Windows x86-64

pysupertuxkart2-0.7.3-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.3-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.3-cp311-cp311-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.11Windows x86-64

pysupertuxkart2-0.7.3-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.3-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.3-cp310-cp310-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.10Windows x86-64

pysupertuxkart2-0.7.3-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.3-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.3.tar.gz.

File metadata

  • Download URL: pysupertuxkart2-0.7.3.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.3.tar.gz
Algorithm Hash digest
SHA256 01f54063e765a81965d2669ea30001547ba61e0024863638ec06e5185c092f86
MD5 041755a01772865ceb60f946306187ea
BLAKE2b-256 64c107d0bdaecfe5095d4b3a9eff1518a151803a8b90a3318777730ab4137c31

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3.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.3-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 0f6ca14ed2a039509167223d4e87da2b05cb9501be667ea1c1f622bfe8dfc721
MD5 353d12cc3dd85352957118a6da973247
BLAKE2b-256 2550570635737efe0f6897be8e3e56a620a056cf57ae963fe57e149283988cda

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp314-cp314t-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp314-cp314t-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3132e090acea9c5f1b662856e24d857b6a32b8141fd6e203d787cb99b01a1b7c
MD5 62bc3b52ae46c31feb040e90b41dc6c9
BLAKE2b-256 55a5846a339f20dcb5e20082b430c622f22f20c4c9205690e39f7ebd7c46cf8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp314-cp314t-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp314-cp314t-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 11a35b53f8752d1363f4779fa392bf6b8cf06c47a93beeaf6865ce7b2c76f53d
MD5 d289e7f86c05d2bfedfd17f773387a27
BLAKE2b-256 4883886d295b942103819e0dafc653d01a14f7a91a15461147a1e92995f5404e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 04c83d10d206c9e8e2906d0006e9895c67dda6704a21da7278de1ab0a33c0162
MD5 f89335ce7645992a699d316cbce152ed
BLAKE2b-256 459393c1256367c09939bdfdddc9be7333f23ed65ad20c1a2b57667e063337ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 fddf5695df707aa8dd9a8bcf8523e93ca3a099b33dcca4917177c1015e1ed2ba
MD5 d80d34636ec7d72e9a9ce97bd4a1194f
BLAKE2b-256 8d7abfae0f9c028256b53631999c21d13a9f0224cf7a441fcce863a34161e6c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp314-cp314-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp314-cp314-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 8a90a81e8b969aac435e7ed3216215c806c59213cd07767784bd960789240536
MD5 6683bb342bd470e10b3069b5678d3758
BLAKE2b-256 cbeb627d3f798a6902173bdb0c0ff59b2e4cc7f31a8a152fb9d462e1de219666

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 738456d2341461ac53f470c09b3c8abc66b7b1b53eb0965b43197b29c727e228
MD5 2d5bbee9dd9e972c674b3301ec86ca6b
BLAKE2b-256 baa1bac0f5508cf4b99af7dcbe53d171569b40be3e3f653bfedc7c4b8f0931e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f02d84930a0257aae61463875175e10d20bf7c5e79f40a63208cad73887e7910
MD5 183267fa7dc90cb009b020f0a4cef064
BLAKE2b-256 a72e418b98570bff3dde7b06079325d969eb796e09fabcd587e24d22f87fa9c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 67c77a6ae429298bf864d6f0d1319d1fac96c933f5388a1fcc168bf2cd7297e9
MD5 550f44429f0ff1f465399c623870b3f7
BLAKE2b-256 92dc5a9ecc64a49606e3281681a8d78612691a190254e0d25cf0afec195df1d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e94881f0a333d0f48e8455c5cba250852b3d735be274920d1257658ed83702ae
MD5 6a89050eaad684df6eca90a96515032a
BLAKE2b-256 75fe806e2334cbd23f58e171cd5bd3b6764264bfa677782cf7eaf5648697fab6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4cebf246b75d900b9728279d48e5d2da8b1f66650acc4830166437eac074c949
MD5 9c923e648f98f8f737b12f197e07d9bd
BLAKE2b-256 1bbea5648c714ee129f84500117ff5be7a37da08bcc5f4838f2b4b1ab4848f8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 641be7ccd396176a1620ce6c8e56ade599b3833c789064b311720c243f8b76b9
MD5 b8f9bd8c523e47ef00ed4e33afb35309
BLAKE2b-256 fb03a1b6d7551bb3523a1c952ec03dc45823faf459cfbb6b67abcedfad65d4f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a061df344befb65a8fe9082dc0815c24fffcff77a29752d7c5ea42fd03be0a22
MD5 de8de40edd36745c1fe3cb23f4fa822e
BLAKE2b-256 34e4aea7b654402157abbc2c86a54f7d317f8cd19dc49e4e8e161d31c898cf3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 fb8f15b38a999281640c08906a6ff8a8225fdab6e03580d0c979689269614df9
MD5 6d610ee77951fa321535c21634ebefae
BLAKE2b-256 1b9acf780d73d1a71cb50493b66ca82abb5e968c183d341c96e2f857fe44de2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp311-cp311-macosx_10_11_universal2.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp311-cp311-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 209154ab803ca56c47d3ba6b0089edb7653485faad2f3a48fbeee4e7f785f22b
MD5 be63f3bd6772ebc9e7c59e4a645951e2
BLAKE2b-256 a3991aea4785f4d81cfc286f1a4fa14a8d1b8e85f8b40079b653a4450e70b579

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6f0ca9fbe6a63aefdb55b72659771269e4d94596630ded01c9a2588d1277d09f
MD5 a052907abe6148793850311dd978880c
BLAKE2b-256 a90a228f211ff4862b5a0f0ae399d91f779b1557abab0bbf18d2a01d970c651d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 742f76705901190b29a05294d4cea6020ebb3bc913cd184741621e72b250d460
MD5 e9733bf9550221e1d0cad2dc8a56dd12
BLAKE2b-256 3c047cfcdf4fda980bb7eacf393c7c181ee27be61b3870d8fa56bc1c4f2e28fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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.3-cp310-cp310-macosx_10_11_universal2.whl.

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.3-cp310-cp310-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 f769daf09f1223ed76d2462b972ad540a02dd696f4c1023cd7b7d4129dcb9121
MD5 378cac6b12df6764995f10d5ecd70c01
BLAKE2b-256 8fdf7b155c3755ba29b8309e791e4838f95daf4c2d46ca70ef574f8741f887a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysupertuxkart2-0.7.3-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