{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/17"}],"enrichment":{"capability":"Emport provides a single function to import Python files by filename, handling edge cases like relative imports within packages and directory/`__init__.py` imports that standard import mechanisms don't easily support.","skillfed_tags":["dynamic-imports","module-loading"],"use_cases":["Load plugin or configuration modules from user-specified file paths without requiring them to be on sys.path.","Dynamically import test fixtures or helper modules stored outside the standard package structure.","Build tools or scripts that need to import Python files from arbitrary locations on disk.","Import modules that use relative imports from within packages, where standard import mechanisms would fail."],"what_it_does":"Emport is a small utility library that wraps Python's import machinery to load modules from arbitrary file paths. It exposes a single function, `import_file(filename)`, that handles the plumbing of converting a file path into an importable module object. The main value is that it abstracts away the complexity of edge cases: importing files that live inside packages (where relative imports matter), importing directories as packages by loading their `__init__.py`, and other scenarios where the standard `__import__`, `execfile`, or `imp.load_source` approaches either fail or require boilerplate.\n\nThe package depends only on logbook for logging. It supports Python 3.8 through 3.13 and is distributed as a pure Python wheel, so installation is straightforward. The codebase is stable and aging\u2014last updated in October 2025 with minimal recent activity\u2014but carries no known security vulnerabilities and remains functional for its narrow, well-defined purpose.","worth_installing":"Yes, if you need to import Python files by path and want to avoid the boilerplate of managing import hooks or manipulating sys.path. The low install friction, permissive license, and lack of vulnerabilities make it a safe choice. However, the aging maintenance status and minimal activity suggest it is not actively developed; if you encounter edge cases or need new features, expect to maintain a fork or use an alternative."},"id":"emport","links":{"html":"https://skillfed.io/packages/emport","md":"https://skillfed.io/packages/emport.md","pypi":"https://pypi.org/project/emport/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-10-13","license_spdx":null,"license_treatment":"permissive","name":"emport","python_support":"supports_current","summary":"Utility library for performing programmatic imports"},"popularity":{"monthly_downloads":92662,"position":13436,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.4.1"}
