{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/3"}],"enrichment":{"capability":"Invokes Python functions by full module path specifier, loading the target as a proper module rather than as __main__, which enables relative imports to work correctly.","skillfed_tags":["module-invocation","abandoned"],"use_cases":["Running a module that uses relative imports when direct invocation with `python -m` fails due to parent module loading issues.","Launching Python applications from scripts or automation tools that need to preserve module context and relative import behavior.","Workaround for packages that cannot be restructured to avoid relative import problems in their entry points."],"what_it_does":"pyinvoke is a lightweight module launcher that runs a Python function specified by a full module path (e.g., `module.main:main`), ensuring the target loads as its proper module rather than as `__main__`. This solves a specific problem: when you run a module directly with `python -m module.main`, relative imports within that module fail because Python doesn't recognize the parent package context. pyinvoke becomes `__main__` instead, allowing the target to load correctly and perform relative imports.\n\nThe package has no runtime dependencies and is simple to use: invoke it with `python -m pyinvoke <module>:<function>`. However, it has been abandoned since September 2018 with no updates or maintenance activity since then, and there is no indication of ongoing support or compatibility testing with modern Python versions.","worth_installing":"No. The package is abandoned (last release 2018-09-20, no maintenance since) with high install friction and no clear evidence of ongoing compatibility with modern Python. Before adopting it, verify whether the original relative-import problem it solves is still relevant to your use case, and explore whether standard Python tooling or modern alternatives now handle this scenario better."},"id":"pyinvoke","links":{"html":"https://skillfed.io/packages/pyinvoke","md":"https://skillfed.io/packages/pyinvoke.md","pypi":"https://pypi.org/project/pyinvoke/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2018-09-20","license_spdx":null,"license_treatment":"permissive","name":"pyinvoke","python_support":"unspecified","summary":null},"popularity":{"monthly_downloads":208218,"position":9533,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.4"}
