docspec-python2.2.1
docspec-python2.2.1
Published
A parser based on lib2to3 producing docspec data from Python source code.
pip install docspec-python
Package Downloads
Authors
Project URLs
Requires Python
>=3.7,<4.0
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
Copyright © 2020, Niklas Rosenstein