atelier.invlib

A library of invoke tasks. See inv tasks defined by atelier.

tasks

This is the module that defines the invoke namespace.

utils

Utilities for atelier.invlib

(This module’s source code is available here.)

Functions

setup_from_tasks(globals_dict[, …])

This is the function you must call from your tasks.py file in order to activate the tasks defined by atelier.

atelier.invlib.setup_from_tasks(globals_dict, main_package=None, settings_module_name=None, **kwargs)

This is the function you must call from your tasks.py file in order to activate the tasks defined by atelier.

Arguments:

  • globals_dict must be the globals() of the calling script.

  • Optional main_package is the name of the main Python package provided by this project.

  • Optional settings_module_name will be stored in the DJANGO_SETTINGS_MODULE, and certain project configuration options will get their default value from that module.

  • All remaining keyword arguments are project configuration parameters and stored to the project configuration options.