An open API service indexing awesome lists of open source software.

https://github.com/cutwell/github-browser-python-runtime

Run .py files locally in the browser.
https://github.com/cutwell/github-browser-python-runtime

Last synced: 4 months ago
JSON representation

Run .py files locally in the browser.

Awesome Lists containing this project

README

          

![Online GitHub Python Interpreter](data/img/icon128.png "Online GitHub Python Interpreter")

Run python files from within GitHub file pages.

![manifest shield](https://img.shields.io/badge/Chrome%20Manifest-v2-blue, "manifest shield")

| |
|:---:|
| ![chrome web store](github/images/chromewebstore_logo.png "chrome web store") |
| Install this extension in the [Chrome web store](https://chrome.google.com/webstore/). |

## About
| |
|:---:|
| ![example UI](github/images/chromewebstore.jpg "example UI") |
| This extension creates additional UI within the GitHub file viewer, allowing users to run .py (python) files within the browser. |

Powered by [Skulpt](https://github.com/skulpt/skulpt), this extension allows supports the majority of the Python3 language, and includes a wide number of standard library modules.

## Manual installation
| |
|:---:|
| ![extension page](github/images/extension_page_load_unpacked.PNG "extension page") |
| Navigate to `chrome://extensions` and `load unpacked`. |

1. Clone this repository onto your device.
2. Navigate to `chrome://extensions/` (replace `chrome` with the name of your Chromium-based browser, for instance `opera://extensions/`).
3. Open the file explorer using `Load unpacked` and navigate to the root folder of this repository.
4. Select this folder, and the extension should load into your list of browser extensions.

## License
MIT