Skip to main content

Utility library for performing programmatic imports

Project description

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.

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

emport-1.4.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: emport-1.4.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for emport-1.4.1.tar.gz
Algorithm Hash digest
SHA256 dd5076e8b4b361c043c8778da228731fd7d75e5eaabab300eb5e95bbed76ed9a
MD5 87ef4af60066d0fdb10b049ea9df7321
BLAKE2b-256 3e82946e9a2a58798afe1e357fa571d8ef5dbf5ffd97d2d2b936486ccb5d5f4f

See more details on using hashes here.

File details

Details for the file emport-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: emport-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for emport-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8487665c0e10d0775d8d1783bafdab518289352a561547ff81125f0b4aa6813
MD5 801d526e6b66e71dd87174e4ebb6de91
BLAKE2b-256 1c85988a49bb34ce3640c12787e125a53dca6d50b3272052315b0fd586b13a62

See more details on using hashes here.

Supported by

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