ansys / ansys/pystk

Unify launch methods

Open
#906 0 comments 2 reactions 1 assignee Claimed by @jorgepiloto View on GitHub
enhancement
Dominant language
Python
Stars
37
Forks
7
Avg merge
1d 5h
Merged PRs (30d)
19

Description

**Problem**

PySTK is able to launch:

- STKDesktop
- STKEngine
- STKRuntime

Right now, each one requires its own import and options. This differs from other libraries, which usually provide the following user experience:

```python
from ansys.product import launch_product

product = launch_product(...)
...
product.close()
```

**Solution**

The ecosystem is adopting [ansys-common-tools] as the way to unify the user experience. This library provides utilities to ease the implementation of product launchers.

We could implement this as an extension. This way, the `ansys.stk.core` can remain dependency free and users can still use the current `STK{Desktop,Engine,Runtime}` objects.

[ansys-common-tools]: https://github.com/ansys/ansys-tools-common

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.