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 and SDL3_net 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.3b1.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

PySDL3-0.9.3b1-py3-none-any.whl (78.6 kB view details)

Uploaded Python 3

File details

Details for the file pysdl3-0.9.3b1.tar.gz.

File metadata

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

File hashes

Hashes for pysdl3-0.9.3b1.tar.gz
Algorithm Hash digest
SHA256 525a0a3a2d7713ecdd46878e1d560d9cf4bc43ecbf0f99afd9d5a99e2173387c
MD5 c00d121321b3b337e47858a6c30e2356
BLAKE2b-256 07d8a0d5c2b7775ebbe014d1d40746d96b877a4068c916c7eab654765321f848

See more details on using hashes here.

File details

Details for the file PySDL3-0.9.3b1-py3-none-any.whl.

File metadata

  • Download URL: PySDL3-0.9.3b1-py3-none-any.whl
  • Upload date:
  • Size: 78.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for PySDL3-0.9.3b1-py3-none-any.whl
Algorithm Hash digest
SHA256 bafbef7f95214b2c2ee6da5b2c4f78a8766efb3aafaf33f316c9855930e5ad59
MD5 74de55856fe9894d48cb00f5fa9a4d38
BLAKE2b-256 0a919747bdfe54ae9c01c0f114ea7f1c280a48dd0911aec1cd5f64bd15d6d047

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