README.md 838 Bytes
Newer Older
1 2 3
# Python Binding of the Mu Client API

The Python binding allows the client to be written in Python. This binding is
4 5
based on the `ctypes` module and is tested on Python 2, Python 3, PyPy and
PyPy3.
6

7 8 9 10 11 12 13
**PyPy-on-Mu contributors**: If you are working on the PyPy project and need to
construct Mu IR bundles from the interpreter or the JIT compiler themselves, you
should use the RPython binding provided by
[mu-client-pypy](https://gitlab.anu.edu.au/mu/mu-client-pypy). The RPython
binding can use either the C API or the common instructions counterpart when
appropriate. We are actively working on the PyPy project.

14
It depends on the C binding. You need to build the C binding in the
15
[../cbinding](../cbinding) directory before using this Python binding.
16 17 18

# How to use

19
See the docstring in [libmu.py](libmu.py)
20 21 22 23

<!--
vim: tw=80 spell
-->