Skip to main content

A module that supports simple programmatic module imports

Project description

Utilities for loading modules, supporting programmatic imports of types:

>>>from import_utils import import_module_from, import_module
>>>import x as mod_x
>>>mod_x = import_module('x')
>>>
>>>import x.y as mod_xy
>>>mod_xy = import_module('x.y')
>>>
>>>from x.y import z
>>>z = import_module_from('x.y.z')

Project details


Download files

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

Source Distribution

import-utils-0.0.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page