pysdl-gpu is a wrapper around the SDL_gpu library. It depends on PySDL2, and it uses ctypes.
The SDL_gpu library, as well as its documentation, can be found here: https://github.com/grimfang4/sdl-gpu
Feel free to report bugs or make pull requests here: https://bitbucket.org/Jjp137/pysdl-gpu
Note that this library is intended to match the sdl_gpu.h header as closely as possible, and thus, following PEP-8 is less of a priority.
Usage
pysdl-gpu requires SDL2 and SDL_gpu to be installed on your system. Alternatively, the environment variable PYSDL2_DLL_PATH can be used to point pysdl-gpu to the location of the SDL2 and SDL_gpu libraries.
Once installed, simply import the library:
import sdlgpu
Refer to SDL_gpu’s documentation for a list of available functions, enums, and structures.
Licensing
pysdl-gpu is licensed under the terms of the MIT License. For more details on the terms of this license, refer to LICENSE.txt.
Release files for pysdl-gpu 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pysdl-gpu-0.1.3.tar.gz | 12.4 kB | Details |
Release files / pysdl-gpu-0.1.3.tar.gz
| Download URL | pysdl-gpu-0.1.3.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dffa5725a766e984110a2d847025c90a08a0ef842f24d03c5fbfb7366fc48e99
|
|
BLAKE2b-256 checksum How to use checksums |
8fd5b0a7a830e3c6568e3c17beaefc20269463611418408da555e901bcde31dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |