# Syncraft
Syncraft is a parser/generator combinator library with full round-trip support:
- Parse source code into AST or dataclasses
- Generate source code from dataclasses
- Bidirectional transformations via lenses
- Convenience combinators: `all`, `first`, `last`, `named`
- SQLite syntax support included
## Installation
```bash
pip install syncraft
```
## TODO
- [ ] Test Walker.get/set for bidirectional mapping between source code and data class
- [ ] Annotate sqlite3 grammar with named nodes and data classes
- [ ]
Raw data
{
"_id": null,
"home_page": null,
"name": "syncraft",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "parser, combinator, sql, sqlite, generator, printer",
"author": null,
"author_email": "Michael Afmokt <michael@esacca.com>",
"download_url": "https://files.pythonhosted.org/packages/c2/1a/cc688c974e5bba9af776e6accb0e17c0e9a954a49922a9140b336d05538a/syncraft-0.1.9.tar.gz",
"platform": null,
"description": "# Syncraft\n\nSyncraft is a parser/generator combinator library with full round-trip support:\n\n- Parse source code into AST or dataclasses\n- Generate source code from dataclasses\n- Bidirectional transformations via lenses\n- Convenience combinators: `all`, `first`, `last`, `named`\n- SQLite syntax support included\n\n## Installation\n\n```bash\npip install syncraft\n```\n\n\n## TODO\n- [ ] Test Walker.get/set for bidirectional mapping between source code and data class\n- [ ] Annotate sqlite3 grammar with named nodes and data classes\n- [ ] \n",
"bugtrack_url": null,
"license": null,
"summary": "Parser combinator library",
"version": "0.1.9",
"project_urls": null,
"split_keywords": [
"parser",
" combinator",
" sql",
" sqlite",
" generator",
" printer"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "acb3341a80eaa3665a7a31d9dda0aa039cab998771e303ca0a791960a20abe5c",
"md5": "c709ec44293fc97aa732efe0803e557d",
"sha256": "92045937f11ffc86fc3587bb3d27566f1b467db2b471be17a8f70eb39b5005ab"
},
"downloads": -1,
"filename": "syncraft-0.1.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c709ec44293fc97aa732efe0803e557d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 29348,
"upload_time": "2025-08-15T12:16:18",
"upload_time_iso_8601": "2025-08-15T12:16:18.584544Z",
"url": "https://files.pythonhosted.org/packages/ac/b3/341a80eaa3665a7a31d9dda0aa039cab998771e303ca0a791960a20abe5c/syncraft-0.1.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "c21acc688c974e5bba9af776e6accb0e17c0e9a954a49922a9140b336d05538a",
"md5": "6741aef583b4487a017cb61b9182db4e",
"sha256": "9df9753c23f20131a4c0f44fd6f0fabc9f4abd86f2ad74e493570ae78001b2c9"
},
"downloads": -1,
"filename": "syncraft-0.1.9.tar.gz",
"has_sig": false,
"md5_digest": "6741aef583b4487a017cb61b9182db4e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 26984,
"upload_time": "2025-08-15T12:16:19",
"upload_time_iso_8601": "2025-08-15T12:16:19.388486Z",
"url": "https://files.pythonhosted.org/packages/c2/1a/cc688c974e5bba9af776e6accb0e17c0e9a954a49922a9140b336d05538a/syncraft-0.1.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-15 12:16:19",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "syncraft"
}