Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Metadata

Release files for PySDL3 0.9.12b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PySDL3 0.9.12b0
File Size Uploaded
pysdl3-0.9.12b0.tar.gz 1.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for PySDL3 0.9.12b0
File Interpreter ABI Platform
pysdl3-0.9.12b0-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / pysdl3-0.9.12b0.tar.gz

Download URL pysdl3-0.9.12b0.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
58eaa06e73c87fcec4e81ca67a4e40f3ddd76fd886734b9bcf16e328523110b0
BLAKE2b-256 checksum
How to use checksums
5bf8f192894846cb15f9dd5fcab261facd390b7f173755ff8f678b27db12af60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / pysdl3-0.9.12b0-py3-none-any.whl

Download URL pysdl3-0.9.12b0-py3-none-any.whl
Size 99.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c937757cd9a37f070dbb62c9e7355dcfbf1afc8bbbdbfc9daa3e8b02c3540c86
BLAKE2b-256 checksum
How to use checksums
af5269e571ab668f02930b64a72d95cc8a8bd29eda2d6ea986762167bb8e5810
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

0.9.12b0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page