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
The 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.
Metadata
Release files for raylib-dynamic 6.0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| raylib_dynamic-6.0.1.0.tar.gz | 3.2 MB | Details |
Release files / raylib_dynamic-6.0.1.0.tar.gz
| Download URL | raylib_dynamic-6.0.1.0.tar.gz |
|---|---|
| Size | 3.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22a8af62a866f224c0e422bcc663edf3c07dcaf9bd4606abdf2b6747c2edd58d
|
|
BLAKE2b-256 checksum How to use checksums |
336b2d844ec97afdbffcb4fb24f044a63cf566cf1a94a37b1c4b73895edc2836
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|