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.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c646399935c8441c01da02a3e49f3b799f65792e2159435c01df0cfb768daf9 |
|
MD5 | 9dce277c4de29622571d554ba78d21b2 |
|
BLAKE2b-256 | d2114cadbb22ed985dcc035619a9ceeddf87561da1a83e369b327ddd6afee3bc |