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.1.tar.gz
(8.5 kB
view hashes)
Built Distribution
Close
Hashes for default_values-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d100e208ff853fa32cda0f8b36598ef7e4862b5e772f93a6f07cfcbcfa9a064c |
|
MD5 | 9d003f6323963760206cd3ce449b51e7 |
|
BLAKE2b-256 | a46270915859dcf2c9ec4d58c91766c2641ef2fceeeffba596726acfc1b0cc1d |