Utility library for performing programmatic imports
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
emport-1.0.0.tar.gz
(6.5 kB
view details)
File details
Details for the file emport-1.0.0.tar.gz
.
File metadata
- Download URL: emport-1.0.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36ebcfc3b54f810c3641e9b3764161bc8fd22d66c0d29cc498993aeaa779cb6f |
|
MD5 | 62eb31b85bbc6a0a053bde5843039620 |
|
BLAKE2b-256 | a76c45c8352fadb98b35afb136cd5e817d252ed446f7e021c40534c3467fae7d |