Metadata-Version: 2.4
Name: srvc-io-hello-class
Version: 0.2.1
Summary: Hello class utilities
Author-email: Johan Ardlin <j.ardlin@gmail.com>
License: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# Hello Class

Shared Python class utility.

## Installation

From PyPI:

```bash
uv add srvc-io-hello-class
```

Or with pip:

```bash
pip install srvc-io-hello-class
```

From GitHub (for unreleased versions):

```bash
uv add "srvc-io-hello-class @ git+ssh://git@github.com/johard/python-packages.git@hello-class-v0.2.1#subdirectory=hello-class"
```

## Usage

```python
from hello_class import Hello, json_to_text

# Greeting class
hello = Hello("World")
print(hello.greet())

# JSON to text conversion
json_to_text("input.json", "output.txt")
```

### json_to_text

Converts a JSON file to a text file with `key:value` format.

**Input (input.json):**

```json
[{"foo": "bar"}]
```

**Output (output.txt):**

```text
foo:bar
```
