Trame-server

Latest version: v3.3.0

Safety actively analyzes 707268 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 11

2.10.0

Features

- **args**: Allow trame args to be specified separately
([`d2600c3`](https://github.com/Kitware/trame-server/commit/d2600c32a2acb18c7f700239e37581df85c9f57d))

This allows trame arguments to be specified either by a `--trame-args` argument or via a
`TRAME_ARGS` environment variable.

It still ignores the regular arguments when we are using `pytest`. But having the `TRAME_ARGS`
environment variable allows us to specify arguments for trame when using `pytest`.

Signed-off-by: Patrick Avery <patrick.averykitware.com>

- **ArgumentParser**: Subclass and allow parsing disable
([`22746dd`](https://github.com/Kitware/trame-server/commit/22746dd171f2aca4ea2c6675eefd6ffc242c5f95))

This disables argument parsing if either the environment variable TRAME_ARGS_DISABLED is set or
pytest has been loaded into the modules (which, right now, is apparently the best way to determine
if pytest is running). This fixes an issue where trame would parse arguments from pytest and fail.
Since pytest doesn't allow us to add any non-pytest arguments, disable parsing the arguments if we
are using pytest.

Fixes: pyvista/pyvista3973

Signed-off-by: Patrick Avery <patrick.averykitware.com>

2.9.1

Bug Fixes

- **on_server_exited**: Run exit tasks till completion for exec_mode=main
([`876d536`](https://github.com/Kitware/trame-server/commit/876d536e9f830feea96c4f60a18710fa5c8839a0))

- **task_funcs**: Allow controller with only task_funcs
([`c6fd518`](https://github.com/Kitware/trame-server/commit/c6fd5189ada5edcdeaa99173badb72c7b7f3e8de))

2.9.0

Features

- **client_type**: Improve module handling to support vue2/3
([`000899e`](https://github.com/Kitware/trame-server/commit/000899eac77d009281961ad68a98298e03752e42))

2.8.1

Bug Fixes

- **version**: Add trame_server.__version__
([`f6957f4`](https://github.com/Kitware/trame-server/commit/f6957f4dabee608c288ac841a38360fa286d1d67))

Partially addresses Kitware/trame183

Signed-off-by: Patrick Avery <patrick.averykitware.com>

2.8.0

Bug Fixes

- **controller**: Add once helper
([`f25db26`](https://github.com/Kitware/trame-server/commit/f25db2636a6fbf7ddf5d0c3e9d8dbda97e471fa3))

Features

- **on_server_start**: Add new life cycle
([`0db1961`](https://github.com/Kitware/trame-server/commit/0db1961f36eee42dd1a16b0eb496104e8b2332b4))

2.7.2

Bug Fixes

- **dev**: Add hot reloading
([`5884ede`](https://github.com/Kitware/trame-server/commit/5884ede6a2662b830bba6d279d59abab0425e5e7))

This adds a `--hot-reload` option where, if set, controller/state callback functions will be
automatically reloaded for every function call. This excludes functions that are located in
site-packages directories (which are usually libraries that the user is not currently developing).

There is also a `hot_reload` decorator that may be added to functions as well, which will cause the
function to be reloaded every time.

This work is largely based off of https://github.com/julvo/reloading, with some major modifications,
including adding support for methods. His license is included within the file.

Signed-off-by: Patrick Avery <patrick.averykitware.com>

Page 7 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.