Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mosure/bevy_python_ffi
run and interact with bevy apps from python
https://github.com/mosure/bevy_python_ffi
Last synced: 3 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 (9 months ago)
- Default Branch: main
- Last Pushed: 2024-07-08T15:13:48.000Z (6 months ago)
- Last Synced: 2024-10-08T08:10:14.821Z (3 months ago)
- Language: Rust
- Size: 28.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bevy_python_ffi 🧩
[![test](https://github.com/mosure/bevy_python_ffi/workflows/test/badge.svg)](https://github.com/Mosure/bevy_python_ffi/actions?query=workflow%3Atest)
[![GitHub License](https://img.shields.io/github/license/mosure/bevy_python_ffi)](https://raw.githubusercontent.com/mosure/bevy_python_ffi/main/LICENSE)
[![GitHub Last Commit](https://img.shields.io/github/last-commit/mosure/bevy_python_ffi)](https://github.com/mosure/bevy_python_ffi)
[![GitHub Releases](https://img.shields.io/github/v/release/mosure/bevy_python_ffi?include_prereleases&sort=semver)](https://github.com/mosure/bevy_python_ffi/releases)
[![GitHub Issues](https://img.shields.io/github/issues/mosure/bevy_python_ffi)](https://github.com/mosure/bevy_python_ffi/issues)
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/mosure/bevy_python_ffi.svg)](http://isitmaintained.com/project/mosure/bevy_python_ffi)
[![crates.io](https://img.shields.io/crates/v/bevy_python_ffi.svg)](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` |