Install & Compatibility
Where this runs
tested against v2.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.7MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
get_version
✓ from trame_router import get_version
✗ from trame_router.widgets import RouterView
Basic setup for a trame app with Vue Router.
from trame.app import get_server
from trame_router.widgets import RouterView, RouterLink
server = get_server()
server.state['routes'] = [
{'path': '/', 'component': 'Home'},
{'path': '/about', 'component': 'About'}
]
@server.expose
def navigate():
server.state.trame__router = '/about'
with server.layout as layout:
layout.add_child(RouterLink(to="/about", label="About"))
layout.add_child(RouterView())
server.start()
Upgrade
Version history
2.3.0latest on PyPI · released Aug 5, 2024
Audit
Dependencies
tramerequiredCore framework required
trame-vuetifyoptionalCommon UI components for navigation