include - Dynamic Module Importer

Build Status Code Health Test Coverage Documentation Status

Documentation Topics Overview:

The include library is built to use code from arbitrary sources in your application. In contrast to eval, exec and other code execution, include creates fully featured modules. This makes code viable for pickling, multiprocessing, IPC and more.

Using include is straight forward - you only need the top level functions of the module:

import include
my_config = include.path('/etc/sysconfig/')

All ugly bits are handled by include - once a module is imported, it works as normal. Even in other processes, the import machinery is bootstrapped without manual intervention.

For all supported import methods, check out the public inteface of the include module.

Indices and tables

Documentation built from include 0.2.2 at Aug 02, 2018.