desitemplate API
This is used to include docstrings from modules. See the autodoc documentation.
If you’re loading a module here, and don’t see some functions, try adding the
:imported-members: option.
desitemplate
This package is a template for other DESI Python packages.
You should use desi_update_version to set the version. This requires the desiutil package.
desitemplate.main
This module contains an example command-line function.
- desitemplate.main._parse_arguments()[source]
Parse command-line arguments.
- Returns:
The parsed options.
- Return type:
- desitemplate.main.main()[source]
Entry-point for command-line scripts.
- Returns:
Exit status that will be passed to
sys.exit().- Return type: