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.5.0.4.tar.gz (3.2 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: raylib_dynamic-5.5.0.4.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.1.dev28+g60e377bd5 CPython/3.13.11

File hashes

Hashes for raylib_dynamic-5.5.0.4.tar.gz
Algorithm Hash digest
SHA256 fcf9e766c1bd5951f5fa411b29b958b9449c1388f0c06ae2c0773d489f550139
MD5 15f821854c47bb932f27690ddb3b0be3
BLAKE2b-256 be18652c4ee2dab12755b2f90bc594f2596087f15e02421080e0438a1d48d9f5

See more details on using hashes here.

Supported by

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