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.1.tar.gz
(6.8 kB
view details)
File details
Details for the file emport-1.0.1.tar.gz
.
File metadata
- Download URL: emport-1.0.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c0bf3742f814c4559aabcbc6e01b4b15e7da41941150841125b7cfc126beace |
|
MD5 | 1d6c98b472533aabc23182d804bfea3f |
|
BLAKE2b-256 | 6d533d8d89be6463eb2bacd51b0594796cf230b42c5e8de5dc66d828aa78097f |