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.
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
QUICK START
# Initialize a new app (Recommended)
npm create positron-app@latest
# or
npx create-positron-app@latest
# Or install manually
pip install positron-native
# Or install from source
git clone https://github.com/tomlin7/positron.git
cd positron
pip install .
# Run examples
cd examples/react-app # or nextjs-app, vue-app, svelte-app, vanilla-app
npm install # or bun install
python main.py
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file positron_native-0.1.5.tar.gz.
File metadata
- Download URL: positron_native-0.1.5.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.12.5 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2aec3b1e0516fc449314531797146442ae6f3385b02abc13cb13dc289999ce4
|
|
| MD5 |
035289b31ffb3169674748e8536f7833
|
|
| BLAKE2b-256 |
a8d33c4ef768ccca0c1a704b04c441d5ae76fc405c7993e7efacb9f9b416ac58
|
File details
Details for the file positron_native-0.1.5-py3-none-any.whl.
File metadata
- Download URL: positron_native-0.1.5-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.12.5 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85d05df2d709078e4f28ce33136a2a8e128e53ac51afa12950dcad5338fd9a4b
|
|
| MD5 |
a9c480db115ae8b7a1aaf9504733542e
|
|
| BLAKE2b-256 |
0134c3c18639e8c2a752157e48aa29d437cb4476d1b266c81fa59a7babf7a8fd
|