Sphinx extension to show default values in documentation.
Project description
Sphinx extension to show default values in documentation.
For example:
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: """
For more information see the documentation.
Docs |
|
---|---|
Tests |
|
PyPI |
|
Anaconda |
|
Activity |
|
QA |
|
Other |
Installation
default_values can be installed from PyPI or Anaconda.
To install with pip:
$ python -m pip install default_values
To install with conda:
First add the required channels
$ conda config --add channels https://conda.anaconda.org/conda-forge $ conda config --add channels https://conda.anaconda.org/domdfcoding
Then install
$ conda install default_values
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
default_values-0.5.0.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for default_values-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81274f1ca9c339c901e27a050ab98ad4fc8e9697a818a796469771872bd7d65a |
|
MD5 | fac32a3cd9aa9e148ec7a4016c869deb |
|
BLAKE2b-256 | f2c2da0ad1ca442d41e1e5bdb22b19aebc03e1422f79fe7a41df85d470089a54 |