Metadata-Version: 2.4
Name: hat-splitter
Version: 0.1.5
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
License-File: LICENSE
Summary: HAT splitter
Author: Michael Barlow <michael.barlow@aleph-alpha-ip.ai>
Author-email: Michael Barlow <michael.barlow@aleph-alpha-ip.ai>
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Source Code, https://github.com/Aleph-Alpha/hat-splitter

# hat-splitter

The `hat-splitter` package implements the HAT splitting rule.

This crate is a work in progress. More information and documentation will
follow.

## Installation

```bash
pip install hat-splitter
```

## Usage

```python
from hat_splitter import HATSplitter

my_hat_splitter = HATSplitter()
split_text: str = my_hat_splitter.split("This is a test sentence.")
split_text_bytes: list[bytes] = my_hat_splitter.split_bytes("This is a test sentence.")
```

