Metadata-Version: 2.4
Name: whitespacesv
Version: 0.2.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Typing :: Typed
Classifier: Programming Language :: Rust
Requires-Dist: polars
License-File: LICENSE
License-File: NOTICE
Summary: WSV (Whitespace Separated Values) parser and serializer
Keywords: 
Author-email: Tim Hörmann <pypi@audivir.de>
License-Expression: MIT
Requires-Python: >=3.10, <3.15
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/audivir/whitespacesv
Project-URL: Issues, https://github.com/audivir/whitespacesv/issues
Project-URL: Repository, https://github.com/audivir/whitespacesv

# whitespacesv

Parser and serializer for the WSV (Whitespace Separated Values) format, with a Rust core
exposed to Python through PyO3.

## Prerequisites

- Python >=3.10, \<3.15

## Installation

```shell
pip install whitespacesv
```

## Usage

```python
from whitespacesv import WsvDocument, from_polars, to_polars

document = WsvDocument.parse("a b c\nd e f\n")
document.serialize("compact")
document.to_string()
document.save("output.wsv")

loaded = WsvDocument.load("output.wsv")

frame = to_polars(document)
from_polars(frame)
```

## Acknowledgments

Ported from [stenway/WSV-Python](https://github.com/Stenway/WSV-Python) by Stefan John / Stenway,
originally released under the MIT license. See `NOTICE` for details.

## License

MIT

