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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.10Windows x86-64

pysupertuxkart2-0.6.4-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.4-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.4.tar.gz.

File metadata

  • Download URL: pysupertuxkart2-0.6.4.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.4.tar.gz
Algorithm Hash digest
SHA256 3c0d82db42dd9abaafb6bdfa61783d895c245c056fbcf7ad9d267a62f4d6745e
MD5 96bdf55adc9525f213b39e4b34163c44
BLAKE2b-256 458b37f42d142511af833599be75c7ee9bfc9d5f646b07c90b40f56bb6a527cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1ae8d2c2ccde0a78efda6d478b0676e16b8e073278728b5f45c4f6b736298d6d
MD5 02197da8369503134e4d8377084ab815
BLAKE2b-256 7d3221e3ce60a23e0e45e9d450e519b6dcb96ad9b00e222d5fd2f4a6ec073647

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.4-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 917187b0b9ebcea3cb4d3b876842457730fd83a575581dd4d1d59bc2c372217f
MD5 811510c57957fc44aa0401cdacb13f94
BLAKE2b-256 4c7ac3005854cce68f83586e292b96ff323256f9ba62084c20e21071a3f0196b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.4-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 a3f32662f009b7278212a487d457cff6430056e87f5565389c8316313d6883e5
MD5 18d23f5852bb5bcdd412681f9b483ea2
BLAKE2b-256 90bb5c6905153ee85d6f87aa01fd00c84fbfa46f9932b89fc1ec555a4664868e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 abd335b8b7d97e636657d76ad10acf74502d3062867496bb25fa8ce68f48b0bd
MD5 d4826ddabf29506aa75006d45d43ad49
BLAKE2b-256 459bafe52ca1f74abb097eaf780321ece26d29ed0bc811bc8f78e2420fc7fae9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.4-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 85eb363ea758abfceaeac5ed60ec573926d69557c0ace54ec32dabd2e238a181
MD5 6d78699fa16d459997b269b4c7c533fa
BLAKE2b-256 92caa8518d0ce75be2123ca82b4c136e693d05dba67087cb283911b81943a1d7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.4-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 5f1f808b3d5b5de6543e4ebaf8e6fcfafdf37d9cc51705f8fecac23701ad61d4
MD5 872a9134d17b5bb23875afdcf6057ad3
BLAKE2b-256 4ee35df5649021e8d73bf9ffe90fe0c48a98aefd85ab78cd15e7b0a8182b6b30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6952f944212f77a340c97fc0d35a8c927b046da5b385dae9eb123cefd36d1b01
MD5 a05336e8d57a15bf4534a9562a3c7dbc
BLAKE2b-256 545f26c0e3f066679e868bd431a58dc709f75aaa5e589df840ed7563be31ed86

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.4-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 55870e6c70ab1ec07c5cbf9223d7a5b58463c7ea409b42b658c3cee9655437b6
MD5 ad4bd5a89bc843a159a978b4b085ec58
BLAKE2b-256 2f4e2382c6bf9f584f4cc68c2683cd640f3f9e3635c7dcb21202dcaff90fb79d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.4-cp311-cp311-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 8ccf566a4ec8b93663bad4a47b18507486519e974cdb65d05fa69c331478168a
MD5 e1474703a529a3cbb7d5c42b17de6caf
BLAKE2b-256 2f3c3367ad1f111fa6682a18629eb8c7a151dd63848308a7bd48575ac30b16b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 25a81b48d8c530ac623328245026b4b478ee7c0cc2a24032daf276ddeb0995b8
MD5 ee997ec11adc5e5d6fcd387e0332bda0
BLAKE2b-256 40945d6aa47868a8439903ac7fb778ae0ac342bd230c45e31ed1d122593cdf74

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.4-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 735c90bbf51817589833b7746471a3cd93190428fa1047506fd9ed57bfa8b3ef
MD5 0d0cbb772ac76e7d4ad4eeb99cef0427
BLAKE2b-256 befc1bc29df2aee0a5d8a53fd47d5ec3419fb194d84d3cb90dd5fca0ae527eb8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.4-cp310-cp310-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 993c0c73e77a13d91e161b85dc8654cce5ec0f0f5c7c9aafb02d92a70e950cc1
MD5 8c8e3dec977bcbe5f44c5c335fe1af68
BLAKE2b-256 f99b88ae43fac07c0b5cd35b5b42cac6b7bcf5b4b3218fd3e6d21a4256b5e9a1

See more details on using hashes here.

Provenance

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