Skip to main content

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raylib_dynamic-5.0.0.0.tar.gz (3.1 MB view details)

Uploaded Source

File details

Details for the file raylib_dynamic-5.0.0.0.tar.gz.

File metadata

  • Download URL: raylib_dynamic-5.0.0.0.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for raylib_dynamic-5.0.0.0.tar.gz
Algorithm Hash digest
SHA256 400a11f4fb9827f3e436d24dc9bcdd393af56aff85b01f8567a6ef182d3f91a3
MD5 82e81666c03ab68d8468ca128bac6282
BLAKE2b-256 597e5c3dfb663d9828e277336986615cfe0ba1209f46e0f7fa36f20812843eed

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page