Skip to main content

A pure Python wrapper for SDL3.

Project description

PySDL3

Logo

Tests PyPI Python Versions PyPI Version PyPI Downloads PyPI Status

PySDL3 is a pure Python wrapper around the SDL3, SDL3_image, SDL3_mixer, SDL3_ttf, SDL3_rtf, SDL3_net and SDL3_shadercross libraries. It uses the built-in ctypes library to interface with SDL3 while providing an understandable function definition with docstrings, argument names and type hints, like this:

Screenshot

Getting Started

Just run one of the following commands in a terminal:

# To install the latest stable version from PyPI:
pip install --upgrade PySDL3

# To install the latest development version from GitHub:
pip install --upgrade git+https://github.com/Aermoss/PySDL3.git

Requirements

There are no additional requirements since PySDL3 will download all the necessary binaries for you on the first run.

SDL3 binaries will be downloaded from PySDL3-Build repository, if you want to use your own binaries please read the documentation.

Supported Platforms:

  • Linux (AMD64, ARM64)
  • Windows (AMD64, ARM64)
  • Darwin (AMD64, ARM64)

Documentation

The documentation of PySDL3 can be found at: https://pysdl3.readthedocs.io.

If you can't find what you are looking for there, it is highly recommended to look at the official documentation of SDL3 since everything is defined exactly the same.

License

PySDL3 is available under the MIT license, see the LICENSE file for more information.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysdl3-0.9.8b7.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

pysdl3-0.9.8b7-py3-none-any.whl (94.3 kB view details)

Uploaded Python 3

File details

Details for the file pysdl3-0.9.8b7.tar.gz.

File metadata

  • Download URL: pysdl3-0.9.8b7.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for pysdl3-0.9.8b7.tar.gz
Algorithm Hash digest
SHA256 f6d93da13c66640286720cb7a8ee7d251ba1971f37f398b85b82e345f2e6a6d5
MD5 9dc01680dc939ab11ee6077cdae76f1f
BLAKE2b-256 7baca4cf3e942385daf981bfe1dc4cbd9c596e6eba92ee6ae0b7c3874d547d95

See more details on using hashes here.

File details

Details for the file pysdl3-0.9.8b7-py3-none-any.whl.

File metadata

  • Download URL: pysdl3-0.9.8b7-py3-none-any.whl
  • Upload date:
  • Size: 94.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for pysdl3-0.9.8b7-py3-none-any.whl
Algorithm Hash digest
SHA256 5bd2e21b9f6097c3693439267a831fa700eb989a74e65ad2bb342cfbd98a5821
MD5 8f385ac1de57c07843a6e1bfeddae491
BLAKE2b-256 2995d7f3a3d84551c8ff47ad5ed0e5d2d4b9e08ea905b14946b7f7f5a61e1d5d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page