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.0b1.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for default_values-0.5.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2af3ad3442d9ccce748d507802d96732cc6c3f3f799ea8f3945340ac053c83f3 |
|
MD5 | 39bbb8bf8f1b3e109ade2dfc265d846a |
|
BLAKE2b-256 | 34afb4a29a22e9bd0e5d4058c843e64d1347fb04c6adaf5a3e909de592c7f0e3 |