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.7.tar.gz
(12.5 kB
view hashes)
Built Distribution
Close
Hashes for docspec_python-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9949eda3f964aacdf39d5c84e24a72464e7e190d982cbb2714e661124fa03524 |
|
MD5 | 1aa08261a58658f1390ac88e3f286160 |
|
BLAKE2b-256 | dc43edc53651b32cf8ed942183a1709a4be7edb19aef08d4ce3cdc7014e3fe05 |