Coder Social home page Coder Social logo

callahad / pyodide Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pyodide/pyodide

0.0 2.0 0.0 234 KB

The Python scientific stack, compiled to WebAssembly

Home Page: https://iodide.io/pyodide-demo/python.html

License: Mozilla Public License 2.0

Makefile 21.17% Python 38.28% Shell 0.25% C 23.26% C++ 1.89% HTML 9.57% JavaScript 3.35% CSS 2.23%

pyodide's Introduction

Pyodide

Build Status

The Python scientific stack, compiled to WebAssembly.

It provides transparent conversion of objects between Javascript and Python and a sharing of global namespaces. When inside a browser, this means Python has full access to the Web APIs.

See the demo

Building

These instructions were tested on Linux. OSX should be substantively the same.

Make sure the prerequisites for emsdk are installed.

Install lessc to compile less to css.

Type make.

(The build downloads and builds a local, patched version of emsdk, then downloads and builds Python and third-party packages).

Testing

  1. Install the following dependencies into the default Python installation:

    pip install pytest selenium

  2. Install geckodriver somewhere on your PATH.

  3. make test

Benchmarking

  1. Install the same dependencies as for testing.

  2. make benchmark

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.