Home - itzmetanjim/py-positron GitHub Wiki

WARNING- ALL DOCUMENTATION IS CURRENTLY AI GENERATED PLACEHOLDER SLOP

Welcome to the PyPositron documentation! This guide will help you get started with building cross-platform desktop applications using HTML, CSS, and Python.

Table of Contents

What is PyPositron?

PyPositron is a Python framework that allows you to build cross-platform desktop applications using web technologies (HTML, CSS) with Python as the backend and frontend. Think of it as Electron for Python developers.

Key Features

  • 🚀 Easy to use: Simple CLI commands to create and manage projects
  • 🎨 Web-based UI: Build your interface using HTML and CSS
  • 🐍 Python backend: Use Python for all your application logic
  • 📦 Virtual environment support: Isolated project environments
  • 🔧 Cross-platform: Works on Windows, macOS, and Linux
  • Lightweight: Efficient installer creation using existing browsers

Quick Example

import py_positron as main

# Open a window with your HTML file - automatically starts the app
main.openUI("views/index.html", None, 900, 700, "My App")

Support

License

PyPositron is licensed under the AGPL-3.0-or-later license.