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 details)

Uploaded Source

File details

Details for the file import-utils-0.0.1.tar.gz.

File metadata

  • Download URL: import-utils-0.0.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for import-utils-0.0.1.tar.gz
Algorithm Hash digest
SHA256 84a5e11d49b97889d939727804dede768040501952ff7197d9e42ec671237681
MD5 9786b19c5760d60acc8ff18b4b5caac6
BLAKE2b-256 85e815a456f4b333ba144113e87dd70f222672e42641868c6d69b70b056bbd60

See more details on using hashes here.

Supported by

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