Skip to content
/ emport Public

Utility library for performing programmatic imports in Python

License

Notifications You must be signed in to change notification settings

vmalloc/emport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Supported Versions Latest Version

Overview

Emport is a small utility library for importing files by file name. It exposed a single function, import_file(filename).

Unlike traditional usages of __import__, execfile or even imp.load_source, Emport takes care of all cases that you may encounter - importing files inside packages (useful when they use relative imports), importing directories (or __init__.py files)

Licence

The library is licensed under the BSD (3-clause) open source license.