Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 3.13.6 instead.
Reason given by maintainers: Not functional as it is missing the web content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trame_client-3.13.4.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trame_client-3.13.4-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file trame_client-3.13.4.tar.gz.

File metadata

  • Download URL: trame_client-3.13.4.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for trame_client-3.13.4.tar.gz
Algorithm Hash digest
SHA256 0fa89f4022ae1fd95cfc2e0570dee0498d00e8e2068b4d1920756b5135459fe8
MD5 4ba99b861ca8398d71d82f7234d07bff
BLAKE2b-256 fd49bd9738b9acb76b42f4bc4fec413603fa74465490f237e6399a147ca790bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for trame_client-3.13.4.tar.gz:

Publisher: test_and_release.yml on Kitware/trame-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file trame_client-3.13.4-py3-none-any.whl.

File metadata

  • Download URL: trame_client-3.13.4-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for trame_client-3.13.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e6cc9402f71538bd1937b5aa6262c728c986216acbf5b6acf7d5c69bdd021615
MD5 e6addd7e5257338fcca90e4ea7d58c3b
BLAKE2b-256 d1681727adb2a801394d165cd3d29c567cd2d65e8d0d91ec0d7190e88f7d7d4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for trame_client-3.13.4-py3-none-any.whl:

Publisher: test_and_release.yml on Kitware/trame-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page