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.12b1

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.12b1
File Size Uploaded
pysdl3-0.9.12b1.tar.gz 1.4 MB Details

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / pysdl3-0.9.12b1.tar.gz

Download URL pysdl3-0.9.12b1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
9ac97d50906e858dcf2cdcf7f489dd5d08c06680f6d7a2d4d5a763424138817a
BLAKE2b-256 checksum
How to use checksums
184c6d2fb9511fcdee68e93ebc94c1259f7c30a3af158160d99ef98ccce895c0
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.12b1-py3-none-any.whl

Download URL pysdl3-0.9.12b1-py3-none-any.whl
Size 99.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ddced58f07bb2c80d657c718c5a70f1b792580fccbc3efbbcdaeee26ffe77f7
BLAKE2b-256 checksum
How to use checksums
1fab6ca0ae619bd75a79c289c84939b0e9067f76bfdcb0d51a4300f323ffad11
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.12b1 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