Skip to content

pytkdocs¤

ci documentation pypi version conda version gitter

Load Python objects documentation.

[!IMPORTANT] This project is deprecated in favor of the much more powerful Griffe project.

Installation¤

pip install pytkdocs

With uv:

uv tool install pytkdocs

With conda:

conda install -c conda-forge pytkdocs

Usage¤

pytkdocs accepts JSON on standard input and writes JSON on standard output.

Input format:

{
  "objects": [
    {
      "path": "pytkdocs",
      "new_path_syntax": false,
      "members": true,
      "inherited_members": false,
      "filters": [
        "!^_[^_]"
      ],
      "docstring_style": "google",
      "docstring_options": {
        "replace_admonitions": true
      }
    }
  ]
}

Output format:

{
  "loading_errors": [
    "string (message)"
  ],
  "parsing_errors": {
    "string (object)": [
      "string (message)"
    ]
  },
  "objects": [
    {
      "name":