Skip to main content

Dynamic module loader

Project description

[![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.

Project details

Release history Release notifications

History Node


History Node


This version
History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
modlib-0.1.4.tar.gz (1.6 kB) Copy SHA256 hash SHA256 Source None Feb 16, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page