https://github.com/mosure/bevy_python_ffi
run and interact with bevy apps from python
https://github.com/mosure/bevy_python_ffi
Last synced: 4 months ago
JSON representation
run and interact with bevy apps from python
- Host: GitHub
- URL: https://github.com/mosure/bevy_python_ffi
- Owner: mosure
- License: mit
- Created: 2024-04-20T00:50:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-08T15:13:48.000Z (12 months ago)
- Last Synced: 2025-02-28T03:26:56.139Z (4 months ago)
- Language: Rust
- Size: 28.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bevy_python_ffi 🧩
[](https://github.com/Mosure/bevy_python_ffi/actions?query=workflow%3Atest)
[](https://raw.githubusercontent.com/mosure/bevy_python_ffi/main/LICENSE)
[](https://github.com/mosure/bevy_python_ffi)
[](https://github.com/mosure/bevy_python_ffi/releases)
[](https://github.com/mosure/bevy_python_ffi/issues)
[](http://isitmaintained.com/project/mosure/bevy_python_ffi)
[](https://crates.io/crates/bevy_python_ffi)run and interact with bevy apps from python
## run the example app (from python)
- `pip install examples/minimal`
```python
import bevy_python_minimalbevy_python_minimal.main(False) # new_thread=False
```- `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` |