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.9.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.9-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: positron_native-0.1.9.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.9.tar.gz
Algorithm Hash digest
SHA256 cc047dcf7bf30567898791570b362ea63126b45ba71fee9a05d817d536931a46
MD5 ac8a6fd4fda96917d7c8e94d004c4b87
BLAKE2b-256 c65187d4823fc7dafc022204b92e497f45bf01e530cf77ba2956eb25e7ec4de9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: positron_native-0.1.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 220b312ea23b0f2c9b36fa986dd7b3062d92632c5c187b59f5c38256e51990d0
MD5 8da2ebc9d8c7278b5f2d77b5b2e4ff4f
BLAKE2b-256 edf738df2b5621dbb429bf92d66f0d5f91bf1980c2831effdbcb3102f784d71e

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