MPyC: Multiparty Computation in Python

From VIFF, via TUeVIFF, to MPyC, launched on Wednesday May 30, 2018 at the Theory and Practice of Multiparty Computation (TPMPC) 2018 workshop in Aarhus, Denmark.

See MPyC--Python Package for Secure Multiparty Computation (PDF Slides) for some background information.

Use pip install mpyc for version 0.9 (February 26, 2023) of MPyC on PyPI. The documentation of this version is available at MPyC on

Use pip install git+ to get the latest version from GitHub, with up-to-date documentation at MPyC on

See for source code and demos (Python scripts as well as Jupyter notebooks).

Try it out in the cloud!

Run MPyC without installing anything by running a Jupyter notebook in your browser with Binder: Or, click launch binder to work with the entire MPyC GitHub repo, running JupyterLab in your browser.

Run MPyC in your browser!

Run MPyC with PyScript entirely inside your web browser without any install: MPyC in PyScript.
Check out this cool YouTube video on MPC by TNO to see where the MPyC logo MPyC logo comes from!

Also, preview future extension to "Verifiable MPyC", see for code and ZKProof 2019 video (ZKProof 2019 PowerPoint) for a presentation.

See what others are doing with MPyC:

Last updated Wednesday, 01-Mar-2023 14:57:55 CET by Berry Schoenmakers.