Metadata-Version: 2.4
Name: panproto-grammars-data
Version: 0.49.2
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Rust
Requires-Dist: panproto>=0.49,<0.50
Summary: panproto grammar pack: Data — JSON, TOML, XML, YAML, SQL, CSV, GraphQL, Protobuf
Keywords: panproto,tree-sitter,grammar,data
Author-email: Aaron Steven White <aaronstevenwhite@gmail.com>
License-Expression: MIT
Requires-Python: >=3.13
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/panproto/panproto
Project-URL: Issues, https://github.com/panproto/panproto/issues

# panproto-grammars-data

A panproto companion package shipping tree-sitter grammars for
data languages: JSON, TOML, XML, YAML, SQL, CSV, GraphQL, Protobuf.

## Install

```bash
pip install panproto-grammars-data
```

The package declares an entry point under `panproto.grammars`.
panproto's `AstParserRegistry` factory picks it up automatically;
there is nothing to import from this package directly.

## Use

```python
import panproto

reg = panproto.AstParserRegistry()
# parse one of the grammars this pack adds:
# schema = reg.parse_with_protocol("typescript", b"...", "main.ts")
```

See the panproto repository for the full list of available grammar
packs and the source for this one at
`crates/panproto-grammars-data/` and
`bindings/python-grammars-data/`.

## License

MIT.

