Code Monkey home page Code Monkey logo

kazcfz / runmypython Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 13 KB

RunMyPython is a web-based Python execution module built using the Flask framework. It allows secure execution of arbitrary Python code directly via web interface and preview of executed results.

License: MIT License

Python 21.03% HTML 70.32% Dockerfile 8.65%
arbitrary arbitrary-code-execution docker flask python python-exec python-execution python-interpreter python3 python-playground

runmypython's Introduction

RunMyPython

RunMyPython is a web-based Python execution module built using the Flask framework. It allows users to execute custom Python code snippets directly from their web browser and view the executed results. This project is designed to be Docker-based, ensuring secure execution of arbitrary Python code.

Features

  • Clean & Simple GUI – User-friendly web interface!
  • Secure – Safely execute arbitrary codes!
  • Lightweight – Less than 0.005MB!

Getting Started

  1. Download source code / Clone repository
  2. Navigate to project directory cd RunMyPython
  3. Run docker build -t runmypython . to build the Docker image
  4. Run docker run -p 5000:5000 runmypython to run the Docker container
  5. Navigate to http://localhost:5000 on your browser to access the running Flask app

Usage

  1. Navigate to http://localhost:5000
  2. Write your Python code in the editor
  3. Click on the "Run" button to execute it
  4. Output of your code execution will be displayed beside the code editor

Screenshot Preview

runmypython's People

Contributors

kazcfz avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.