semvec/pypi-packages huggingface dataset:
hetman-pipeline-plugin-i18n 1.0.4
Hetman Pipeline Plugin I18n is a plugin for Hetman Pipeline that provides i18n support.
Requires Python: >=3.10

<img src="https://raw.githubusercontent.com/hetman-app/hetman-pipeline/main/docs/assets/full-white-text.webp" alt="Hetman Logo" width="200" height="38" />

---

**Hetman Pipeline Plugin I18n** is a plugin for [Hetman Pipeline](https://pipeline.hetman.app) that provides internationalization (i18n) support.

## Features

- Comprehensive translations for all standard `Condition` and `Match` handlers.
- Simple initialization to register all translations globally.

## Installation

```bash
pip install "hetman-pipeline[i18n]"
```

## Quick Start

Initialize the plugin at the start of your application to register the translations.

You must call `set_base_locale` before running the first handler to ensure the system correctly maps the initial translation state.

```python
from pipeline_plugin_i18n import initialize_pipeline_plugin_i18n

# Register translations for standard handlers
initialize_pipeline_plugin_i18n()

# Set the base locale
PipelinePluginI18n.set_base_locale("en")
```

## Context Management

The plugin uses `contextvars` to manage the locale state, making it thread-safe and safe for asynchronous applications (e.g., **FastAPI**, **Falcon**, **Flask**).

### Setting the Locale

You can set the locale for the current context (e.g., per request).

```python
from pipeline_plugin_i18n import PipelinePluginI18n

# Set to Polish
PipelinePluginI18n.set_locale("pl")
```

### Getting the Locale

```python
from pipeline_plugin_i18n import PipelinePluginI18n

current_locale = PipelinePluginI18n.get_locale()
print(current_locale)  # Output: "pl"
```

## Custom Translations

You can register your own translations for any `Condition` or `Match` handler.

```python
from pipeline.handlers import Match
from pipeline.handlers.base_handler.resources.constants import HandlerMode
from pipeline_plugin_i18n import PipelinePluginI18n

PipelinePluginI18n.register_handler(
    handler=Match.Text.Letters,
    translations={
        HandlerMode.ROOT: {
            "en": Match.Text.Letters.ERROR_TEMPLATES[HandlerMode.ROOT],
            "pl": "Musi zawierać tylko litery (np. Aaaaa).",
        }
    },
)
```

## Supported Languages

- English (`en`)
- Polish (`pl`)
rdc-cli 0.2.0
Unix-friendly CLI for RenderDoc captures
Requires Python: >=3.10

# rdc-cli

Unix-friendly CLI for [RenderDoc](https://renderdoc.org/) `.rdc` captures. Pipe-friendly TSV output, JSON mode, 33 commands, daemon-backed session for interactive exploration.

```bash
rdc open capture.rdc          # Start session
rdc draws                     # List draw calls (TSV)
rdc pipeline 142              # Pipeline state at EID 142
rdc shader 142 ps             # Pixel shader disassembly
rdc texture 5 -o out.png      # Export texture
rdc draws --json | jq '...'   # Machine-readable output
rdc close                     # End session
```

## Install

### PyPI (recommended)

```bash
pipx install rdc-cli
```

### AUR (Arch Linux)

```bash
yay -S rdc-cli-git
```

This builds the renderdoc Python module automatically — no extra setup needed.

### From source

```bash
git clone https://github.com/BANANASJIM/rdc-cli.git
cd rdc-cli
pixi install && pixi run sync
```

## Setup renderdoc

`rdc` requires the renderdoc Python module (`renderdoc.cpython-*.so`), which is **not** included in most system packages. Your Python version must match the one used to compile renderdoc.

### Build from source

```bash
git clone --depth 1 https://github.com/baldurk/renderdoc.git
cd renderdoc
cmake -B build -DENABLE_PYRENDERDOC=ON -DENABLE_QRENDERDOC=OFF
cmake --build build -j$(nproc)
export RENDERDOC_PYTHON_PATH=$PWD/build/lib
```

### Module discovery order

1. `RENDERDOC_PYTHON_PATH` environment variable
2. `/usr/lib/renderdoc`, `/usr/local/lib/renderdoc`
3. Sibling directory of `renderdoccmd` on PATH

### Verify

```bash
rdc doctor
```

## Commands

Run `rdc --help` for the full command list, or `rdc <command> --help` for details.

| Category | Commands |
|----------|----------|
| Session | `open`, `close`, `status`, `goto` |
| Inspection | `info`, `stats`, `events`, `draws`, `event`, `draw`, `log` |
| GPU state | `pipeline`, `bindings`, `shader`, `shaders`, `shader-map` |
| Resources | `resources`, `resource`, `passes`, `pass`, `usage` |
| Export | `texture`, `rt`, `buffer` |
| Search | `search`, `counters` |
| VFS | `ls`, `cat`, `tree` |
| Utility | `doctor`, `completion`, `capture`, `count` |

All commands support `--json` for machine-readable output.

### Shell completions

```bash
rdc completion bash > ~/.local/share/bash-completion/completions/rdc
rdc completion zsh > ~/.zfunc/_rdc
eval "$(rdc completion bash)"
```

## Development

```bash
pixi run sync                 # Install Python deps
pixi run check                # lint + typecheck + test (653 tests, 92% coverage)
```

GPU integration tests require a real renderdoc module:

```bash
export RENDERDOC_PYTHON_PATH=/path/to/renderdoc/build/lib
pixi run test-gpu
```

## License

MIT
hetman-pipeline 2.2.5
Hetman Pipeline is a flexible, developer-centric validation engine. It is built for those who prioritize deep customization and want to manage validation, matching, and transformation logic in one centralized location.
Requires Python: >=3.10

<img src="https://raw.githubusercontent.com/hetman-app/hetman-pipeline/main/docs/assets/full-white-text.webp" alt="Hetman Logo" width="200" height="38" />

---

**Hetman Pipeline** is a flexible, developer-centric validation engine. It is built for those who prioritize deep customization and want to manage validation, matching, and transformation logic in one centralized location.

## Installation

```bash
pip install hetman-pipeline
```

## Documentation Setup

```bash
pip install hetman-pipeline[docs]
```

---

[Please check the documentation page for more details.](https://pipeline.hetman.app)