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.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 341cfee90418b7c9737cdf0aaa66ce842648525031f67dc99c602b23867c98ff |
|
MD5 | 0afe75d1fed47450f652dcaf810fb6bf |
|
BLAKE2b-256 | 31a3b9a7c81f8ce1b1c3c5374dd1035b030386a71fca311e581bbe281f7ea135 |