pdoc


Namepdoc JSON
Version 15.0.1 PyPI version JSON
download
home_pageNone
SummaryAPI Documentation for Python Projects
upload_time2024-12-12 15:39:18
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT-0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
<a href="https://pdoc.dev/"><img alt="pdoc" src="https://pdoc.dev/logo.svg" width="200" height="100" /></a>
<br><br>
<a href="https://pdoc.dev/docs/pdoc.html"><img height="20" alt="pdoc documentation" src="https://shields.mitmproxy.org/badge/docs-pdoc.dev-brightgreen.svg"></a>
<img height="20" alt="CI Status" src="https://shields.mitmproxy.org/github/actions/workflow/status/mitmproxy/pdoc/main.yml?label=CI&logo=github">
<img height="20" alt="Code Coverage" src="https://shields.mitmproxy.org/badge/coverage-100%25-brightgreen">
<a href="https://autofix.ci"><img height="20" alt="autofix.ci: yes" src="https://shields.mitmproxy.org/badge/autofix.ci-yes-success?logo=data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMTI4IDEyOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCB0cmFuc2Zvcm09InNjYWxlKDAuMDYxLC0wLjA2MSkgdHJhbnNsYXRlKC0yNTAsLTE3NTApIiBkPSJNMTMyNSAtMzQwcS0xMTUgMCAtMTY0LjUgMzIuNXQtNDkuNSAxMTQuNXEwIDMyIDUgNzAuNXQxMC41IDcyLjV0NS41IDU0djIyMHEtMzQgLTkgLTY5LjUgLTE0dC03MS41IC01cS0xMzYgMCAtMjUxLjUgNjJ0LTE5MSAxNjl0LTkyLjUgMjQxcS05MCAxMjAgLTkwIDI2NnEwIDEwOCA0OC41IDIwMC41dDEzMiAxNTUuNXQxODguNSA4MXExNSA5OSAxMDAuNSAxODAuNXQyMTcgMTMwLjV0MjgyLjUgNDlxMTM2IDAgMjU2LjUgLTQ2IHQyMDkgLT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NnQtMTY5IC03Mi41dC0xMTcuNSAtMTA4dC00MyAtMTMxLjVxMCAtMzQgMTQuNSAtNjIuNXQ0MC41IC01MC41bC01NSAtNTlxLTM0IDI5IC01NCA2NS41dC0yNSA4MS41cS04MSAtMTggLTE0NSAtNzB0LTEwMSAtMTI1LjV0LTM3IC0xNTguNXEwIC0xMDIgNDguNSAtMTgwLjV0MTI5LjUgLTEyM3QxNzkgLTQ0LjV6Ii8+PC9zdmc+"></a>
<a href="https://pypi.python.org/pypi/pdoc"><img height="20" alt="PyPI Version" src="https://shields.mitmproxy.org/pypi/v/pdoc.svg"></a>
<img height="20" alt="Supported Python Versions" src="https://shields.mitmproxy.org/pypi/pyversions/pdoc.svg">
</p>

API Documentation for Python Projects.


# Example

`pdoc -o ./html pdoc` generates this website: [pdoc.dev/docs](https://pdoc.dev/docs/pdoc.html).

# Installation
```shell
pip install pdoc
```

pdoc is compatible with Python 3.9 and newer.


# Usage

```shell
pdoc your_python_module
# or
pdoc ./my_project.py
```

Run `pdoc pdoc` to see pdoc's own documentation, 
run `pdoc --help` to view the command line flags, 
or check our [hosted copy of the documentation](https://pdoc.dev/docs/pdoc.html).


# Features

pdoc's main feature is a focus on simplicity: pdoc aims to do one thing and do it well.  


* Documentation is plain [Markdown](https://pdoc.dev/docs/pdoc.html#markdown-support).
* First-class support for type annotations and all other modern Python 3 features.
* Builtin web server with live reloading.
* Customizable HTML templates.
* Understands numpydoc and Google-style docstrings.
* Standalone HTML output without additional dependencies.
  
Under the hood...

* `pdoc` will automatically link identifiers in your docstrings to their corresponding documentation.
* `pdoc` respects your `__all__` variable when present.
* `pdoc` will traverse the abstract syntax tree to extract type annotations and docstrings from constructors as well.
* `pdoc` will automatically try to resolve type annotation string literals as forward references.
* `pdoc` will use inheritance to resolve type annotations and docstrings for class members. 
  
If you have substantially more complex documentation needs, we recommend using [Sphinx](https://www.sphinx-doc.org/)!


## Contributing

As an open source project, pdoc welcomes contributions of all forms.

[![Dev Guide](https://shields.mitmproxy.org/badge/dev_docs-CONTRIBUTING.md-blue)](https://github.com/mitmproxy/pdoc/blob/main/CONTRIBUTING.md)


## pdoc vs. pdoc3

This project is not associated with "pdoc3", which often falsely assumes our name.
Quoting [@BurntSushi](https://github.com/BurntSushi), the original author of pdoc:

> I'm pretty disgusted that someone has taken a project I built, relicensed it, 
> [attempted to erase its entry on the Python Wiki](https://wiki.python.org/moin/DocumentationTools?action=diff&rev1=36&rev2=37), 
> released it under effectively the same name and, worst of all, associated it with Nazi symbols.
> 
> *Source: https://github.com/pdoc3/pdoc/issues/64*

In contrast, the pdoc project strives to uphold a healthy community where everyone is treated with respect.
Everyone is welcome to contribute as long as they adhere to basic civility. We expressly distance ourselves from the use
of Nazi symbols and ideology.

----

The pdoc project was originally created by [Andrew Gallant](https://github.com/BurntSushi) 
and is currently maintained by [Maximilian Hils](https://github.com/mhils).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pdoc",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Maximilian Hils <pdoc@maximilianhils.com>",
    "download_url": "https://files.pythonhosted.org/packages/bf/16/1b542af6f18a27de059f722c487a596681127897b6d31f78e46d6e5bf2fe/pdoc-15.0.1.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n<a href=\"https://pdoc.dev/\"><img alt=\"pdoc\" src=\"https://pdoc.dev/logo.svg\" width=\"200\" height=\"100\" /></a>\n<br><br>\n<a href=\"https://pdoc.dev/docs/pdoc.html\"><img height=\"20\" alt=\"pdoc documentation\" src=\"https://shields.mitmproxy.org/badge/docs-pdoc.dev-brightgreen.svg\"></a>\n<img height=\"20\" alt=\"CI Status\" src=\"https://shields.mitmproxy.org/github/actions/workflow/status/mitmproxy/pdoc/main.yml?label=CI&logo=github\">\n<img height=\"20\" alt=\"Code Coverage\" src=\"https://shields.mitmproxy.org/badge/coverage-100%25-brightgreen\">\n<a href=\"https://autofix.ci\"><img height=\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LjV0LTU1IC0yNi41bDIxOSAtMjQydi0yNzZxMCAtMjAgLTUuNSAtNjB0LTEwLjUgLTc5dC01IC01OHEwIC00MCAzMCAtNTMuNXQxMDQgLTEzLjV6TTEyNjIgNjE2cS0xMTkgMCAtMjI5LjUgMzQuNXQtMTkzLjUgOTYuNWw0OCA2NCBxNzMgLTU1IDE3MC41IC04NXQyMDQuNSAtMzBxMTM3IDAgMjQ5IDQ1LjV0MTc5IDEyMXQ2NyAxNjUuNWg4MHEwIC0xMTQgLTc3LjUgLTIwNy41dC0yMDggLTE0OXQtMjg5LjUgLTU1LjV6TTgwMyA1OTVxODAgMCAxNDkgMjkuNXQxMDggNzIuNWwyMjEgLTY3bDMwOSA4NnE0NyAtMzIgMTA0LjUgLTUwdDExNy41IC0xOHE5MSAwIDE2NSAzOHQxMTguNSAxMDMuNXQ0NC41IDE0Ni41cTAgNzYgLTM0LjUgMTQ5dC05NS41IDEzNHQtMTQzIDk5IHEtMzcgMTA3IC0xMTUuNSAxODMuNXQtMTg2IDExNy41dC0yMzAuNSA0MXEtMTAzIDAgLTE5Ny41IC0yNnQtMTY5IC03Mi41dC0xMTcuNSAtMTA4dC00MyAtMTMxLjVxMCAtMzQgMTQuNSAtNjIuNXQ0MC41IC01MC41bC01NSAtNTlxLTM0IDI5IC01NCA2NS41dC0yNSA4MS41cS04MSAtMTggLTE0NSAtNzB0LTEwMSAtMTI1LjV0LTM3IC0xNTguNXEwIC0xMDIgNDguNSAtMTgwLjV0MTI5LjUgLTEyM3QxNzkgLTQ0LjV6Ii8+PC9zdmc+\"></a>\n<a href=\"https://pypi.python.org/pypi/pdoc\"><img height=\"20\" alt=\"PyPI Version\" src=\"https://shields.mitmproxy.org/pypi/v/pdoc.svg\"></a>\n<img height=\"20\" alt=\"Supported Python Versions\" src=\"https://shields.mitmproxy.org/pypi/pyversions/pdoc.svg\">\n</p>\n\nAPI Documentation for Python Projects.\n\n\n# Example\n\n`pdoc -o ./html pdoc` generates this website: [pdoc.dev/docs](https://pdoc.dev/docs/pdoc.html).\n\n# Installation\n```shell\npip install pdoc\n```\n\npdoc is compatible with Python 3.9 and newer.\n\n\n# Usage\n\n```shell\npdoc your_python_module\n# or\npdoc ./my_project.py\n```\n\nRun `pdoc pdoc` to see pdoc's own documentation, \nrun `pdoc --help` to view the command line flags, \nor check our [hosted copy of the documentation](https://pdoc.dev/docs/pdoc.html).\n\n\n# Features\n\npdoc's main feature is a focus on simplicity: pdoc aims to do one thing and do it well.  \n\n\n* Documentation is plain [Markdown](https://pdoc.dev/docs/pdoc.html#markdown-support).\n* First-class support for type annotations and all other modern Python 3 features.\n* Builtin web server with live reloading.\n* Customizable HTML templates.\n* Understands numpydoc and Google-style docstrings.\n* Standalone HTML output without additional dependencies.\n  \nUnder the hood...\n\n* `pdoc` will automatically link identifiers in your docstrings to their corresponding documentation.\n* `pdoc` respects your `__all__` variable when present.\n* `pdoc` will traverse the abstract syntax tree to extract type annotations and docstrings from constructors as well.\n* `pdoc` will automatically try to resolve type annotation string literals as forward references.\n* `pdoc` will use inheritance to resolve type annotations and docstrings for class members. \n  \nIf you have substantially more complex documentation needs, we recommend using [Sphinx](https://www.sphinx-doc.org/)!\n\n\n## Contributing\n\nAs an open source project, pdoc welcomes contributions of all forms.\n\n[![Dev Guide](https://shields.mitmproxy.org/badge/dev_docs-CONTRIBUTING.md-blue)](https://github.com/mitmproxy/pdoc/blob/main/CONTRIBUTING.md)\n\n\n## pdoc vs. pdoc3\n\nThis project is not associated with \"pdoc3\", which often falsely assumes our name.\nQuoting [@BurntSushi](https://github.com/BurntSushi), the original author of pdoc:\n\n> I'm pretty disgusted that someone has taken a project I built, relicensed it, \n> [attempted to erase its entry on the Python Wiki](https://wiki.python.org/moin/DocumentationTools?action=diff&rev1=36&rev2=37), \n> released it under effectively the same name and, worst of all, associated it with Nazi symbols.\n> \n> *Source: https://github.com/pdoc3/pdoc/issues/64*\n\nIn contrast, the pdoc project strives to uphold a healthy community where everyone is treated with respect.\nEveryone is welcome to contribute as long as they adhere to basic civility. We expressly distance ourselves from the use\nof Nazi symbols and ideology.\n\n----\n\nThe pdoc project was originally created by [Andrew Gallant](https://github.com/BurntSushi) \nand is currently maintained by [Maximilian Hils](https://github.com/mhils).\n",
    "bugtrack_url": null,
    "license": "MIT-0",
    "summary": "API Documentation for Python Projects",
    "version": "15.0.1",
    "project_urls": {
        "Documentation": "https://pdoc.dev/docs/pdoc.html",
        "Homepage": "https://pdoc.dev",
        "Issues": "https://github.com/mitmproxy/pdoc/issues",
        "Source": "https://github.com/mitmproxy/pdoc/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2f4d60d856a1b12fbf6ac1539efccfa138e57c6b88675c9867d84bbb46455cc1",
                "md5": "22da785561e5b4e4e13bbb6e733bd062",
                "sha256": "fd437ab8eb55f9b942226af7865a3801e2fb731665199b74fd9a44737dbe20f9"
            },
            "downloads": -1,
            "filename": "pdoc-15.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "22da785561e5b4e4e13bbb6e733bd062",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 144186,
            "upload_time": "2024-12-12T15:39:17",
            "upload_time_iso_8601": "2024-12-12T15:39:17.107975Z",
            "url": "https://files.pythonhosted.org/packages/2f/4d/60d856a1b12fbf6ac1539efccfa138e57c6b88675c9867d84bbb46455cc1/pdoc-15.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bf161b542af6f18a27de059f722c487a596681127897b6d31f78e46d6e5bf2fe",
                "md5": "8eeec86879ce114537278de9c0fd5d1c",
                "sha256": "3b08382c9d312243ee6c2a1813d0ff517a6ab84d596fa2c6c6b5255b17c3d666"
            },
            "downloads": -1,
            "filename": "pdoc-15.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8eeec86879ce114537278de9c0fd5d1c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 154174,
            "upload_time": "2024-12-12T15:39:18",
            "upload_time_iso_8601": "2024-12-12T15:39:18.498691Z",
            "url": "https://files.pythonhosted.org/packages/bf/16/1b542af6f18a27de059f722c487a596681127897b6d31f78e46d6e5bf2fe/pdoc-15.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-12 15:39:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mitmproxy",
    "github_project": "pdoc",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pdoc"
}
        
Elapsed time: 0.41616s