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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.10Windows x86-64

pysupertuxkart2-0.6.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: pysupertuxkart2-0.6.1.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.1.tar.gz
Algorithm Hash digest
SHA256 70fe961082dd8c05d9640d0ce8477fc286a532f32a5696d70899903ee1eff4e7
MD5 df081ae301786c20748eb608a303f125
BLAKE2b-256 7626cf866005c07c4016c49ca049cd6023cb5cb6ea350a9556620332629ae80f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 244edfabf94c10746a30a0acc25f1b56f593d8fa892f82856f336f4e5afef28c
MD5 c1caffecb47df0d78506a3e4584a622c
BLAKE2b-256 d45513f10598c786df31119797f76a3ae6c6b01aa30b04213d7106c3e91d45ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.1-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4a88cb94a77419572a9d8464a6045376448fb6a1d4e6229d3c09b6a2c9e465b9
MD5 9aac27f758fa26f48df800722ffb320c
BLAKE2b-256 696cb5665bc7999946c0cc260622d496f4b0b87c2f942098dfe31fe4bf49cb58

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.1-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 0747ef27f0a71780085a3c110f17e35bfeed717cf5e38fdc9399f03256bd6735
MD5 ec3538bc6aaac03044993741e8e79862
BLAKE2b-256 3f744629ae915940b494dd77addf6de5bbacf97d6ca8c566efbf4cb7db61d6e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 be8cbc27629a273b5472c9d08da66167b8e3548b7502547b2ec1c8e4b8b57c27
MD5 943f53dce6641b61ac92d865a397151c
BLAKE2b-256 fffa81c4557028dc1ff640fa6f8515b16f30fac5f483d0a196470dff7c8ec372

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 42610fb4671a0c31faf2402055f6c861f3875ad78f637e523d2e278e4b3571fc
MD5 0d7f87f77b5ae6b3ff2dd22f29531ad6
BLAKE2b-256 1edb889d58d9cc267176909fcf965724e236163ef8cd26ba9e8ee3db7852b2b1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.1-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 6e83381cbdaafff9f02e563b3a1c526a0db45c9eaa3e29c37b0bd4009008df69
MD5 b779bc42207c25b5a9ab5f160f1b7d3d
BLAKE2b-256 7539d7a01f393746b5536eb17a63b191adad5f0017e27e7922ce8a567cdde68a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 24e11d5ab206610b4606449cc2dfe7102badfdfd50075d3d493bfda2a9d291f6
MD5 7355fab95d2198bb7d183ef33055d3c8
BLAKE2b-256 25c8f9a78e613df63df694b24a35364597803d7ee3e18466858d5b82c552c51c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 bdf39f67742dcfce850e35ee6bb13514f03ee9ed8cf8d857e8f2c87a92d1d27f
MD5 efbdbcee0853f654ce2103d653b8a41a
BLAKE2b-256 4a2e1079086fa96c84dd7f0fe1b9900265131f7abd25fe65ae0f093ba2228466

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.1-cp311-cp311-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 df6bc723c45e525c975af41e9ff7b2c72d9c7a42cfc49534d07753b4826a9230
MD5 bf40bfc77c014064815745e435752daa
BLAKE2b-256 3acaa61b1f8955361a9b22fb81f5ad5013e46f7f6c9b010504c24d7db924ff25

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a56d39022d6e2202c2edd12739fb0df9c5ce48d1d977932a6888ed935f3ebc47
MD5 438b1e112f8323c7ff695198fed62179
BLAKE2b-256 efd58cae86a6728eeaeaeb7106cb120da2ee19cc71bd93b9201a3b36a2e5093d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 534c57f16d1aaca49c5de132fb5dac2ed4a18fcfce99a53ac40ed0f99b95cdab
MD5 bef039ec708e0662ccb0a37ef41fe147
BLAKE2b-256 6f3b5a29e1034a2142ded2adac29ea6fd6ae21f66f13da48a29c03c3942eb1e1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.1-cp310-cp310-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 e33e5cad37686d742cffe3b7607497d0196dd012fe6588076f9c4f33597593a1
MD5 fe71056ddee77a3c6c13ee035a08f154
BLAKE2b-256 1e988a263469b7f2de6a2fcc05b83e8268c80b1d9bc325a1d55c233b30eb8655

See more details on using hashes here.

Provenance

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