Skip to main content

Utility library for performing programmatic imports

Project description

https://secure.travis-ci.org/vmalloc/emport.png?branch=master,dev https://pypip.in/d/emport/badge.png https://pypip.in/v/emport/badge.png

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


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.1.2.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file emport-1.1.2.tar.gz.

File metadata

  • Download URL: emport-1.1.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for emport-1.1.2.tar.gz
Algorithm Hash digest
SHA256 365354e2c2f928ba8c027093344887e80471b7dbd2d2b6afd57882a132412ae6
MD5 a6e6ddd7db0bfd3fbea4f912e2b10645
BLAKE2b-256 b704f247f22b30b2514f622d610b92ae27a4817c0d6b435acaa74768c2021a99

See more details on using hashes here.

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