A parser based on lib2to3 producing docspec data from Python source code.
Project description
docspec-python
A parser based on lib2to3
procuding docspec data from Python source code.
Example:
from docspec_python import parse_python
import docspec, sys
docspec.dump_module(parse_python(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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
docspec-python-0.0.5.tar.gz
(12.2 kB
view hashes)
Built Distribution
Close
Hashes for docspec_python-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c6857c70a1b11ee3a3d14e9454e19f2796aee65f8d3d43f849eed80de2f8053 |
|
MD5 | 0498a6f159e6d22ffa88ecd60935b6be |
|
BLAKE2b-256 | 60dfc0a1ff2452cdc5126813fa9558f3d3d1f6dbd4a9dab9556812f8e11ddd8f |