Skip to main content

Effortlessly run Python code in your React apps.


Quick and easy setup

Get up and running in minutes, with no complex setup or configuration. Integrate Python into your web applications and enjoy the full power of the language in the browser.

Interactive examples

We also provide a wide range of interactive examples to help you get started quickly. Explore the documentation to see examples of using packages, importing custom modules, dealing with user input and more.

Web worker support

The Python WebAssembly environment is spawned as a web worker, separately from the main thread. This prevents blocking UI interaction and ensures that your application remains responsive. is a Python interpreter in your browser.

Powered by react-py, PyRepl is made for creating and sharing code snippets. Embed interactive Python examples in your documentation, blog posts, presentations and more.

App screenshot