Skip to main content

Build cross-platform desktop apps with Python and modern web frameworks (React, Vue, Svelte, Next.js)

Project description

POSITRON

High-performance desktop applications with Python and modern web frameworks. React • Vue • Svelte • Next.js • Vanilla JS No Node.js dependency. Pure speed.


QUICK START

npx create-positron-app@latest

CORE / INITIALIZE

from positron import App, BrowserWindow, ipc_main

app = App()

@ipc_main.handle('core:compute')
def handle_compute(event, data):
    # Heavy Python logic here
    result = {"status": "success", "payload": data}
    return result

def init():
    win = BrowserWindow({
        'title': 'Positron App',
        'width': 1200,
        'height': 800,
        'frame': False
    })
    win.load_url('http://localhost:5173')

app.when_ready(init)
app.run()

SPECS / ARCHITECTURE

  • Runtime: Python 3.9+ / No Node.js dependency
  • Renderer: OS Native WebView (WebView2 / WebKit)
  • UI: React • Vue • Svelte • Next.js • Vanilla JS
  • Build Tools: Vite / Next.js / Webpack
  • IPC: Bidirectional bridge (Electron-compatible)
  • Size: ~5-10MB (Native system renderer)
  • Support: Windows / macOS / Linux

STATUS / PIPELINE

01. FINISHED

  • Core architecture
  • Window management
  • IPC communication
  • Multi-framework support (React, Vue, Svelte, Next.js, Vanilla JS)
  • Dev server integration (Vite, Next.js, Webpack)
  • CLI scaffolding

02. BUILDING

  • Documentation (80%)
  • Additional examples

03. PIPELINE

  • Menu API
  • Dialog API
  • System tray
  • Auto-updater
  • Build tools

FRAMEWORK EXAMPLES

Positron includes complete examples for multiple frameworks:

  • React - examples/react-app - Vite + React 18
  • Next.js - examples/nextjs-app - Next.js 16 with SSR
  • Vue - examples/vue-app - Vue 3 + Vite
  • Svelte - examples/svelte-app - Svelte 5 + Vite
  • Vanilla - examples/vanilla-app - Pure HTML/CSS/JS

All examples feature the same dark minimalist UI and full IPC support.


---

### RESOURCES / LINKS

- **Documentation**: [positron.tomlin7.com](https://positron.tomlin7.com)
- **Source**: [github.com/tomlin7/positron](https://github.com/tomlin7/positron)
- **License**: MIT

---

© 2026 POSITRON CORE v0.1.0-ALPHA

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

positron_native-0.1.8.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

positron_native-0.1.8-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file positron_native-0.1.8.tar.gz.

File metadata

  • Download URL: positron_native-0.1.8.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.5 Windows/11

File hashes

Hashes for positron_native-0.1.8.tar.gz
Algorithm Hash digest
SHA256 5d101031f8c886797441cc49d8c4facad51a51af40a3b47ae51b917cda72b1e0
MD5 f56553c0000606359a76ef18283c6e87
BLAKE2b-256 09a79aae866e98eafafba48816d503abaa5150c7b83f98e42ec1987330908e74

See more details on using hashes here.

File details

Details for the file positron_native-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: positron_native-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.5 Windows/11

File hashes

Hashes for positron_native-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a78360aa34dc16d847ab05fa311050ccce35558642ebd6ffbbc3b6962eb7f618
MD5 76a2fd9a742999bc51817c417e812a09
BLAKE2b-256 8846c3b9b377dea41c36223c6b7126b365855b6292b5c56fc7b1ca431570e6e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page