Search code examples
pythonroxygen2

roxygen2 equivalent for python


I want to create some documentation for a package written in python.

When I create a package in R, roxygen2 does that for me.

Is there a python/pandas equivalent?


Solution

  • You could use sphinx, it can parse your source code and generate module documentation from function docstrings.

    Specifically, the autodoc features: http://sphinx-doc.org/ext/autodoc.html