Metadata-Version: 2.4
Name: pawser
Version: 0.3.4
Summary: A Python module for parsing and rendering PawML
Home-page: https://github.com/komoriiwakura/pawser
Author: komoriiwakura
Author-email: k0mori@proton.me
License: All rights reserved; educational/personal use only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# Pawser

**Pawser** is a lightweight Python parser for PAWML (Pawso Markup Language).  
It allows you to read, parse, and traverse `.pawml` files as a tree of nodes.

## Installation

**Install via pip through PyPI**

```bash
pip install pawser
```
This is the most common method, however if you do not have pip and/or would like to download this without or for other reasons, you can;

**Clone the repository and install locally:**

```bash
git clone https://github.com/komoriiwakura/pawser
cd pawser
pip install -e .
```

## Example

```python
from pawser import parsePawml, printTree, pawml2domtree

# Parse and print the PAWML file
tree = parsePawml("example.pawml")
printTree(tree)

# Get the DOM tree for programmatic use
dom = pawml2domtree("example.pawml")
```

