# numpydoc

> Sphinx extension for NumPy-style docstrings

Source: https://talira.ai/catalog/numpydoc-f2kx8n1y
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Plugin
- Categories: [developer tools / documentation / docs sites](https://talira.ai/categories/developer-tools/documentation/docs-sites), [languages / python](https://talira.ai/categories/languages/python)
- Licence: BSD-2-Clause[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [NumPy](https://talira.ai/orgs/numpy.md)

numpydoc is the [NumPy](https://talira.ai/catalog/numpy-4ssygecp.md) project's [Sphinx](https://talira.ai/catalog/sphinx-3r9akc1j.md) extension for docstrings written in the NumPy documentation format, the convention set out in its docstring guide. It also adds code description directives such as `np:function` and `np-c:function`, and a pre-commit hook that validates docstrings. It needs Python 3.10+ and Sphinx 6+.

## Links

- GitHub: https://github.com/numpy/numpydoc
- Docs: https://numpydoc.readthedocs.io/

## Ways to install

### Package managers

- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/source/stable/numpydoc>[^1]

## Problems it solves

- render NumPy-style docstrings in Sphinx docs
- check my Python docstrings follow the NumPy convention
- document a scientific Python library with Sphinx

## Features

- renders NumPy-format docstrings in Sphinx
- np:function and np-c:function directives
- docstring validation pre-commit hook
- the NumPy docstring style guide

## Trust

Overall: 0.47 out of 1.
Signals: maintenance 0.64, adoption 0.51, momentum 0.15, community 0.80, backing 0.30, extensibility 0.00.

- last commit 28 days ago
- 6 commits in the last 90 days
- latest release v1.11.0 2 months ago
- 355 GitHub stars
- 97 contributors
- accepts sponsorship (Open Collective, Tidelift, Custom)
- backed by NumPy

## Related

- Works with [Sphinx](https://talira.ai/catalog/sphinx-3r9akc1j.md)

## Alternatives

- [sphinx-autodoc-typehints](https://talira.ai/catalog/sphinx-autodoc-typehints-qhhdd7dq.md): Render Python type hints in Sphinx autodoc documentation
- [Sphinx](https://talira.ai/catalog/sphinx-3r9akc1j.md): Create intelligent and beautiful documentation with ease
- [MyST-Parser](https://talira.ai/catalog/myst-parser-6shx6kdj.md): Write Sphinx and Docutils documentation in MyST Markdown
- [PyData Sphinx Theme](https://talira.ai/catalog/pydata-sphinx-theme-v6j25xzx.md): Clean, three-column, Bootstrap-based theme for Sphinx docs
- [Read the Docs Sphinx Theme](https://talira.ai/catalog/read-the-docs-sphinx-theme-cqvqz7gs.md): The Read the Docs theme for Sphinx documentation
- [nbsphinx](https://talira.ai/catalog/nbsphinx-yzayv76v.md): Sphinx extension that renders Jupyter notebooks in HTML and LaTeX documentation

## Sources

[^1]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 29 Nov 2026)
[^2]: https://github.com/numpy/numpydoc/blob/main/LICENSE.txt (checked 29 Nov 2026)
