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.10 (April 16, 2024) 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).

Run MPyC in your browser!

Run MPyC with PyScript entirely inside your web browser without any install:

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.
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 Tuesday, 16-Apr-2024 19:21:44 CEST by Berry Schoenmakers.