An open API service indexing awesome lists of open source software.

https://github.com/runfalk/python-async-ffi-demo


https://github.com/runfalk/python-async-ffi-demo

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

How to make make async FFI calls in Python
==========================================
This is an example of how to do C
[FFI](https://en.wikipedia.org/wiki/Foreign_function_interface) in an async
Python program. It is intended to be an example of how one can implement it.
Please use this as a base for implementing your own FFI.

Run the example
---------------
This requires [Rust](https://rustup.rs/) to be installed.

```bash
cargo build
python example.py
```