fabric
High level SSH command execution
Decision gist · record as of 2026-08-14
Yes. Fabric is a mature, actively maintained library (production-stable, 15487 stars, recent commits) with low install friction and no known vulnerabilities. It solves a real problem—bridging Python and remote SSH execution—and is well-suited for deployment automation, system administration, and infrastructure tasks. The permissive BSD license poses no obstacle. Install it if you need programmatic remote command execution.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a pure-Python wheel distribution.
- Active maintenance with a recent release 130 days ago and ongoing commits; the repository is well-established with 15487 stars.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions—suitable for most deployment and automation workflows.
last release 2026-04-06 (130 days) · last repo commit 2026-04-10 · 15,487 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 13,714,378 downloads/mo, #1,267 on PyPI
Alternatives
Verify before relying
pip install fabric
from fabric import Connection
conn = Connection('host')
result = conn.run('ls -la')
print(result.stdout)- Whether version 3.2.3 maintains backward compatibility with code written for earlier Fabric releases
- Specific performance characteristics or scalability limits for large-scale multi-host orchestration
What it is and what it does
Fabric is a Python library for executing shell commands on remote servers over SSH. It wraps Invoke (for local command execution and CLI features) and Paramiko (for SSH protocol handling), providing a unified Python API to run commands remotely and capture their output as structured objects. It's designed for system administrators and developers who need to automate server administration, deployments, or multi-host orchestration tasks.
The library sits at the intersection of local task automation and remote execution—you write Python code that reads like shell scripts but runs on remote machines, with results flowing back into your Python program. It handles SSH connection management, command execution, and result parsing, reducing boilerplate for common deployment and administration patterns.
Use it for
- Automate multi-server deployments by running shell commands on remote hosts and capturing output in Python
- Build system administration scripts that execute tasks across clusters of machines over SSH
- Orchestrate application rollouts, configuration management, or maintenance routines on production servers
- Execute ad-hoc remote commands and collect results programmatically instead of writing shell scripts
- Integrate remote command execution into Python-based CI/CD pipelines or infrastructure-as-code workflows
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Fabric is a mature, actively maintained library (production-stable, 15487 stars, recent commits) with low install friction and no known vulnerabilities. It solves a real problem—bridging Python and remote SSH execution—and is well-suited for deployment automation, system administration, and infrastructure tasks. The permissive BSD license poses no obstacle. Install it if you need programmatic remote command execution.
Install
fabric on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release 130 days ago and ongoing commits; the repository is well-established with 15487 stars.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions—suitable for most deployment and automation workflows.
Quickstart
pip install fabric
from fabric import Connection
conn = Connection('host')
result = conn.run('ls -la')
print(result.stdout)
Verify before relying
- Whether version 3.2.3 maintains backward compatibility with code written for earlier Fabric releases
- Specific performance characteristics or scalability limits for large-scale multi-host orchestration
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesinvokeparamikodecoratordeprecated |
| Maintenance | Actively maintained 130 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 13,714,378 / month, #1,267 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: BSD LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Software Development :: Build ToolsTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: ClusteringTopic :: System :: Software DistributionTopic :: System :: Systems Administration |
Evidence: fabric-3.2.3-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 › “remote command execution ssh”
- fabricFabric executes shell commands remotely over SSH and returns results…
- spurProvides a unified Python interface to run shell commands and…
- Fabric3Fabric3 is a Python 2.7 and 3.4+ compatible fork of Fabric that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also fabric2 · Fabric3 · invoke · paramiko · patchwork · fab-classic · aws · proxmoxer · spur · jumpssh