# tree-sitter-cairo
This is an automatically generated python package using [python-tree-sitter-types](https://github.com/JoranHonig/python-tree-sitter-types).
It provides nice typed bindings for the tree-sitter raw parser.
### Installation
```bash
pip install tree-sitter-cairo
```
### Example
```python
from tree_sitter_cairo import load_language, parse_node
from tree_sitter import Parser
language = load_language('tree-sitter-cairo', 'cairo')
parser = Parser()
parser.set_language(language)
tree = parser.parse(bytes("<some cairo code>", "utf-8"))
typed_tree = parse_node(tree.root_node)
# Your cool clean code:
```
Raw data
{
"_id": null,
"home_page": "https://github.com/joranhonig/tree-sitter-cairo/",
"name": "tree-sitter-cairo",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Joran Honig",
"author_email": "joran.honig@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/13/98/983e85f06c817f7073d5c76b7493ba3d5bcd11dad4a15260810fcfbd3fa5/tree-sitter-cairo-0.0.1.tar.gz",
"platform": null,
"description": "# tree-sitter-cairo\n\nThis is an automatically generated python package using [python-tree-sitter-types](https://github.com/JoranHonig/python-tree-sitter-types).\n\nIt provides nice typed bindings for the tree-sitter raw parser.\n\n### Installation\n\n```bash\npip install tree-sitter-cairo\n```\n\n### Example\n\n```python\n\nfrom tree_sitter_cairo import load_language, parse_node\nfrom tree_sitter import Parser\n\nlanguage = load_language('tree-sitter-cairo', 'cairo')\n\nparser = Parser()\nparser.set_language(language)\n\ntree = parser.parse(bytes(\"<some cairo code>\", \"utf-8\"))\n\ntyped_tree = parse_node(tree.root_node)\n\n# Your cool clean code:\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "A tree-sitter based typed parser for the cairo language",
"version": "0.0.1",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "4f169f428c3d8ea21a3a99b0e5215c61",
"sha256": "39e760f361f58d35e7d0a0f455c277eefa54c34ed3c73a983401c0b295c62a85"
},
"downloads": -1,
"filename": "tree-sitter-cairo-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "4f169f428c3d8ea21a3a99b0e5215c61",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4272,
"upload_time": "2022-12-14T11:07:24",
"upload_time_iso_8601": "2022-12-14T11:07:24.877145Z",
"url": "https://files.pythonhosted.org/packages/13/98/983e85f06c817f7073d5c76b7493ba3d5bcd11dad4a15260810fcfbd3fa5/tree-sitter-cairo-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-14 11:07:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "joranhonig",
"github_project": "tree-sitter-cairo",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "tree-sitter-cairo"
}