Skip to content

PyPI / Conda / CLI

Trame applications are regular Python code which means they can be deployed to PyPI or conda and be used as command line tools.

The trame-cookiecutter provide an initial structure for streamlining such use case.

But technically nothing would separate a trame app than any other Python package.

PyPI

bash
pip install \
    trame \          # Main package (client+server)
    trame-vuetify \  # Widget library used by the demo for its buttons
    trame-vtk        # Widget library used by the demo for rendering vtk

# Run simple example app
python -m trame.app.demo
pip install \
    trame \          # Main package (client+server)
    trame-vuetify \  # Widget library used by the demo for its buttons
    trame-vtk        # Widget library used by the demo for rendering vtk

# Run simple example app
python -m trame.app.demo

Conda

bash
conda install \
    -c conda-forge \ # conda channel to use
    trame        \   # Main package (client+server)
    trame-vuetify \  # Widget library used by the demo for its buttons
    trame-vtk        # Widget library used by the demo for rendering vtk

# Run simple example app
python -m trame.app.demo
conda install \
    -c conda-forge \ # conda channel to use
    trame        \   # Main package (client+server)
    trame-vuetify \  # Widget library used by the demo for its buttons
    trame-vtk        # Widget library used by the demo for rendering vtk

# Run simple example app
python -m trame.app.demo

Simple trame app