bashlex is a Python port of the parser used internally by GNU bash.
For the most part it's transliterated from C, the major differences are:
1. it does not execute anything
2. it is reentrant
3. it generates a complete AST
See https://github.com/idank/bashlex/blob/master/README.md for more info.
Raw data
{
"_id": null,
"home_page": "https://github.com/idank/bashlex.git",
"name": "bashlex",
"maintainer": "",
"docs_url": null,
"requires_python": ">=2.7, !=3.0, !=3.1, !=3.2, !=3.3, !=3.4",
"maintainer_email": "",
"keywords": "",
"author": "Idan Kamara",
"author_email": "i@idank.me",
"download_url": "https://files.pythonhosted.org/packages/76/60/aae0bb54f9af5e0128ba90eb83d8d0d506ee8f0475c4fdda3deeda20b1d2/bashlex-0.18.tar.gz",
"platform": null,
"description": "bashlex is a Python port of the parser used internally by GNU bash.\n\nFor the most part it's transliterated from C, the major differences are:\n\n1. it does not execute anything\n2. it is reentrant\n3. it generates a complete AST\n\nSee https://github.com/idank/bashlex/blob/master/README.md for more info.\n",
"bugtrack_url": null,
"license": "GPLv3+",
"summary": "Python parser for bash",
"version": "0.18",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f4be6985abb1011fda8a523cfe21ed9629e397d6e06fb5bae99750402b25c95b",
"md5": "7f9b4e2a518ce1525c6f704706d55773",
"sha256": "91d73a23a3e51711919c1c899083890cdecffc91d8c088942725ac13e9dcfffa"
},
"downloads": -1,
"filename": "bashlex-0.18-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "7f9b4e2a518ce1525c6f704706d55773",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0, !=3.1, !=3.2, !=3.3, !=3.4",
"size": 69539,
"upload_time": "2023-01-18T15:21:24",
"upload_time_iso_8601": "2023-01-18T15:21:24.167105Z",
"url": "https://files.pythonhosted.org/packages/f4/be/6985abb1011fda8a523cfe21ed9629e397d6e06fb5bae99750402b25c95b/bashlex-0.18-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7660aae0bb54f9af5e0128ba90eb83d8d0d506ee8f0475c4fdda3deeda20b1d2",
"md5": "18156c91e796a5f676338337b178f476",
"sha256": "5bb03a01c6d5676338c36fd1028009c8ad07e7d61d8a1ce3f513b7fff52796ee"
},
"downloads": -1,
"filename": "bashlex-0.18.tar.gz",
"has_sig": false,
"md5_digest": "18156c91e796a5f676338337b178f476",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7, !=3.0, !=3.1, !=3.2, !=3.3, !=3.4",
"size": 68742,
"upload_time": "2023-01-18T15:21:26",
"upload_time_iso_8601": "2023-01-18T15:21:26.402367Z",
"url": "https://files.pythonhosted.org/packages/76/60/aae0bb54f9af5e0128ba90eb83d8d0d506ee8f0475c4fdda3deeda20b1d2/bashlex-0.18.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-18 15:21:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "idank",
"github_project": "bashlex.git",
"lcname": "bashlex"
}