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

Uploaded CPython 3.13Windows x86-64

pysupertuxkart2-0.7.0-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.0-cp313-cp313-macosx_10_13_universal2.whl (22.2 MB view details)

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

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

Uploaded CPython 3.12Windows x86-64

pysupertuxkart2-0.7.0-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.0-cp312-cp312-macosx_10_13_universal2.whl (22.2 MB view details)

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

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

Uploaded CPython 3.11Windows x86-64

pysupertuxkart2-0.7.0-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.0-cp311-cp311-macosx_10_11_universal2.whl (22.3 MB view details)

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

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

Uploaded CPython 3.10Windows x86-64

pysupertuxkart2-0.7.0-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.0-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.7.0.tar.gz.

File metadata

  • Download URL: pysupertuxkart2-0.7.0.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.7.0.tar.gz
Algorithm Hash digest
SHA256 02101cbd0bb5e2465b8c00ed1ead2b6bc62deee074da55d05c3941ab1a231181
MD5 ec1804df2101eccbf9f74f97194bb193
BLAKE2b-256 5e2ab550c25b21933f2f7cb6c145c2b9787fd7317584728a822d8dbf06735569

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1ab218611efcfa5df6866903652fd1d592c0b2d7152d257c93fd009c24a3898b
MD5 96e20efdae7b27caa5138e28b60429eb
BLAKE2b-256 2da24094de12d0b2884dacdeca84cb87abd93b3a90617aeaeab884c446f47463

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 784ca25aa190944e89f3cd6dd694d9f753d2b86b2a295b726992f4482ff40941
MD5 5fca8910a47aa6c233d4be0f06fd2711
BLAKE2b-256 f5aba3cf3c9edd40367b4d3909eced96604b47a2c70bd05f6b4fce792695a1a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.0-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 ea743ef389748375dedcbd142ee19e3dea20b2785ccc74ca85d3989b18305d20
MD5 d3748e6f5c090308faecc14f87ab940e
BLAKE2b-256 de90891d8458c7ed751ce0906593a6fabcf75c39eb2f6cfa3ad1e0445dafab90

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4de82aa95a471396b6f05da4e3a731d9c093e7fe4691d2817ad0561a81a86f6c
MD5 7c31f43a8b34191db5b0a767cc318666
BLAKE2b-256 19020922e9acafed921747688c692da7a371376f38bd50538dc2ddd9b8c597c7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 0802f81439443b4209f0cd69a24d98e9ca82ab5b08b219c2a21a510a3d9c826e
MD5 66ad49b0e37e90c702ae529385a4a4c4
BLAKE2b-256 c6ebe7786b5658c0df83c175e9d4e8314d78abf989374f7672aa56a1f740f113

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.0-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 ed173d223c7eb4f1dbac1e93ffb6b4560507174e5f8bfa300a21eb23affb5f24
MD5 f63b19e10d0d54c7afe6704ff1588476
BLAKE2b-256 361540b72321a3cd286f49f0b57f9010a728a63b64659588ead6aef2f4b16511

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0d567281b305dc9f0991875e6830dec19b5d7f8cd9ecfa364d927a9556aaf2ea
MD5 276da821cf66001646f9fba59b87ec4f
BLAKE2b-256 95a6253004ded67b45a1fd759e907612c2ae84132b1d49991a359d4b8ed90b41

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 bda59d029151db0f97d0d3c5cf172f921cbdfc1c889c147e9b3718ad1079294b
MD5 4210882a6ad723d4be3c1a364a39e69b
BLAKE2b-256 18dfd9f405b862f4b0192605c6e9a5ce95925c200e0c65b1e9f99120f886b6f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.0-cp311-cp311-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 f6ecfd0d4a9de87a817f425136cc4b3e6694056349e22964d40bd07d9a345b9e
MD5 b4fc539e7520d1d608c1c93fedcd0242
BLAKE2b-256 6492621f538a9f9814d49a80ae1935f516ff62f16ffc31fbb2f6a50cb6730513

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4ada475bd929e6835ad4767534ec80504164692c1d5ed211b6e4f11537265dae
MD5 31cfa14cee4ce5f1310c714d0ad27c86
BLAKE2b-256 6099127b81fe83248fa73f1902eda6105945a9e2dfcae99b27f1cd3dc2d85db0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5b0d5ecc186ffde94b873caf5c14997caf816de2e4bf0a16398b2b160899ddad
MD5 b8b5e326b9e423224bdd58ade49f4186
BLAKE2b-256 62d08b6b99cc70830eb8f5a6dbe7b4a153deb43ab7c2c7d1dc67bdf25a306da1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.7.0-cp310-cp310-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 749b9cc835582e5ccca91acb9229490d50109c064e285b166175aebf2b4d85e6
MD5 6ceaa384a16a8c789d6423f909e8375e
BLAKE2b-256 b387112ac002b75284a19337925e5f28398b4eacdb272bf10e779d48b26ff056

See more details on using hashes here.

Provenance

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