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_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-2.2.2.tar.gz
(22.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docspec_python-2.2.2.tar.gz.
File metadata
- Download URL: docspec_python-2.2.2.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
429be834d09549461b95bf45eb53c16859f3dfb3e9220408b3bfb12812ccb3fb
|
|
| MD5 |
b1c48da117b25f71fd26251fe6b2b759
|
|
| BLAKE2b-256 |
eaeae6d9d9c2f805c6ac8072d0e3ee5b1da2dd61886c662327df937dec9f282c
|
File details
Details for the file docspec_python-2.2.2-py3-none-any.whl.
File metadata
- Download URL: docspec_python-2.2.2-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caa32dc1e8c470af8a5ecad67cca614e68c1563ac01dab0c0486c4d7f709d6b1
|
|
| MD5 |
16fb3b5db619de6b15b45d7e8255976d
|
|
| BLAKE2b-256 |
03c2b3226746fb6b91893da270a60e77bb420d59cf33a7b9a4e719a236955971
|