Python. Client Side.

Skulpt is an entirely in-browser implementation of Python.

No preprocessing, plugins, or server-side support required, just write Python and reload.

Help, or examples: 1 2 3 4 5 6 7 8. Ctrl-Enter to run.


        

The code is run entirely in your browser, so don't feel obligated to "crash the server", you'll only stub your toe.

Interactive:

This is a very cool new feature that is just getting off the ground. This would be a great project to jump in and help out on!

What's New?

  • Python 3 Grammar. The master branch is now building and running using the grammar for Python 3.7.3. There are still lots of things to implement under the hood, but we have made a huge leap forward in Python 3 compatibility. We will still support Python 2 as an option going forward for projects that rely on it.
  • Node JS and Webpack -- We have updated our toolchain for development to use node and webpack.
  • Suspensions! This may not mean a lot to you, but trust me its going to be big. Suspensions provide the foundation for the asynchronous execution we need to build an interactive debugger, a smoother turtle module, enhanced urllib and other cool features. For developers you should check out the time module and the suspensions.txt file under doc/.
  • Stub implementations of the standard library modules. You will now get an unimplemented exceptions rather than some other file not found error.
  • General cleanup and standardization of the code. See the short description of the coding standards in the CONTRIBUTING file
  • Loads of bugfixes: see
  • slice() function implemented. And improvements to list slicing.
  • string and operator module added.
  • Keyword arguments for sorted()
  • text() function in processing

By these awesome people: Brad Miller, Scott Rixner, Albert-Jan Nijburg, Marie Chatfield, Isaac Dontje Lindell, jaspervdg, Ethan Steinberg, Jeff-Tian, Meredydd Luff and Leszek Swirski

License

Skulpt may be licensed under:

  1. The MIT license.
  2. Or, for compatibility with Python, the PSFLv2.

Please note that this dual license only applies to the part of Skulpt that is included in the runtime, and not necessarily to surrounding code for build processing or testing. Tests are run using V8, and Closure Compiler, and some test code is taken from the tinypy and Python test suites, which may be distributed under different licensing terms.

About

The Father of skulpt is Scott Graham, you can find his blog here: personal page (and blog)

My own personal page and blog is Reputable Journal