The Clacks common libraryΒΆ

The common library bundles a couple of shared resources that are needed by more than one component. It also includes base XML data which is required for over all schema checking.

Here is an example on how to use the common module:

>>> from clacks.common import Environment
>>> env = Environment.getInstance()

This loads the clacks environment information using the Environment singleton.


Using the environment requires the presence of the clacks configuration file - commonly ~/.clacks/config or /etc/clacks/config in this order