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

Uploaded CPython 3.13Windows x86-64

pysupertuxkart2-0.6.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.6.2-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.2-cp312-cp312-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.12Windows x86-64

pysupertuxkart2-0.6.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.6.2-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.2-cp311-cp311-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.11Windows x86-64

pysupertuxkart2-0.6.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.6.2-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.2-cp310-cp310-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.10Windows x86-64

pysupertuxkart2-0.6.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.6.2-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.2.tar.gz.

File metadata

  • Download URL: pysupertuxkart2-0.6.2.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.2.tar.gz
Algorithm Hash digest
SHA256 fb08ff86e3c5b8215e069e1fcbc49c61f30deab6dbe602c0ac773bc215648838
MD5 317359320ddcd592c6fb92898617a3d2
BLAKE2b-256 3ceaef57061134bdcac0ddc3215603680f1c922ba3441fd6f2a7fee63d280cfd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 749e419a43f92778d68db38e65ebbf582de5649ae9dcc089c06df3b7bd391a3a
MD5 6c730422c370299bf0e2896062f0c640
BLAKE2b-256 f114db3c1d181b0db369fafac976d08925f9258247ca3047ed7f3b7a6f0fc629

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.2-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 454f9c3f46b3821bf571bbe3d6f38ac37e989ecbf1e23c90276062155779f259
MD5 864395d0dd5f0bd1b8a94e4cce9d2624
BLAKE2b-256 190015b3fe7fca3b42d80e996fda22d4aaa3fc45703b7ba993d752fec79d58f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.2-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 dd5a9457b8b7c910bd91130e3bdcfecf217930d0483c35fee59671b793b6b9ee
MD5 acdd8bb905a77a412fc26d4d5cea53ed
BLAKE2b-256 34c96da8090fa137a690bcde564bee4ee65354103cd6841aea37ff0c2e69d2f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 49d64fd1efa0a226269d7c9cecb8ef1dd30aff8ca9555d967ae708bb3b504d97
MD5 7bd10f06c39f589eb2ab504f819c52d7
BLAKE2b-256 5cf3719f29058ccd45240934434577eba59384647ed72796408d83fe8bc4cef3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.2-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3a79f034f2551b8e8f575499f4212f47da893f7872a014e435cd511809df22ec
MD5 e892267122c4141353c4aea50a27137c
BLAKE2b-256 d0805b9bf17ddeeafb2c0fba90051ec9f6ca5ffd2849919ca9cc56405d8e6d28

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.2-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 4baac52e3d720c0704ab520564f61457a328fbecb91cdaf07ff47ff686a45f98
MD5 6a5d876c2773e00accb8b054befd432b
BLAKE2b-256 d2aa1f783c843f4bd64e7e58f204494daacc45f82e3a9c657d2097373aea0538

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b787af2f017c54a09144eb1edd97f7089aba960b831b93e8bee5a433632ca01c
MD5 772467a3fe24691ca8a7f9ad0abe0162
BLAKE2b-256 516ab64b8229460550f95ccaba517be8ef770f41073d96ee2948b5c16362831f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8d3b0a9ae9ac8f22fd28acfc51be6983d668d3ee4853600ea9cf92b3785e30fb
MD5 b15624f457732dbf6f73ba9427d18a64
BLAKE2b-256 5ad564f7991a1480fd005a88d28ffd8f8bba0426d4765e2b2360252fdf850673

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.2-cp311-cp311-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 16a80333506baa437310bd0491b9a29308cc7815dbf32e9067ed674252979d8b
MD5 d1fc98b94f10db11859080d933155725
BLAKE2b-256 cf73609fe547fba5eea0f7946102bc3d38abc6991503de85770e2c05f60430cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ff7a957d812db3f57ab3778f0e57e590ada426d8a809ba4156ffe8a75850c768
MD5 bfee22e4b9ed7f4080b0031ec685b539
BLAKE2b-256 33776ff41c193d4e53b8bd671a3bdc180407a37f6072a26f89d689bffeb83924

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.2-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ef6d2c2a96371e695e8c094d095cf23f9d22a680b0ce97d2ff1f675b2f9fae5b
MD5 3588d08a9f65d559267a87472c27dc5e
BLAKE2b-256 45eb95cd7e6809ac91993e74c8140a78731d313f50fba6474c7c29e399b6f046

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.2-cp310-cp310-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 d5868441a4d618d2589e784239f90681c40ba17df95146b07523808c7463d032
MD5 fc7213c74b93b62eed0e628024df3376
BLAKE2b-256 efe988fe5e574577614b6a2731cc14a7e28ebe9be021cafc6974ffff8fb43586

See more details on using hashes here.

Provenance

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