Metadata-Version: 2.4
Name: qsln-py
Version: 1.0.2
Summary: Quick Scratch List Notation
Author: bddjr
License-Expression: Unlicense
Project-URL: Homepage, https://github.com/bddjr/QSLN
Project-URL: Repository, https://github.com/bddjr/QSLN
Project-URL: Source, https://github.com/bddjr/QSLN/tree/main/py
Keywords: qsln,scratch
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# QSLN

Quick Scratch List Notation (Python implementation)

About QSLN specification: https://github.com/bddjr/QSLN

## Installation

```bash
pip install qsln-py
```

## Usage

```python
import qsln

# Serialize
encoded = qsln.stringify([["a", "b"], ["cd", "ef"]])
print(encoded)
# => "01a01b;02cd02ef;"

# Deserialize
decoded = qsln.parse("01a01b;02cd02ef;")
print(decoded)
# => [["a", "b"], ["cd", "ef"]]
```

> **Note**: `parse` raises a `SyntaxError` on malformed or truncated inputs.

## 📄 License

This project is released into the public domain under [The Unlicense](https://unlicense.org).

The "Scratch" name is a trademark of the Scratch Foundation.
