跳转到主要内容

Sphinx扩展,用于在文档中显示默认值。

项目描述

Sphinx扩展,用于在文档中显示默认值。

例如

def namedlist(name: str = "NamedList") -> Callable:
        """
        A factory function to return a custom list subclass with a name.

        :param name: The name of the list.

        :return:
        """
https://default-values.readthedocs.io/en/latest/_images/after.png

有关更多信息,请参阅文档

文档

Documentation Build Status Docs Check Status

测试

Linux Test Status Windows Test Status macOS Test Status Coverage

PyPI

PyPI - Package Version PyPI - Supported Python Versions PyPI - Supported Implementations PyPI - Wheel

Anaconda

Conda - Package Version Conda - Platform

活动

GitHub last commit GitHub commits since tagged version Maintenance PyPI - Downloads

质量保证

CodeFactor Grade Flake8 Status mypy status

其他

License GitHub top language Requirements Status


安装

default_values 可从PyPI或Anaconda安装。

使用 pip 安装

$ python -m pip install default_values

使用 conda 安装

  • 首先添加所需的渠道

$ conda config --add channels https://conda.anaconda.org/conda-forge
$ conda config --add channels https://conda.anaconda.org/domdfcoding
  • 然后安装

$ conda install default_values

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源代码分发

default_values-0.6.0.tar.gz (8.0 kB 查看哈希值)

上传时间 源代码

构建分发

default_values-0.6.0-py3-none-any.whl (22.2 kB 查看哈希值)

上传时间 Python 3

由以下机构支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面