Skip to main content

Trame wrapper to girder_web_components

Project description

trame-gwc extend trame widgets with components that can be used to authenticate to girder and to manage files, jobs and accesses. It leverages girder_web_components.

screenshot

Installing

trame-gwc can be installed with pip:

pip install --upgrade trame-gwc

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-gwc is made available under the Apache License. For more details, see LICENSE. This license has been chosen to match the one use by girder_web_components <https://github.com/girder/girder_web_components> which can be exposed via this library.

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.

Development

Build and install the Vue components (see vue-components/README.md)

cd vue-components
pnpm i
pnpm run build
cd ..

Install the application for development

pip install -e .

Examples

This repository includes several example applications demonstrating how to use Girder Web Components with trame.

The examples use data.kitware.com as the default Girder instance.

Available examples

Showcase demo

The showcase/app.py application is a lightweight demonstration of the available Girder Web Components and their integration with trame. It is inspired by the official Girder Web Components demo app.

File Browser example

The file_browser/app.py application shows how to build a more structured trame application around Girder. It demonstrates how to:

  • browse the Girder database

  • parse collections and folders

  • manage authentication

  • download files (using the girder client)

Run the examples

pip install ".[examples]"

# Run the basic demo
python examples/showcase/app.py

# Run the advanced example
python examples/file_browser/app.py

JavaScript dependency

This Python package bundle the @girder/components@3.2.0 JavaScript library. If you would like us to upgrade it, please reach out.

Project details


Download files

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

Source Distribution

trame_gwc-0.2.1.tar.gz (3.8 MB view details)

Uploaded Source

Built Distribution

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

trame_gwc-0.2.1-py3-none-any.whl (3.8 MB view details)

Uploaded Python 3

File details

Details for the file trame_gwc-0.2.1.tar.gz.

File metadata

  • Download URL: trame_gwc-0.2.1.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for trame_gwc-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5f17caff22e20504461c630473faad1165e3609a3a31027d4ed2c94ca4528eb1
MD5 bb09afeb6c49c310392683e6ce488bb6
BLAKE2b-256 ae4867eebf33ffd61f4c472f71b79aaa2c81f1df775a58281c11c5a07e3c4fd0

See more details on using hashes here.

File details

Details for the file trame_gwc-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: trame_gwc-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for trame_gwc-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e484d7262b65cf6bd5f02841ffed27b74647eaae5dd1f28f26946e10521a4892
MD5 8a0b35afaa0ab4bc6d96404c5ecc8c42
BLAKE2b-256 1ff674662acf204dbc96f2bbde20d1befc4d14f443fe7f171f0bf292ddb49f82

See more details on using hashes here.

Supported by

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