Moho
Python framework for Rich Internet Applications. The programming model is
Kivy-like (widgets, properties, .mh layout files); the runtime is a Tornado
server plus Bootstrap in the browser.
Documentation, getting started, and the live showcase:
https://escape-projects.gitlab.io/moho-framework/
Install
pip install moho
Requires Python 3.9+. Linux and Windows wheels are on PyPI. From a source
checkout (C compiler, Cython, numpy): pip install -e .
After install, moho-showcase starts the full widget demo.
Lint: pip install -e ".[lint]" then ruff check . and black --check ..
Examples
moho-showcase # full widget demo (http://localhost:8888/)
moho-showcase --webview # desktop app (needs: pip install -e ".[webview]")
cd examples/showcase && python app.py # same app, from the examples tree
cd examples/showcase && python app.py --webview # same desktop window from the examples tree
cd examples/tutorials/first_app && python app.py # Hello World
cd examples/physics && python app.py # thin lens, Snell, pendulum
Desktop chrome-less start: run(webview=True) (or --webview) opens a frameless
pywebview window and injects Moho's TitleBar. The HTTP server binds localhost only
and picks the next free port from 8888 if the requested port is busy. Install the
optional extra with pip install moho[webview].
Release files for Moho 0.2.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| moho-0.2.13.tar.gz | 16.2 MB | Details |
Built distributions (wheels)
Total release size: 97.2 MB
Release files / moho-0.2.13.tar.gz
| Download URL | moho-0.2.13.tar.gz |
|---|---|
| Size | 16.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6e8dfd29482d4edf32e4a9a91c97383af11cb529e3c77ddb3de5a9e95818603
|
|
BLAKE2b-256 checksum How to use checksums |
39f10f20f26c626f5684a739382a001f082f47cf5809e3a2343363c8911818ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / moho-0.2.13-cp314-cp314-win_amd64.whl
| Download URL | moho-0.2.13-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3dc95337d612adc09f43c8ab0107f73242642134c7b21e0e666a41e933d71fb2
|
|
BLAKE2b-256 checksum How to use checksums |
7cd8dc9ff3a68fb8427d46c295772643ee4954b6d43cbcd37fde65f7ee8e6092
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / moho-0.2.13-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl
| Download URL | moho-0.2.13-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl |
|---|---|
| Size | 8.8 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
eb1911c1b0b409ce7036b8659e6f7710b21f1f9c914d045fe845cab9086f2c74
|
|
BLAKE2b-256 checksum How to use checksums |
147bc0d6c326bbdafb0995651ebb74aadd3732e9e7f6916d2b2f1f15c75f84f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / moho-0.2.13-cp313-cp313-win_amd64.whl
| Download URL | moho-0.2.13-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
fcc98d7a3d24fc260e7b519642cca6bc5720452c2a490243affe8201e2998d77
|
|
BLAKE2b-256 checksum How to use checksums |
616dbc959fe21a7ccfa065d05c599148a6ae92fc17655bfd84d6e0d5d51d62e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / moho-0.2.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl
| Download URL | moho-0.2.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl |
|---|---|
| Size | 8.8 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
839008895fdcde78258bf0e69ee8b79164993de7d2d59c643ef8c8e887807f5e
|
|
BLAKE2b-256 checksum How to use checksums |
7e49a7dd4ef381e77a1b5223d2b0a3b42f78ed22769a3269f1a35f9108295c68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / moho-0.2.13-cp312-cp312-win_amd64.whl
| Download URL | moho-0.2.13-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2a54f901b26be2f2e8143b08073f1e3a6398998b26136e965bd8e191907c2c32
|
|
BLAKE2b-256 checksum How to use checksums |
264222d233afe1763cff35b63127c7a3030e30cf96dc30c8a42e43c5d0a53948
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / moho-0.2.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl
| Download URL | moho-0.2.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl |
|---|---|
| Size | 8.8 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
4ee19f5d6e75abe58e8897cd4c331bb395127fb128c38146c5fae852f6680c4a
|
|
BLAKE2b-256 checksum How to use checksums |
95ec43c8ad5c2c584d64a3502e9e41163ceb2d0632d2fc7f1ec01d4462cd9d6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / moho-0.2.13-cp311-cp311-win_amd64.whl
| Download URL | moho-0.2.13-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c9a3193d07e5ddb0ea029646b0dafb153c2ad6f0e24c877d8a7c098c4d3a892e
|
|
BLAKE2b-256 checksum How to use checksums |
07d019ef7608a3ab007c96c83f89d57f65ffbc6f31e018d349793089f0aefe42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / moho-0.2.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl
| Download URL | moho-0.2.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl |
|---|---|
| Size | 8.8 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
37f038a9f6f97e20e88cce50e3169c6d18447aea9a8e95c400e2a896258ca8de
|
|
BLAKE2b-256 checksum How to use checksums |
84f79a7a295f074c36545b22a3103a2076a700140c2c7df480ce58508817162a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / moho-0.2.13-cp310-cp310-win_amd64.whl
| Download URL | moho-0.2.13-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
209cd1219828de4c3f01715b78ba1df52d91e1f2b03491c9d60ffab1b38341dd
|
|
BLAKE2b-256 checksum How to use checksums |
30f84f18a19db71db74a3d184cca33736a04ecc9b5eb55fa8b589941b66e8b51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / moho-0.2.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl
| Download URL | moho-0.2.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl |
|---|---|
| Size | 8.6 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
b2ac5efd70314251889c251c04dcefb5858b680eb79a34a146642c97816a2776
|
|
BLAKE2b-256 checksum How to use checksums |
ae8ed104450a6b36a503c74466a3a5135c84536d6a1fbc43ed1b67c9ad03417c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / moho-0.2.13-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl
| Download URL | moho-0.2.13-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_34_x86_64.whl |
|---|---|
| Size | 8.6 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
4f93589beb58a9f14caad2a721eb23fb106b46eff1951142b95d32cc9401e665
|
|
BLAKE2b-256 checksum How to use checksums |
089b258de340b823c84433a81a7e8ff7de42085b8d326f063f95a2759172d3a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|