Skip to content

An advanced development environment that combines markdown processing with Python code execution capabilities.

License

Notifications You must be signed in to change notification settings

Coder-soft/PowerPython

Repository files navigation

Power Python Compiler & IDE

An advanced development environment that combines markdown processing with Python code execution capabilities.

Overview

The Power Python Compiler & IDE allows users to write markdown documents with embedded Python code that gets executed and rendered into rich HTML pages. This tool provides a unique way to create interactive documentation, tutorials, and web pages with live Python code execution.

Features

  • Markdown with custom rules support
  • Embedded Python code execution (python-power blocks)
  • Custom CSS styling (css-power blocks)
  • HTML attribute syntax (IDs and classes)
  • Frontmatter metadata support
  • Full HTML tag support
  • Web-based IDE interface
  • Desktop IDE with syntax highlighting
  • Real-time preview
  • Export capabilities

Installation

  1. Clone the repository
  2. Install the required dependencies:
pip install -r requirements.txt

Usage

Command Line Compiler

python compiler/main.py input.md -o output.html

Web IDE

python ide/app.py

Then open your browser to http://localhost:5000

Desktop IDE

python ide/desktop_ide.py

Project Structure

SSA2/
├── compiler/       # Core compilation engine
├── ide/           # Web-based IDE and Desktop IDE
├── examples/      # Sample files
├── docs/          # Documentation
└── tests/         # Unit tests

Documentation

Contributing

Contributions are welcome! Please read contributing.md for guidelines.

License

MIT License

About

An advanced development environment that combines markdown processing with Python code execution capabilities.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published