{"id":46269910,"url":"https://github.com/s1avv/taupy","last_synced_at":"2026-03-04T03:02:07.934Z","repository":{"id":325878447,"uuid":"1102119351","full_name":"S1avv/taupy","owner":"S1avv","description":"A modern desktop framework for Python.","archived":false,"fork":false,"pushed_at":"2026-02-13T11:22:04.000Z","size":5583,"stargazers_count":95,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-13T20:20:22.403Z","etag":null,"topics":["application","desktop","desktop-app","framework","gui","python","taupy"],"latest_commit_sha":null,"homepage":"https://s1avv.github.io/taupy/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/S1avv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-22T21:17:29.000Z","updated_at":"2026-02-13T14:49:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/S1avv/taupy","commit_stats":null,"previous_names":["s1avv/taupy"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/S1avv/taupy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S1avv%2Ftaupy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S1avv%2Ftaupy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S1avv%2Ftaupy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S1avv%2Ftaupy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/S1avv","download_url":"https://codeload.github.com/S1avv/taupy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S1avv%2Ftaupy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30070479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T01:03:42.280Z","status":"online","status_checked_at":"2026-03-04T02:00:07.464Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["application","desktop","desktop-app","framework","gui","python","taupy"],"created_at":"2026-03-04T03:02:07.213Z","updated_at":"2026-03-04T03:02:07.929Z","avatar_url":"https://github.com/S1avv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/lg.png\" alt=\"TauPy\" width=\"auto\" height=\"240\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/status-alpha-orange?style=for-the-badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/python-3.11%2B-blue?style=for-the-badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/platform-Windows%2064bit-green?style=for-the-badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/runtime-WebView2-purple?style=for-the-badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-MIT-red?style=for-the-badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/speed-unbelievably%20fast-9cf?style=for-the-badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/framework-built%20for%20future-black?style=for-the-badge\" /\u003e\n\u003c/p\u003e\n\n# TauPy\n\nBuild desktop apps with **Python + Rust**, and drop in React/Vite when you want. Fast reloads, native window controls, and a tiny API surface.\n\n## Demo\n\n🎯 **Focus Timer Demo** - a small demo application showcasing TauPy window APIs,\ncompact mode switching, and a React-based UI.\n\n👉 https://github.com/S1avv/taupy-focus\n\n## Why TauPy\n- **Hybrid by design** - Python backend + Rust launcher; use Python widgets or a full React front-end.\n- **Hot dev loop** - edit → window refreshes near-instantly, no page reload dance.\n- **Native window API** - minimize/maximize/resize/drag, all routed through Python to the launcher.\n- **Shipping ready** - `taupy build` bundles your front-end, rebuilds the launcher, and Nuitka-packages the backend.\n\n## Code example (Python UI)\n```python\nfrom taupy import App, VStack, Text, Button, State\nfrom taupy.events import Click\n\napp = App(\"Hello TauPy\", 800, 500)\nmsg = State(\"Hello, TauPy!\")\n\n@app.dispatcher.on_click(\"btn_hello\")\nasync def hello(_: Click):\n    msg.set(\"Button clicked!\")\n\n@app.route(\"/\")\ndef home():\n    return VStack(Text(msg), Button(\"Click me\", id=\"btn_hello\"))\n\nif __name__ == \"__main__\":\n    import asyncio\n    asyncio.run(app.run(VStack(id=\"root\")))\n```\n\n## Install\n```bash\npip install taupy-framework\n```\n\n## Quick start (React front-end)\n```bash\ntaupy new [app_name]\ncd [app_name]\nnpm install\ntaupy dev\n```\n\n## Build\n```bash\ntaupy build\n```\nPipeline:\n1) Build React/Vite (if present) → `target/dist`  \n2) `cargo build --release` for the launcher → `target/launcher`  \n3) Nuitka bundle backend → `target/app.exe`\n\n## Performance snapshot (indicative)\n\n| Scenario | TauPy (Python + Rust) | PyQt / PySide | Tkinter | Electron |\n|--------|------------------------|---------------|----------|----------|\n| Cold start (release build) | ~300–600 ms | ~900 ms – 1.8 s | ~500–900 ms | ~1.5 – 3 s |\n| Hot reload (code → UI) | ~40–120 ms (WS diff) | Full widget refresh | Full redraw | ~200–500 ms |\n| UI update (state → render) | ~10–40 ms | QWidget update | Full widget update | Virtual DOM diff |\n| Bundle size | ~6–15 MB + dist | 40–80 MB | ~2–5 MB | 120+ MB |\n| UI stack | HTML/CSS (WebView) | Native Qt | Native Tk | Chromium |\n\n### Measurement conditions\n\n\u003e Measurements taken on Windows 11, Ryzen 7 5800X, NVMe SSD.  \n\u003e Release builds, minimal \"hello world\" applications.  \n\u003e Numbers are indicative and vary by project size and configuration.\n\n## TauPy CLI\n- `taupy dev` - run backend + external front-end (Vite) with hot reload.\n- `taupy build` - build front-end, launcher, and Nuitka bundle into `target/`.\n- `taupy new \u003cname\u003e` - scaffold a new TauPy project.\n\n## Dev vs Prod (auto)\n- Dev (`--dev`): external HTTP (Vite 5173), hot reload.\n- Prod: serves bundled `dist/` on 8000. Override with `TAUPY_EXTERNAL_HTTP` / `TAUPY_HTTP_PORT`.\n\n## 📘 Documentation\n\nFull documentation is available here:\n\n👉 **https://s1avv.github.io/taupy/**\n\n## Roadmap\n- Cross-platform launcher (Linux/macOS)\n- Native dialogs \u0026 notifications\n- Packaging presets (single-file)\n- Built-in icon set \u0026 theme presets\n- DevTools/inspector mode\n- Playground in browser\n\n## Requirements\n- Windows 64-bit, Python 3.11+\n- Rust toolchain (launcher rebuild)\n- Node.js (for React/Vite, optional)\n\n📜 License  \nTauPy is released under the MIT License. Free for commercial and personal use.\n\n💬 Contributing  \nContributions are welcome!\n\n⭐ Support the Project  \nIf TauPy inspires you - please star the repository. Every ⭐ makes development faster ❤️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs1avv%2Ftaupy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs1avv%2Ftaupy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs1avv%2Ftaupy/lists"}