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.
Metadata
Release files for raylib-dynamic 3.7.0.post10
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-3.7.0.post10.tar.gz | 2.4 MB | Details |
Release files / raylib_dynamic-3.7.0.post10.tar.gz
| Download URL | raylib_dynamic-3.7.0.post10.tar.gz |
|---|---|
| Size | 2.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
674d0437f1f681bc4c122183aca3702d4877fb28f026b26ba043e600dbbc8c37
|
|
BLAKE2b-256 checksum How to use checksums |
0484dcb90cd78f81e504d517d3f27c99ffaa484fa6d2bc91e60d4bb58d69ecaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
|