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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.10Windows x86-64

pysupertuxkart2-0.6.6-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.6-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.6.tar.gz.

File metadata

  • Download URL: pysupertuxkart2-0.6.6.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.6.tar.gz
Algorithm Hash digest
SHA256 dd0cde044a30ea871b2bbb316cdec371deb3993732bc49de05a07fb31914bb5d
MD5 0a86a2e1af4b2db24d8614117b90ec35
BLAKE2b-256 5eeba9c03aadaa288b3dc168981a3de0a06e74caf2eb36ad42d82630116bff1b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fb96f8de9dcfeefb2dfbebe3359ad297e074a5eab92e4853d0ed4e8433925494
MD5 b8e6787251c244ad250c51470b24ab11
BLAKE2b-256 d16e59b394b49bef42f39bccd4d486b446caa877a821829c00f8be87126d33ce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.6-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 bdaa858f87531e784ea6ef5e0ea4c4ad67fd83104ffe86ceccc60d98893d3ccd
MD5 e8b1489ce2a687745a00ff40d02d04b2
BLAKE2b-256 0bcb2e09a710dcea44e6767d9387150ba1098b5c39e30c51e654e86035ef5094

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.6-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 fca9e3a61f8ab6f59299cb1a61787758938fcbcdedb3c74503c5ffaf4306421d
MD5 db45387ea3edc3c1b007a7ddca4c8b81
BLAKE2b-256 41e963ad7da0d71413b9aadd6297205c07d8cf7ef0315d6b85822e00d0f41baa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e0b05aae4fc120ca647b05743c9cedc5e3717c416cc56b7d40990b1f985883a7
MD5 f4b29364b9de2510bbfb0cb8005fd6c1
BLAKE2b-256 064356a338cfb533c862111813d9510e73790c1aa412dc6b213531d981d969e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.6-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 cdc155f6795967bcffdc9d0844036f740361df1589636dc3883295ba8b2e6099
MD5 c978ff759fdeaa546002a8b0a4417655
BLAKE2b-256 c9c328b87c9eca1e305b45ffb8252a9d38146f9aeb85ac5f12a020ddafbb008c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.6-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 b21f407fef21d675b7195953e0709da92d87a006fa39631efd4a958412bfcad6
MD5 15b6904e634576df8a36ef28c6fd3326
BLAKE2b-256 c8b01645327469b2247eaa95954f46cf3720e7c20d0e5e9f57eb054937d6e593

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 21cf4acc02f372d700f5d6fefdce274bef43714a681a264938f2646464896270
MD5 03c85d9818bd9612c8192b1b645e5384
BLAKE2b-256 2483954ebb8e4cf9eb9923520683d0953e53de5063b62276a1d76c6a59ead91c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.6-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 53487c091a0a658aae82d8a7a1ae381ec1bcae2377963f3637bcfd1a40fe026c
MD5 f5eff0a12eba26b4e9bc7a1093200402
BLAKE2b-256 12c79239c5d459188827082b2a2d2d39520ce3da55dad50930ea38d4ae38ffe0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.6-cp311-cp311-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 30907535b428c1b5d570302c2144775a6df6eab9a5c0aa56f4d135ff199364d6
MD5 dd0c6b0e9cefddce6e036e4c90ec2cb4
BLAKE2b-256 4bb9918f5f080c5365b33ba08709ffc3f4a5fb3ddc168e01145890148bcb574f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 14185277ff09a40bd554e4fa91020dd94e154308f4bdde127efce2bf65af23a8
MD5 b12c0f4136e6e9d2081e09970ee0d3b8
BLAKE2b-256 58c66c9c9a24b1597672dac4e19347252f76705d40468dd73a256f8f5b4a397a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.6-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2aeaf2d9fc8f0ab6a82257b1ed41715d75f5e7952186bfbea3b2b484a2d6bd4a
MD5 8ce8b830d0b05e2ced2d95ffb4c836f6
BLAKE2b-256 8f83cdacf8ad2401d8c1cca55fcc7dde83b322a3382e3d1028844454cdbc9985

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.6-cp310-cp310-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 898f0297cf2e405e42b385fcf9781562a48a9c2a6b508684633bc294ff7cb7fc
MD5 70d4aaece10054c08dd52381c3a9a5f6
BLAKE2b-256 d967cd54a0d8f91e2a1a940c73510bf2e5303ba59ed1b958da4c9eb35ddab3e9

See more details on using hashes here.

Provenance

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