pdoc


Namepdoc JSON
Version 14.7.0 PyPI version JSON
download
home_pageNone
SummaryAPI Documentation for Python Projects
upload_time2024-09-11 23:35:36
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
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.8 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.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Maximilian Hils <pdoc@maximilianhils.com>",
    "download_url": "https://files.pythonhosted.org/packages/28/50/e801b13b07efecaf8c2349c64edfffdd7bc1d9ebb9837f840c0e8af11cf8/pdoc-14.7.0.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\"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gLTI4LjV0LTU1IC0yNi41bDIxOSAtMjQydi0yNzZxMCAtMjAgLTUuNSAtNjB0LTEwLjUgLTc5dC01IC01OHEwIC00MCAzMCAtNTMuNXQxMDQgLTEzLjV6TTEyNjIgNjE2cS0xMTkgMCAtMjI5LjUgMzQuNXQtMTkzLjUgOTYuNWw0OCA2NCBxNzMgLTU1IDE3MC41IC04NXQyMDQuNSAtMzBxMTM3IDAgMjQ5IDQ1LjV0MTc5IDEyMXQ2NyAxNjUuNWg4MHEwIC0xMTQgLTc3LjUgLTIwNy41dC0yMDggLTE0OXQtMjg5LjUgLTU1LjV6TTgwMyA1OTVxODAgMCAxNDkgMjkuNXQxMDggNzIuNWwyMjEgLTY3bDMwOSA4NnE0NyAtMzIgMTA0LjUgLTUwdDExNy41IC0xOHE5MSAwIDE2NSAzOHQxMTguNSAxMDMuNXQ0NC41IDE0Ni41cTAgNzYgLTM0LjUgMTQ5dC05NS41IDEzNHQtMTQzIDk5IHEtMzcgMTA3IC0xMTUuNSAxODMuNXQtMTg2IDExNy41dC0yMzAuNSA0MXEtMTAzIDAgLTE5Ny41IC0yNnQtMTY5IC03Mi41dC0xMTcuNSAtMTA4dC00MyAtMTMxLjVxMCAtMzQgMTQuNSAtNjIuNXQ0MC41IC01MC41bC01NSAtNTlxLTM0IDI5IC01NCA2NS41dC0yNSA4MS41cS04MSAtMTggLTE0NSAtNzB0LTEwMSAtMTI1LjV0LTM3IC0xNTguNXEwIC0xMDIgNDguNSAtMTgwLjV0MTI5LjUgLTEyM3QxNzkgLTQ0LjV6Ii8+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.8 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": "14.7.0",
    "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": "27bb6dfa7e6f4eeed22d3311af76256615da637f821d584cf7b7aab5f4cbffc5",
                "md5": "9f9637e17417a766fd5ed6406a982fc5",
                "sha256": "72377a907efc6b2c5b3c56b717ef34f11d93621dced3b663f3aede0b844c0ad2"
            },
            "downloads": -1,
            "filename": "pdoc-14.7.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9f9637e17417a766fd5ed6406a982fc5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 144805,
            "upload_time": "2024-09-11T23:35:34",
            "upload_time_iso_8601": "2024-09-11T23:35:34.385296Z",
            "url": "https://files.pythonhosted.org/packages/27/bb/6dfa7e6f4eeed22d3311af76256615da637f821d584cf7b7aab5f4cbffc5/pdoc-14.7.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2850e801b13b07efecaf8c2349c64edfffdd7bc1d9ebb9837f840c0e8af11cf8",
                "md5": "666e8fdbff82a5bab89613cc950d679b",
                "sha256": "2d28af9c0acc39180744ad0543e4bbc3223ecba0d1302db315ec521c51f71f93"
            },
            "downloads": -1,
            "filename": "pdoc-14.7.0.tar.gz",
            "has_sig": false,
            "md5_digest": "666e8fdbff82a5bab89613cc950d679b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 154626,
            "upload_time": "2024-09-11T23:35:36",
            "upload_time_iso_8601": "2024-09-11T23:35:36.132341Z",
            "url": "https://files.pythonhosted.org/packages/28/50/e801b13b07efecaf8c2349c64edfffdd7bc1d9ebb9837f840c0e8af11cf8/pdoc-14.7.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-11 23:35:36",
    "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.72779s