All Projects → dgym → Cpython Emscripten

dgym / Cpython Emscripten

Licence: other
Python in the browser - CPython compiled with emscripten

Labels

Projects that are alternatives of or similar to Cpython Emscripten

Yolo
Kill a random process
Stars: ✭ 59 (-13.24%)
Mutual labels:  makefile
Python Docs Zh Tw
Stars: ✭ 63 (-7.35%)
Mutual labels:  makefile
Example Project
Example Python DS project
Stars: ✭ 65 (-4.41%)
Mutual labels:  makefile
Buildroot
Buildroot fork with some customizations for RPi and BBB
Stars: ✭ 60 (-11.76%)
Mutual labels:  makefile
Ansible In Action
Ansible playbook to deploy your Laravel code base to VPS
Stars: ✭ 61 (-10.29%)
Mutual labels:  makefile
Openvoiceos
OpenVoiceOS is a minimalistic linux OS bringing the open source voice assistant Mycroft A.I. to embbeded, low-spec headless and/or small (touch)screen devices.
Stars: ✭ 64 (-5.88%)
Mutual labels:  makefile
Tutorials
🎓 Practical beginner-level introductions to using different tools and technologies, with a focus on their application in the newsroom
Stars: ✭ 59 (-13.24%)
Mutual labels:  makefile
Telephony
The telephony packages feed
Stars: ✭ 66 (-2.94%)
Mutual labels:  makefile
Reactnative Jwts
Authenticating a React Native app with JSON Web Tokens
Stars: ✭ 62 (-8.82%)
Mutual labels:  makefile
Curl Docker
official docker image for curl
Stars: ✭ 64 (-5.88%)
Mutual labels:  makefile
Documentbuilder
ONLYOFFICE Document Builder is powerful text, spreadsheet, presentation and PDF generating tool
Stars: ✭ 61 (-10.29%)
Mutual labels:  makefile
Proprietary vendor sony
Stars: ✭ 61 (-10.29%)
Mutual labels:  makefile
Makebakery
A static website generator built on GNU Make.
Stars: ✭ 64 (-5.88%)
Mutual labels:  makefile
Voicenet
Speech synthesis platform based on tensorflow and sonnet
Stars: ✭ 60 (-11.76%)
Mutual labels:  makefile
Openwrt Packages Yun
Stars: ✭ 65 (-4.41%)
Mutual labels:  makefile
Portfolio
Create a beautiful Portfolio using GitHub pages
Stars: ✭ 59 (-13.24%)
Mutual labels:  makefile
Counter Strike Docker
Docker image for Counter-Strike 1.6 server
Stars: ✭ 63 (-7.35%)
Mutual labels:  makefile
Ocaml Makefile
Easy to use Makefile for small to medium-sized OCaml-projects
Stars: ✭ 67 (-1.47%)
Mutual labels:  makefile
Ngrok K8s
Using ngrok to expose k8s services
Stars: ✭ 66 (-2.94%)
Mutual labels:  makefile
Clourmusic flutter
flutter 仿网易云音乐app
Stars: ✭ 65 (-4.41%)
Mutual labels:  makefile

Python in the browser

The aim of this project is to make Python usable in the browser. This is done using the standard Python implementation (CPython) compiled with emscripten to generate an Web Assembly library.

The benefits of this approach are:

  • This gives access to a full Python implementation.
  • Wasm can be pretty fast, so the interpreter is still quite useful.
  • It supports existing extension modules.
  • It supports Cython for speeding up the code and binding to C/C++.

If you have a Python application using SDL (1 or 2) and maybe OpenGLES 2 then this project could help you deliver it via the browser.

Prerequesits

The build requires a complete development toolchain for the build system. This is used to build the portions of Python required for bootstrapping the complete Python build.

Emscripten is also required for the cross compilation. Emsdk 2.0.1 has been tested, and there are known issues with 2.0.2 - 2.0.14.

Some of the examples use Cython which can be installed with pip. Versions 0.20.1 and above have been used successfully.

Credits

Many of the patches and instructions are derived from the excellent work of Marat Dukhan on the EmCPython project.

Python Versions

3.6.13

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].