semvec/pypi-packages huggingface dataset:
encoder-converter 0.2.1
Convert huggingface encoder to onnx format.
Requires Python: <3.13,>=3.10

# Encoder converter
:rocket: Easy way to convert huggingface encoder model to other formats.
## Description
Encoder converter is a package that allows you to convert the huggingface encoder model to other formats (e.g. onnx).
## Features
Unfinished features will be implemented in future versions.
- [x] Convert encoder model to onnx.
- [x] Convert encoder model to openvino.
- [ ] Convert model with custom wrapper.
## Installation
```bash
pip install encoder-converter
```
## Usage
### Run
```bash
convertencoder --model-name project/huggingface_repo --format onnx --output-dir /my/output/dir --cache-dir /cache/dir --output-model-name t5_encoder
```
### Parameters
| Parameter             | Description                                               | Default   |
|-----------------------|-----------------------------------------------------------|-----------|
| `--model-name`        | Huggingface model name                                    |           |
| `--format`            | Compiled model format. Available: `onnx`, `openvino`      |           |
| `--output-dir`        | Path to save compiled model and tokenizer artifacts.      |           |
| `--cache-dir`         | Path to a directory in which a downloaded pretrained model configuration should be cached while compiling.                                                             |  `/tmp`   |
| `--output-model-name` | If not specified, the default output model name will be parsed depends on the `--model_name` parameter.                                                             |           |
If `--output-model-name` is not specified, you can find the complied model at `output_dir`/`huggingface_repo`.`extension`:
1. output_dir - `--ouput-dir` parameter.
2. huggingface_repo - extracts from the `--model-name` parameter.
3. extension - depends on selected `format` parameter:
    * `onnx` - `onnx`
    * `openvino` - `xml`
yapbol 0.2
Yet Another PBO Library
Requires Python: >=3.8
Keywords: arma, pbo

# Yet Another PBO Library

Yapbol is yet another pbo library to unpack and/or modify PBO files used by the
game Arma 3.

## Installing

```
pip install yapbol
```

## Usage

### Read the contents of a file in the PBO
```python
from yapbol import PBOFile

pbo = PBOFile.read_file('filepath.pbo')

# Get metadata.hpp file, that's encoded in utf-8, from the PBO
file = pbo['metadata.hpp']
print('File contents: ', file.data.decode('utf-8'))
```

### Print the contents of a PBO file
```python
from yapbol import PBOFile

pbo = PBOFile.read_file('filepath.pbo')

for file in pbo:
    print('File name: ', file.filename)
```

### Modify and save the PBO
```python
from yapbol import PBOFile

pbo = PBOFile.read_file('filepath.pbo')

# TODO: Modify the file here

pbo.save_file('filepath.repack.pbo')
```
hexdoc-hexposition 1.3.0.1.0.0
Python web book docgen and hexdoc plugin for Hexposition.
Requires Python: >=3.11
Keywords: hexdoc

# hexdoc-hexposition

Python web book docgen and [hexdoc](https://pypi.org/project/hexdoc) plugin for Hexposition.

## Version scheme

We use [hatch-gradle-version](https://pypi.org/project/hatch-gradle-version) to generate the version number based on whichever mod version the docgen was built with.

The version is in this format: `mod-version.python-version.mod-pre.python-dev.python-post`

For example:
* Mod version: `0.11.1-7`
* Python package version: `1.0.dev0`
* Full version: `0.11.1.1.0rc7.dev0`

## Setup

Install Python 3.11 and Node 18 (20+ is **not** currently supported).

```sh
python3.11 -m venv venv

.\venv\Scripts\activate   # Windows
. venv/bin/activate.fish  # fish
source venv/bin/activate  # everything else

# run from the repo root, not doc/
pip install -e .[dev]
```

## Usage

For local testing, create a file called `.env` in the repo root following this template:
```sh
GITHUB_REPOSITORY=miyucomics/hexposition
GITHUB_SHA=main
GITHUB_PAGES_URL=https://miyucomics.github.io/hexposition/
```

Useful commands:
```sh
# show help
hexdoc -h

# render and serve the web book in watch mode
nodemon --config doc/nodemon.json

# render and serve the web book
hexdoc serve

# export, render, and merge the web book
hexdoc export
hexdoc render
hexdoc merge

# start the Python interpreter with some extra local variables
hexdoc repl
```