trame-client 3.11.4


pip install trame-client

  Latest version

Released: Mar 24, 2026

Project Links

Meta
Author: Kitware Inc.
Requires Python: >=3.9

Classifiers

Development Status
  • 5 - Production/Stable

Environment
  • Web Environment

License
  • OSI Approved :: MIT License

Natural Language
  • English

Operating System
  • OS Independent

Programming Language
  • Python :: 3 :: Only

Topic
  • Software Development :: Libraries :: Application Frameworks
  • Software Development :: Libraries :: Python Modules
Test and Release

trame-client is the generic single page application that come with trame. trame-client provides the infrastructure on the client-side (browser) to connect to a trame server, synchronize its state with the server, make method call, load dynamically components and feed a dynamic template provided by the server.

This package is not supposed to be used by itself but rather should come as a dependency of trame. For any specificity, please refer to the trame documentation.

Installing

trame-client can be installed with pip:

pip install --upgrade trame-client

Usage

The Trame Tutorial is the place to go to learn how to use the library and start building your own application.

The API Reference documentation provides API-level documentation.

License

trame-client is made available under the MIT License. For more details, see LICENSE This license has been chosen to match the one use by Vue.js which is instrumental for making that library possible.

Community

Trame | Discussions | Issues | Contact Us

https://zenodo.org/badge/410108340.svg

Enjoying trame?

Share your experience with a testimonial or with a brand approval.

Runtime configuration

Trame client is the JS core of trame and can be tuned by url parameters. The table below list which parameters we process and how they affect the client.

URL parameters

enableSharedArrayBufferServiceWorker

When set this will load an extra script that will use a service worker to enable SharedArrayBuffer

ui

Layout name selector. When a trame app define several layout with different name, you can choose which layout should be displayed

remove

By default the URL will be cleaned from trame config parameters (sessionURL, sessionManagerURL, secret, application) but if additional parameters should be removed as well but used in the launcher config, this can be achieved by adding a &remove=param1,param2.

The table below leverage environment variables, mainly for the Jupyter Lab context and the iframe builder configuration.

Environment variables

TRAME_JUPYTER_ENDPOINT

Used by the trame-jupyter-extension

TRAME_JUPYTER_WWW

Used by the trame-jupyter-extension

JUPYTERHUB_SERVICE_PREFIX

Used to figure out server proxy path for iframe builder

HOSTNAME

When “jupyter-hub-host” is used as iframe builder, the hostname will be lookup using that environment variable

TRAME_IFRAME_BUILDER

Specify which iframe builder should be used. If not provided we try to do some smart detection

TRAME_IPYWIDGETS_DISABLE

Skip any iPyWidget iframe wrapping

Development

Build client side code base

cd vue[2,3]-app
npm install
npm run build            # build trame client application
cd -

JavaScript dependency

This Python package bundle the following Vue.js libraries. For client_type="vue2", it exposes vue@2.7.16 and for client_type="vue3", it exposes vue@3.5.13. If you would like us to upgrade any of those dependencies, please reach out.

3.11.4 Mar 24, 2026
3.11.3 Feb 19, 2026
3.11.2 Oct 08, 2025
3.11.1 Oct 06, 2025
3.11.0 Oct 02, 2025
3.10.4 Sep 23, 2025
3.10.3 Sep 23, 2025
3.10.2 Sep 11, 2025
3.10.1 Aug 18, 2025
3.10.0 Aug 18, 2025
3.9.2 Aug 04, 2025
3.9.1 Jun 04, 2025
3.9.0 May 09, 2025
3.8.2 May 06, 2025
3.8.1 Apr 28, 2025
3.8.0 Apr 24, 2025
3.7.1 Apr 10, 2025
3.7.0 Apr 08, 2025
3.6.1 Mar 24, 2025
3.6.0 Feb 26, 2025
3.5.2 Jan 20, 2025
3.5.1 Dec 30, 2024
3.5.0 Nov 18, 2024
3.4.0 Oct 20, 2024
3.3.2 Sep 24, 2024
3.3.1 Sep 20, 2024
3.3.0 Sep 20, 2024
3.2.5 Aug 15, 2024
3.2.4 Aug 14, 2024
3.2.3 Aug 13, 2024
3.2.2 Aug 07, 2024
3.2.1 Jul 02, 2024
3.2.0 Jun 19, 2024
3.1.1 Jun 19, 2024
3.1.0 May 31, 2024
3.0.3 May 16, 2024
3.0.2 Apr 17, 2024
3.0.1 Apr 12, 2024
3.0.0 Apr 10, 2024
2.17.1 Apr 05, 2024
2.17.0 Apr 04, 2024
2.16.5 Mar 26, 2024
2.16.4 Mar 20, 2024
2.16.3 Mar 13, 2024
2.16.2 Mar 03, 2024
2.16.1 Feb 16, 2024
2.16.0 Feb 14, 2024
2.15.0 Jan 17, 2024
2.14.2 Dec 29, 2023
2.14.1 Dec 12, 2023
2.14.0 Dec 08, 2023
2.13.0 Dec 01, 2023
2.12.7 Nov 27, 2023
2.12.6 Oct 19, 2023
2.12.5 Oct 06, 2023
2.12.4 Oct 05, 2023
2.12.3 Oct 05, 2023
2.12.2 Oct 04, 2023
2.12.1 Oct 03, 2023
2.12.0 Sep 28, 2023
2.11.3 Sep 07, 2023
2.11.2 Aug 14, 2023
2.11.1 Aug 10, 2023
2.11.0 Aug 10, 2023
2.10.0 Jul 19, 2023
2.9.4 Jun 23, 2023
2.9.3 Jun 23, 2023
2.9.2 Jun 16, 2023
2.9.1 Jun 16, 2023
2.9.0 Jun 08, 2023
2.8.0 May 24, 2023
2.7.7 May 15, 2023
2.7.6 May 15, 2023
2.7.5 Mar 27, 2023
2.7.4 Mar 06, 2023
2.7.3 Feb 26, 2023
2.7.2 Feb 26, 2023
2.7.1 Feb 22, 2023
2.7.0 Feb 14, 2023
2.6.3 Feb 13, 2023
2.6.2 Feb 13, 2023
2.6.1 Feb 11, 2023
2.6.0 Feb 09, 2023
2.5.1 Jan 27, 2023
2.5.0 Jan 23, 2023
2.4.2 Jan 19, 2023
2.4.1 Jan 13, 2023
2.4.0 Dec 18, 2022
2.3.6 Dec 12, 2022
2.3.5 Dec 09, 2022
2.3.4 Dec 08, 2022
2.3.3 Dec 07, 2022
2.3.2 Dec 04, 2022
2.3.1 Nov 08, 2022
2.3.0 Oct 24, 2022
2.2.2 Oct 21, 2022
2.2.1 Oct 20, 2022
2.2.0 Aug 29, 2022
2.1.5 Aug 10, 2022
2.1.4 Jun 19, 2022
2.1.3 Jun 14, 2022
2.1.2 Jun 14, 2022
2.1.1 Jun 10, 2022
2.1.0 Jun 04, 2022
2.0.3 Jun 03, 2022
2.0.2 May 30, 2022
2.0.1 May 27, 2022
2.0.0rc9 May 24, 2022
2.0.0rc8 May 23, 2022
2.0.0rc7 May 23, 2022
2.0.0rc6 May 22, 2022
2.0.0rc5 May 20, 2022
2.0.0rc4 May 20, 2022
2.0.0rc3 May 18, 2022
2.0.0rc2 May 12, 2022
2.0.0rc1 May 07, 2022

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
trame-common (>=0.2.0)