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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.10Windows x86-64

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

File metadata

  • Download URL: pysupertuxkart2-0.6.7.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.7.tar.gz
Algorithm Hash digest
SHA256 f14d0d92c8db9c7740e93c1038899575b74f5267fdec8a567aac98a8761be776
MD5 95336f09529d5d9079dc61c4437aac6d
BLAKE2b-256 5465855fe706b1b871b8196aa3c5106ac3a74c8b23afdf0147734ab872eb7721

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d7a50c034e96462e016f0bc9317d044ff63b59e7043ac7a04ab1eaea9ef9a7a3
MD5 365462c078b5a6ec25a3824574189989
BLAKE2b-256 20e70947959fc92682331ebc95a6364476eac58e83ae94c7472e9e4195ee0d3e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.7-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 96b9585bbaad599d170495090cf1ebbc457eaa8e2fb67764ef10e68500b7dbb8
MD5 41113342f6703644fa48faef4b21a6bc
BLAKE2b-256 de27933f0db72e4e1a33714e827aab450a928e7a14c8200420064db4b082bf46

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.7-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 6df2a4a29cbfb77aa34d9de0bbe3043a86aac7073cb47375fbbc3321d47ee911
MD5 7f3049d2c5a169fd2e4d987d06f80176
BLAKE2b-256 1a787fcd732c7960cc2c6ab3e813a35b330ed2022630a160a14c4afd50b5f76b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d5419b3f7fdbfa76e2a4e83aaa3b2b952f1a4d3d3f863d0cd345616d5ec1db32
MD5 f837ff5725d55620ec61f52238a44325
BLAKE2b-256 d08a0fc40a14b359790e2f2cbf46bed2207e4510ac6ca33a0d5cdb6e69e06cf9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.7-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9acc5d258fed9dbbf2065c5a6b6c2d8a2beb370b9c440e77f33fe560cd20300d
MD5 19a6bd77c78b9a8f65e96f3ecdf7b039
BLAKE2b-256 1e86a2540aa9b248db13c5416846574d3467130652f12916e2a66d475a1b51ce

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.7-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 a2bf5cb6f1d17223faa7d1688a51c92ff8b60926e01bcc475f98e7befc1aea91
MD5 38698a4f66a46afa404eb175a4b3219f
BLAKE2b-256 d87738d408b1eda196ea8cc82de66776f9afe2338cb741aefe1237119b3a5174

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3153abd19c0a374a9c48aca82668df5bc31fe2be02b1528093eddf0a439f5cb7
MD5 763e12847820386617ce73d28e4a4257
BLAKE2b-256 c542be0c90336af76b7d5648a3b4739423c82f6a5d0f1d540df3ea4edc8af672

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.7-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ab5eef613cf78a86550c9f733d2c40cce26edf128ac25a057c690a25d5999ce5
MD5 346addec34ec3a7dc131d5d0b8bff7db
BLAKE2b-256 a0965f71e2d9be928bf4944e396047845b48d6d8bc44edf7db2c65f2f9a4096a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.7-cp311-cp311-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 e096c11242a3939d25085919e224ce31024d5ca021e160077756607ec661f083
MD5 5c3f6f9c83e6c13854db8b07cf6b0658
BLAKE2b-256 e457f2a2286f93141dd80c0389da4f5d8a4a357239417b2203df9464a34cf44d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2589dfe46fcc987db1d19f7bacacfc66e1e10ed230337896a4ff201009d18e8b
MD5 e4d2338b45fd15c86f0c7b242e04d748
BLAKE2b-256 5a936b024ea1826155543515a55ee8017cd689ce784bc7b2f893a87dc380f6d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.7-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 4a7ef7ab7148fa1c475d1d28e0be1539a13c867e9ff0a3427eb219c08fb434ec
MD5 017165c9a36656a14304f5759de8353b
BLAKE2b-256 971e81ffde85d2eeb2fed53773651a876ab3be9d7704cf4115bad1dae1d43261

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pysupertuxkart2-0.6.7-cp310-cp310-macosx_10_11_universal2.whl
Algorithm Hash digest
SHA256 a2cef8e6dd6b97c0ee007e5af9ea885ec471f9148ee84e92503687abaaf802a8
MD5 cd3d39cf10865cd9d3f99f3d3b84db2c
BLAKE2b-256 7068ac5bca042acfcaafba20abe0d442866a4ce09957eb7466322420bf1dbdbc

See more details on using hashes here.

Provenance

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