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

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-3.7.0.post9.tar.gz (2.4 MB view details)

Uploaded Source

File details

Details for the file raylib_dynamic-3.7.0.post9.tar.gz.

File metadata

  • Download URL: raylib_dynamic-3.7.0.post9.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for raylib_dynamic-3.7.0.post9.tar.gz
Algorithm Hash digest
SHA256 4724603147ac5836f77219e69cabf167ec31f248bd9d024d1e60da8f3a7ad72a
MD5 ac16a24863f2b600ff8f1b942d3372b4
BLAKE2b-256 bb84fe055f471b1d791fed306b99c267d8c4bd27781367500708a1c0ba55c85e

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