Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anntzer/structured-docstrings

Structured and composable (numpy)-docstrings (proof-of-concept stage)
https://github.com/anntzer/structured-docstrings

Last synced: 10 days ago
JSON representation

Structured and composable (numpy)-docstrings (proof-of-concept stage)

Awesome Lists containing this project

README

        

structured docstrings
=====================

Try ::

pydoc structdoc_example

or ::

>>> import structdoc_example
>>> print(structdoc_example.func.__doc__)
>>> structdoc_example.otherfunc.__doc__

or ::

In [1]: import structdoc_example

In [2]: structdoc_example.func?

interpolated docstrings
=======================

Try ::

pydoc interpolate_example

or ::

>>> import interpolate_example
>>> print(interpolate_example.func.__doc__)

or ::

In [1]: import interpolate_example

In [2]: interpolate_example.func?