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.6.9.tar.gz (36.9 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.6.9-cp313-cp313-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

pysupertuxkart2-0.6.9-cp313-cp313-macosx_10_13_universal2.whl (22.2 MB view details)

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

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

pysupertuxkart2-0.6.9-cp312-cp312-macosx_10_13_universal2.whl (22.2 MB view details)

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

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

pysupertuxkart2-0.6.9-cp311-cp311-macosx_10_11_universal2.whl (22.3 MB view details)

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

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

pysupertuxkart2-0.6.9-cp310-cp310-macosx_10_11_universal2.whl (22.3 MB view details)

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

File details

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

File metadata

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

File hashes

Hashes for pysupertuxkart2-0.6.9.tar.gz
Algorithm Hash digest
SHA256 5c46ce3ba841d62d1203cc5d5be3cd479e4c22fb6b5d093fced8f73c0ab0b933
MD5 afb7c04cebe7c60d15080a9dff12f93c
BLAKE2b-256 5453d7977d77c3ae9992d8a4901df1a9975b0ea58aa1224cddb888b1e99dc147

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a3a8e478e25ae3b58e41894bfde67cd0b9f9ce071ddb949ee4b1a34575a0ee92
MD5 0f0f181cef3a8f21cc6ff59be542df9e
BLAKE2b-256 4463612b5c4107adbc002a71846c6e38f1b8bf4defd661cfa3aa37bc315c4fcb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.9-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ac30b21812ee9eb07ff002bf441e98ecdd993ffea3c6b8e95dc37a772ed994f1
MD5 a975db2cf0b14a3960f5b8b29e4ae7d0
BLAKE2b-256 819bf9ff5bfffd3fff24d870080e115c623b8214f2fc51544c2b1e2b15cd562d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.9-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 b8b6b00e27f6da532ba897501961d6a9b84395ed22a898b1796b5819db4bc840
MD5 6f4c5a045e175363987fb612c351aa8a
BLAKE2b-256 3dd2b743f9cfc3095d5e46d82ac3e2e09afe4a72cdcfa03060cbf62ad0f19d8c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 99aa18be90b0e1f875b3b011c803262ac5a9171790c35e3c81b3e10186657620
MD5 a0a009dd431d47d93954c49d230eb4c6
BLAKE2b-256 a52f777c5d4d18383a87c1343b28232bb8e6c2935d50780626f257bcda56f62e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.9-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 715ae6e597e3361f684864a697609cb982f76db4d01ca514851fc582fe74cecb
MD5 acbc6bf3e07432e3b502584a2e6ea11b
BLAKE2b-256 30eb1c26edc0df2f7ac9c90c54b8f200b3d2e461cb92e5c451cf30565a06f61d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.9-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 5015a72a80eaedcb23b14396b7ec1d1374e2557ed815a16a34374cdf83f2b0a5
MD5 ce258100eb97b7ad160379e2043e78d9
BLAKE2b-256 a154a6d9dcc94e7bdd61e0ba1c349a6793dd554acd96f56bf6c3299cd2766808

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c0632adcd322d05f22099fb98b1d4817446757e3cf10e94fd47d26db81631b02
MD5 207a09edd6cea43513773622af4ef1fd
BLAKE2b-256 5edb63f62ae6eb255044cd82535322f45ad9b20de4f3d7b40eda03b2d67b4a05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.9-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 b3ff0a7c9db75923a61f6e8aa9ec05ce1f11a8d94107acd46e42a59e59176412
MD5 5713faac964a2da98d52ef325b1e365c
BLAKE2b-256 5320285a437fbe8171ea99a5c9b5b3d44390535f2ae34f0ed1cf91eda91052a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.9-cp311-cp311-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 99d1c3e0239263c0f7d558094d23a6293c06344f5994282ee7fb5fb12e8d64d5
MD5 b2d326df0b07a6e167ad3b9cd3a75fc5
BLAKE2b-256 e7f5f3d91de33d27ed982d17870b0dc8d7ad39d5251c5bacf247dae9488bf287

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7745fefbbb2b2e383b3b5e47cce12619d44781168011a0dc43c1e7b3d31ff911
MD5 676ec74d51067fbf9f006efdd1733c3d
BLAKE2b-256 4c9442f9ef0870c3447275d78127aa0bc0c4f0a5c7d567013169fa5a9e638df6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.9-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7aa8998421d26eb2fb261cabccc21988f3fa050fa537bae1082abf7c6dcd7054
MD5 7ce69eef34c49f5492919651aa1b063d
BLAKE2b-256 d4790d7c45151c36663692ba3cb99ec1b8689e3361fdec86b38499b7b55a8e9b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.9-cp310-cp310-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 5e1b990e28782b0632eb8c5a47466bcf537763fd9fd6f4224b20a9170d560fe1
MD5 cb88adcf817bb789f722aea7928565e8
BLAKE2b-256 2a1dfd5627acdf9ca42496d2fbdef18ba2b6338512111dcf286d665ad900ba94

See more details on using hashes here.

Provenance

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