semvec/pypi-packages huggingface dataset:
triton-python-backend-mock-utils 1.0.0
Mock library for triton python backend utils.
Requires Python: <4.0,>=3.10

# triton_python_backend_mock_utils

This is a mock library for the triton_python_backend_utils python package that is available inside a [triton server](https://github.com/triton-inference-server/server) python backend runtime.
This mock library is intended to be used for local development and unit testing of triton python backend models outside the triton server container environment.
This library attempts to replicate the interface of the triton_python_backend_utils package, but may not have full functionality or behavior of the original package.
PRs are welcome to improve the mock library to better match the real package. Please see the [contributing guide](CONTRIBUTING.md) for contribution instructions and guidelines.

The need for this mock library was brought up in the following GitHub issue: https://github.com/triton-inference-server/server/issues/5813

## Installation

You can install the mock library via pip:

```bash
pip install triton_python_backend_mock_utils
```

## Usage

You can now import and use the `triton_python_backend_utils` module in your local python environment for type hints and unit testing.
Please see the [python backend](https://github.com/triton-inference-server/python_backend) documentation for more details on available functionality and usage.

You can reference our [example model](./examples/model.py) to see the usage which includes a `__main__` block for local testing.
You can run this model in your local python environment by running:

```bash
python examples/model.py
```
MPh 1.3.1
Pythonic scripting interface for Comsol Multiphysics
Requires Python: >=3.10
Keywords: Comsol, multiphysics, physics, finite elements, computer simulation

﻿*Pythonic scripting interface for Comsol Multiphysics*

[Comsol] is a commercial software application that is widely used in science
and industry for research and development. It excels at modeling almost any
(multi-)physics problem by solving the governing set of partial differential
equations via the finite-element method. It comes with a modern graphical user
interface to set up simulation models and can be scripted from Matlab or its
native Java API.

MPh brings the dearly missing power of Python to the world of Comsol. It
leverages the Java bridge provided by [JPype] to access the Comsol API and
wraps it in a layer of pythonic ease-of-use. The Python wrapper covers common
scripting tasks, such as loading a model from a file, modifying parameters,
importing data, to then run the simulation, evaluate the results, and export
them.

Comsol models are marked by their `.mph` file extension, which stands for
multi-physics. Hence the name of this library. It is open-source and in no way
affiliated with Comsol Inc., the company that develops and sells the simulation
software.

Find the full [documentation on Read-the-Docs][docs].

[Comsol]: https://www.comsol.com
[JPype]:  https://github.com/jpype-project/jpype
[docs]:   https://mph.readthedocs.io