A parser based on lib2to3 producing docspec data from Python source code.
Reason this release was yanked:
Breaking API change
Project description
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
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.1.1.tar.gz
(13.6 kB
view hashes)
Built Distribution
Close
Hashes for docspec_python-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e472363734135be76cf3be8ad5c02f463cf3dace9d22ed9daae1aec33f2a6261 |
|
MD5 | 96a3e2dfb33a8f621e4313cb57b5e056 |
|
BLAKE2b-256 | 00728bcdec81264b68e68ede671f076b3b3c8ac9439cd7078d9f4f94ad739c8b |