PyDE is a web-based integrated development environment (IDE) tailored for Python programmers. It provides a comprehensive platform for writing, editing, and executing Python code entirely within a web browser. The aim is to offer a seamless coding experience with essential features like code editing, file management, syntax highlighting, and real-time code execution in an isolated environment for each user.
- Real-time code execution in an isolated environment
- Access to a shell container.
- Code editing.
- File management
- Hinting and auto-completion.
- Python 3.x
- Flask
- SQLAlchemy
- Flask-Login
- python-dotenv
- Other dependencies (check
requirements.txt
)
-
Clone the repository:
git clone https://github.com/aqib-abdullahi.PyDE.git
-
Navigate to the project directory:
cd PyDE
-
Create a virtual environment
python3 -m venv venv source venv/bin/activate
-
Install the required packages
pip install -r requirements.txt
-
Setting up .env
- Create a .env file in the project root
- Add your sensitive configuration data to the '.env' file.
- The configuration data should be inbetween the quotation marks.
MYSQL DB CONFIGURATION DB_HOST="" DB_PORT="" DB_USER="" DB_NAME="" DB_PASS="" USE BELOW SQL COMMAND TO INSTANTIATE DATABASE AND USE CREATE DATABASE PyDE; USE PyDE; CONTAINER CONFIGURATION IP_ADDRESS="" CONTAINER_ID="" CONTAINER_PORT="2375" MONGODB CONFIGURATION MONGODB_HOST="" MONGODB_PORT="" MONGODB_NAME="" COLLECTION NAME IN DB SHOULD BE "FILES"