skip to navigation
skip to content

modlib 0.1.4

Dynamic module loader

Latest Version: 1.0.0

[![Latest Version](]( [![Coverage Status](]( [![Build Status](]( [![MIT Licensed](](

Simplifies importing dynamic modules. It exposes the Modstack class, which collects modules as you import them. If you need the same module again, it will return the existing module from the stack rather than reimporting it. It also supports getting a specific item from the modules rather than the full module

## Usage

import modlib

Stack = modlib.Modstack Names = [‘’, ‘alpha’, ‘’] Modules = { x: Stack.get(x) for x in Names }

## Installation

pip install modlib

## License

modlib is released under the MIT License. See the bundled LICENSE file for details.

File Type Py Version Uploaded on Size
modlib-0.1.4.tar.gz (md5) Source 2014-02-16 1KB