$npx skillfedfor your agent

pyinvoke

SkipPyPI Build ToolsReleased Sep 2018208.2K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — pyinvoke-1.0.4.tar.gz · builds from source
v1.0.4 · released 2018-09-20

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python to be invoked with -m pyinvoke; the target module must be importable and the function must exist at the specified path.
  • High install friction and abandoned maintenance status (last release 2018-09-20, no activity since).
  • No runtime dependencies, but the package has received no updates in years and shows no active development.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it legally safe to adopt from a licensing perspective.

last release 2018-09-20 (2885 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 208,218 downloads/mo, #9,533 on PyPI

Verify before relying

pip install pyinvoke

python -m pyinvoke module.main:main
  • Whether the package works reliably with modern Python versions (last tested/released in 2018).
  • Whether relative import handling remains compatible with current Python semantics.
  • Active alternatives or whether this problem is now solved by standard Python tooling.
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

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.

Install

pyinvoke on PyPI

Before you install

High install friction and abandoned maintenance status (last release 2018-09-20, no activity since). No runtime dependencies, but the package has received no updates in years and shows no active development.

Requires Python to be invoked with -m pyinvoke; the target module must be importable and the function must exist at the specified path.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it legally safe to adopt from a licensing perspective.

Quickstart

pip install pyinvoke

python -m pyinvoke module.main:main

Verify before relying

  • Whether the package works reliably with modern Python versions (last tested/released in 2018).
  • Whether relative import handling remains compatible with current Python semantics.
  • Active alternatives or whether this problem is now solved by standard Python tooling.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 2,885 days since the last release
First released
Downloads208,218 / month, #9,533 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: pyinvoke-1.0.4.tar.gz

Tags

Capabilities
invoke python function by module pathrun python module with relative importspython function specifier entrypointload module as non-mainpython module invocation tool
Topics
module-invocationabandoned

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “invoke python function by module path”

  • pyinvokeInvokes Python functions by full module path specifier, loading the…
  • emportEmport provides a single function to import Python files by filename,…
  • rootpathDetects a Python project or package root directory by scanning for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also emport · locate · tracebackturbo3 · rootpath · pyproject-hooks · ipynb · pystray · import-deps · distlib