prefect-shell
Prefect integrations for interacting with shell commands.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive license, and installs with minimal friction. Install it if you need to run shell commands as managed tasks within Prefect workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later and an active Prefect installation.
- Low friction installation with a single runtime dependency on prefect.
- Actively maintained with recent releases and no known vulnerabilities.
License · maintenance · safety
Apache License 2.0 (permissive) — Apache License 2.0 is permissive; you can use this package freely in commercial and private projects with minimal restrictions.
last release 2026-06-05 (70 days) · last repo commit 2026-08-14 · 23,623 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 651,391 downloads/mo, #5,551 on PyPI
Alternatives
Verify before relying
pip install prefect-shell
from prefect_shell import shell_run_command
await shell_run_command(command="echo 'Hello'")- Whether shell task output is captured as structured data or raw strings
- Support for environment variable injection or secret management in shell commands
- Error handling and retry behavior when shell commands fail
What it is and what it does
prefect-shell is a Prefect integration that lets you execute shell commands as tasks within Prefect workflows. It bridges the gap between orchestrated data pipelines and command-line tools, allowing you to run bash scripts, system utilities, or any executable as a managed workflow step. The package wraps shell execution into Prefect's task model so commands are logged, monitored, and can be retried or failed gracefully as part of a larger workflow.
You use it when you need to invoke external tools, scripts, or system commands from within a Prefect workflow without leaving the orchestration layer. It depends only on prefect itself and is designed for developers and system administrators who want to integrate shell-based operations into their data pipelines or automation workflows.
Use it for
- Run data processing scripts written in shell or other languages as orchestrated workflow steps
- Execute system administration commands (backups, deployments, cleanup) within a managed pipeline
- Invoke third-party CLI tools as part of a larger Prefect workflow
- Capture shell command output and pass it to downstream workflow tasks
- Integrate legacy shell-based workflows into modern Prefect orchestration
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, carries a permissive license, and installs with minimal friction. Install it if you need to run shell commands as managed tasks within Prefect workflows.
Install
prefect-shell on PyPI
Before you install
Low friction installation with a single runtime dependency on prefect. Actively maintained with recent releases and no known vulnerabilities.
Requires Python 3.10 or later and an active Prefect installation.
License in practice
Apache License 2.0 is permissive; you can use this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install prefect-shell
from prefect_shell import shell_run_command
await shell_run_command(command="echo 'Hello'")
Verify before relying
- Whether shell task output is captured as structured data or raw strings
- Support for environment variable injection or secret management in shell commands
- Error handling and retry behavior when shell commands fail
Package facts
| License | Apache License 2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageprefect |
| Maintenance | Actively maintained 70 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 651,391 / month, #5,551 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries |
Evidence: prefect_shell-0.3.6-py3-none-any.whl
Tags
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 › “prefect shell integration”
- prefect-shellProvides Prefect workflow tasks for executing shell commands and…
- prefect-emailProvides Prefect workflow integration for sending emails, enabling…
- prefect-githubProvides Prefect workflow tasks and blocks for interacting with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also prefect-dbt · prefect-docker · prefect-email · prefect-snowflake · prefect-github · prefect-dask · prefect-gitlab · invoke · kestra · cloudshell-shell-core