[docspec]: https://github.com/NiklasRosenstein/docspec
# docspec-python
A parser based on `lib2to3` procuding [docspec][] data from Python source code.
Example:
```
from docspec_python import parse_python_module
import docspec, sys
docspec.dump_module(parse_python_module(sys.stdin, print_function=False), sys.stdout)
```
```
$ docspec-python -p docspec | docspec --dump-tree --multiple | head
module __init__
| data __author__
| data __version__
| data __all__
| data _ClassProxy
| data _mapper
| class Location
| | data filename
| | data lineno
| class Decoration
```
---
<p align="center">Copyright © 2020, Niklas Rosenstein</p>
Raw data
{
"_id": null,
"home_page": "https://github.com/NiklasRosenstein/docspec/",
"name": "docspec-python",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Niklas Rosenstein",
"author_email": "rosensteinniklas@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/52/88/99c5e27a894f01290364563c84838cf68f1a8629474b5bbfc3bf35a8d923/docspec_python-2.2.1.tar.gz",
"platform": null,
"description": " [docspec]: https://github.com/NiklasRosenstein/docspec\n\n# docspec-python\n\nA parser based on `lib2to3` procuding [docspec][] data from Python source code.\n\nExample:\n\n```\nfrom docspec_python import parse_python_module\nimport docspec, sys\ndocspec.dump_module(parse_python_module(sys.stdin, print_function=False), sys.stdout)\n```\n\n```\n$ docspec-python -p docspec | docspec --dump-tree --multiple | head\nmodule __init__\n| data __author__\n| data __version__\n| data __all__\n| data _ClassProxy\n| data _mapper\n| class Location\n| | data filename\n| | data lineno\n| class Decoration\n```\n\n---\n\n<p align=\"center\">Copyright © 2020, Niklas Rosenstein</p>\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A parser based on lib2to3 producing docspec data from Python source code.",
"version": "2.2.1",
"project_urls": {
"Homepage": "https://github.com/NiklasRosenstein/docspec/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7b49b8d1a2fa01b6f7a1a9daa1d485efc7684489028d6a356fc2bc5b40131061",
"md5": "837d9ea289c623a4bbce5371e3e16074",
"sha256": "76ac41d35a8face35b2d766c2e8a416fb8832359785d396f0d53bcb00f178e54"
},
"downloads": -1,
"filename": "docspec_python-2.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "837d9ea289c623a4bbce5371e3e16074",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4.0",
"size": 16093,
"upload_time": "2023-05-28T11:24:17",
"upload_time_iso_8601": "2023-05-28T11:24:17.261773Z",
"url": "https://files.pythonhosted.org/packages/7b/49/b8d1a2fa01b6f7a1a9daa1d485efc7684489028d6a356fc2bc5b40131061/docspec_python-2.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "528899c5e27a894f01290364563c84838cf68f1a8629474b5bbfc3bf35a8d923",
"md5": "2921ef2f8fcd6a0542ea7981353d2a8f",
"sha256": "c41b850b4d6f4de30999ea6f82c9cdb9183d9bcba45559ee9173d3dab7281559"
},
"downloads": -1,
"filename": "docspec_python-2.2.1.tar.gz",
"has_sig": false,
"md5_digest": "2921ef2f8fcd6a0542ea7981353d2a8f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<4.0",
"size": 13838,
"upload_time": "2023-05-28T11:24:19",
"upload_time_iso_8601": "2023-05-28T11:24:19.846868Z",
"url": "https://files.pythonhosted.org/packages/52/88/99c5e27a894f01290364563c84838cf68f1a8629474b5bbfc3bf35a8d923/docspec_python-2.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-28 11:24:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "NiklasRosenstein",
"github_project": "docspec",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "docspec-python"
}