semvec/pypi-packages huggingface dataset:
sharktuner 3.8.1
IREE Model and Dispatch Tuner
Requires Python: >=3.10

# SHARK Tuner
SHARK Tuner automates the dispatch-level and model-level tuning for the IREE (Intermediate Representation Execution Environment) ML Compiler on AMD GPUs.

## Installation
Install SHARK Tuner from PyPI:
```shell
pip install sharktuner
```

This will install all required dependencies including IREE compiler and runtime.

You can use the latest nightly IREE python bindings:
```shell
pip install --upgrade --pre \
    iree-base-compiler \
    iree-base-runtime \
    --find-links https://iree.dev/pip-release-links.html
```

Verify that the environment is set up correctly:
```shell
python -m model_tuner --help
```

or

```shell
python -m dispatch_tuner --help
```

### Model Tuner
Use the Model Tuner to tune a dispatch and a model:
```shell
python -m model_tuner double_mmt.mlir mmt_benchmark.mlir \
    --compile-flags-file=compile_flags.txt \
    --model-benchmark-flags-file=model_benchmark_flags.txt \
    --devices=hip://0 \
    --num-candidates=30 \
    --model-tuner-num-dispatch-candidates=5 \
    --model-tuner-num-model-candidates=3`
```

Refer to [Mode Tuner README](https://github.com/nod-ai/shark-ai/tree/main/sharktuner/model_tuner) for detailed information on flags and MLIR files.

### Dispatch Tuner
Use the Dispatch Tuner to tune a dispatch:
```shell
python -m dispatch_tuner dispatch_sample.mlir dispatch_sample_benchmark.mlir \
    --compile-flags-file=compile_flags.txt
    --devices=hip://0 \
    --num-candidates=30
```

Refer to [Dispatch Tuner README](https://github.com/nod-ai/shark-ai/tree/main/sharktuner/dispatch_tuner) for detailed information on flags and MLIR files.
catLang 0.0.8
catLang: Custom transpiller from catLang code into Python code.

E is a solo programming language made for Python. It transpiles E to Python and can run code via `.exec` (string) or `.exec_file` (file path).

```python
import catLang

# Execute CatLang code from a string
catLang.exc("""
for(i in 1 ... 50):
    if(i%5==0):
        println(i)
    end;
end;
""")

# Execute a .cat source file
catLang.exec_file(r"Path\To\File.cat")
```

```csharp
for(i in 1 ... 5):
    if(i%5==0):
        println(i)
    end;
end; // example code
```
pylucam 1.0.3
Python wrapper for Lumenera Lucam API
Requires Python: >=3.11
Keywords: python, lucam, lumenera, camera, api, driver

# PyLucam

PyLucam is a python wrapper for the Lumenera Lucam API

Some functionality (especially errors) was copied from https://github.com/cgohlke/lucam. Only the minimum required functionality was defined in python, but additions are easy since the full library is defined in the provided header. It was tested with an Lt-C1900 camera.

## Installation

It is easiest to install with pip: `pip install pylucam`

You can also install with [uv](https://docs.astral.sh/uv/) by cloning the repo and using `uv sync`.


## Usage

Using the package should be straightforward.

```python
camera = LucamCamera()
camera.enable_fast_frames()
frame = camera.take_fast_frame_rgb()
```

If you have more than one camera, you can specify the id of the camera while initializing, `LucamCamera(CAMERA_ID)`.