API Documentation

This is an official API documentation for the scons-tool-util python package.

Introduction

For specific documentation, please skip to the next sections.

The sconstool.util is an implicit namespaced package (see PEP 420) within sconstool namespace. Because of this, there is no lib/sconstool/__init__.py.

Classes

This section documents classes provided by scons-tool-util package. The summary below provides links to a full documentation for each class.

ToolFinder(tool, **kw) Callable object which helps searching for programs used by SCons tools.

Functions

This section documents functions provided by scons-tool-util package. The summary below provides links to a full documentation for each function.

add_ro_dict_property(cls, dictattr, attr[, …]) Add to class cls a read-only property returning a predefined entry from a dict.
ensure_kwarg_in(caller, key, allowed) Checks a single key from keyword arguments against allowed keys.
ensure_kwarg_not_in(caller, key, forbidden) Checks a single key from keyword arguments against forbidden keys.
check_kwarg(caller, key[, allowed, forbidden]) Checks a single key from keyword arguments against allowed and forbidden keys.
check_kwargs(caller, kw[, allowed, forbidden]) Checks all keys from keyword arguments kw against allowed and forbidden keys.
import_all_from(target, modules[, …]) Imports symbols from multiple modules.