mantipy-gui
Modern GUI framework for Python that bridges the gap between web technologies and native applications.
🧠 Why mantipy-gui?
mantipy-gui solves the real pain points in Python GUI development:
🔥 1. Modern UI Without JS Framework Hell
- Use any HTML/JS frontend: React, Svelte, HTMX, or plain HTML
- Embed it into a native Python window, without Electron bloat
- Full JavaScript, CSS, video, canvas support — because it's Chromium
🧩 2. Native App Logic in Python
- Button clicks, IPC, data processing — all in Python
- Your whole backend and frontend in one language
🌐 3. Pluggable DNS Resolution
- Support .evr, .dao, .ipfs, .lnbtc, or your custom protocol
- A single function hook makes your browser/app future-ready
🛠️ 4. Customizable UI Layout
- Native widgets (sidebars, tabs, console) can live beside the browser
- Build apps, not just websites
🧪 5. Perfect for Local-first, Decentralized, and dApp UIs
- Build powerful offline tools with web interfaces
- Native .evr access with no DNS hacks
- Self-contained IPFS-UI frontends
Installation
pip install mantipy-gui
Quick Start
from mantipy_gui import Window, BrowserView
app = Window(title="My Mantipy App")
browser = BrowserView()
app.add_view(browser)
# Load from URL
browser.load("https://example.com")
# Load local HTML
browser.load_html("<h1>Hello from Mantipy!</h1>")
# Custom domain resolution
@browser.resolver(".evr")
def resolve_evr(domain):
# Your custom resolver for .evr domains
return f"https://ipfs.io/ipfs/your-hash"
app.run()
Examples
Check out the examples directory for more use cases.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for mantipy-gui 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mantipy_gui-0.2.0.tar.gz | 36.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mantipy_gui-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 83.6 kB
Release files / mantipy_gui-0.2.0.tar.gz
| Download URL | mantipy_gui-0.2.0.tar.gz |
|---|---|
| Size | 36.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdbb0c251b54bfaea60f4abfd6ebd1703ec6a586606938e4a8b431f7fa895c52
|
|
BLAKE2b-256 checksum How to use checksums |
7b604d8db57b8ddfe30dba302e8b825a1f6a11fd0a5d21eda3242a81bf11a165
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Release files / mantipy_gui-0.2.0-py3-none-any.whl
| Download URL | mantipy_gui-0.2.0-py3-none-any.whl |
|---|---|
| Size | 47.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3550772438c2dc0e68aafa46545f1aa2f2079f65440437c891505abf1884eb3b
|
|
BLAKE2b-256 checksum How to use checksums |
a409460cd5fd338d0d7cb21420d61cca13abe117e0b5ca345aff3b1cc2a99b14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|