Python CFFI bindings for Raylib DLL version
Project description
CFFI ABI dynamic bindings avoid the need to compile a C extension module. They now been moved to a separate module:
python3 -m pip install raylib_dynamic
API is exactly the same as the static one documented here. (Therefore you can’t have both modules installed at once.) The only difference is you can’t do:
from raylib import *
Instead you have to do:
from raylib import rl
Then you access the functions with rl. prefix.
See https://github.com/electronstudio/raylib-python-cffi/blob/master/dynamic/test_dynamic.py for an example.
If you use the rl. prefix then code will work on both static and dynamic bindings.
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
Close
Hashes for raylib_dynamic-4.2.0.0.dev0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28994c2fa179b3b6e3d4b1a8bd2c8e2f7d1026c3faba48becfad0fa7f6e0b9ca |
|
MD5 | 5405c11aacc12a89c9ef08c7840c7af4 |
|
BLAKE2b-256 | b99c359ef7dbb5776cee1ed8e5c4589ead29c199fc89c58e826f563978f405ae |