Experimental Python bindings to Ghidra's SLEIGH library. Currently building for Linux-based systems, though cross-platform support is not far away (PRs welcome).
Install with PIP and Git via:
python3 -m pip install --user git+https://github.com/angr/pypcodeSee __main__.py for example usage which converts a chunk of x86 code to pcode.