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.1.0.0.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d578189cc7062d54f2efc8ce97e9a4a78d9cb6bb9d81268a03145f370b40d0db |
|
MD5 | 5f25fe0567ba86f395d7a0ff79b141cd |
|
BLAKE2b-256 | 7947d42dbbaf93d324e7c304bd7df7fe86034f12e254f261737abf056fdd9523 |