Metadata-Version: 2.1
Name: docspec-python
Version: 2.0.0
Summary: A parser based on lib2to3 producing docspec data from Python source code.
Home-page: https://github.com/NiklasRosenstein/docspec/
License: MIT
Author: Niklas Rosenstein
Author-email: rosensteinniklas@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: docspec (>=2.0.0,<3.0.0)
Requires-Dist: nr.util (>=0.7.0)
Description-Content-Type: text/markdown

  [docspec]: https://github.com/NiklasRosenstein/docspec

# 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
```

---

<p align="center">Copyright &copy; 2020, Niklas Rosenstein</p>

