#python #bevy #pyo3

bevy_python_ffi

run and interact with bevy apps from python

2 unstable releases

0.2.0 Apr 22, 2024
0.1.0 Apr 20, 2024

#1481 in Game dev

45 downloads per month

MIT license

11KB
210 lines

bevy_python_ffi 🧩

test GitHub License GitHub Last Commit GitHub Releases GitHub Issues Average time to resolve an issue crates.io

run and interact with bevy apps from python

run the example app (from python)

  • pip install examples/minimal
import bevy_python_minimal

bevy_python_minimal.main()
  • python ./examples/minimal/python/main.py

development

depending on environment, you may need to open shell from a python virtual environment to build

  • python -m venv .venv
  • source .venv/Scripts/activate

compatible bevy versions

bevy_python_ffi bevy
0.1 0.13

Dependencies

~38–75MB
~1.5M SLoC