Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

emport

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emport

Utility library for performing programmatic imports

  • 1.4.1
  • PyPI
  • Socket score

Maintainers
2

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc