# fabric/fabric

Simple, Pythonic remote execution and deployment.

Repository: https://github.com/fabric/fabric
Canonical: https://ross.abutalabs.com/products/fabric-fabric
Homepage: http://fabfile.org
Language: Python
License: BSD-2-Clause
License Family: permissive
Last push: 2026-04-10T13:53:02+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 76, release rhythm 35, longevity 100
- inputs: {"age_days": 6334, "days_push": 145, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 15487, forks 1957 (observed 2026-08-28T04:11:09.933445+00:00)

## What it is
Fabric is a high-level Python library for executing shell commands remotely over SSH and transferring files, built on top of Invoke and Paramiko. It provides a Pythonic Connection API plus a fab CLI tool for running tasks across one or many hosts.

## Use cases
- run shell commands on remote servers over ssh from python
- automate deployment tasks across multiple hosts
- upload and download files via sftp in a script
- write fabfile tasks for repetitive ops work
- execute ad-hoc commands on a group of servers in parallel
- script ssh automation without shelling out to the ssh binary

## When to choose
- you want Pythonic SSH command execution with structured Result objects
- you need to run tasks across many hosts with a CLI and library API
- you want file transfer (SFTP) integrated with remote command execution
- you're building deployment or ops automation in Python

## When to avoid
- you need full configuration management with idempotent state (use Ansible)
- you only need local subprocess execution without SSH (use Invoke directly)
- you need async/asyncio-based SSH (look at asyncssh)
- you need a GUI or agent-based orchestration system

## Facets
- artifact type: library
- maturity: stable
- function: ssh, cli, developer-tools, workflow-automation
- domain: developer-tools
- platform: python, windows, cross-platform
- tags: remote-execution, deployment, ssh, paramiko, invoke, fabfile, sftp, task-runner, devops, automation, command-line, linux, macos

## Member repositories
- fabric/fabric (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:09.933445+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:05:49.674485+00:00, confidence not recorded.
  - readme: https://github.com/fabric/fabric (fetched 2026-08-28T04:11:09.933445+00:00, sha b0f61c20d83a)
  - homepage: http://fabfile.org (fetched 2026-08-29T08:04:12.009276+00:00, sha 1d6c1b1039e1)
  - site_page: https://www.fabfile.org/installing.html (fetched 2026-08-29T08:04:12.031125+00:00, sha 2341ea14a67e)
  - site_page: https://www.fabfile.org/installing-1.x.html (fetched 2026-08-29T08:04:12.033881+00:00, sha 89eb5847d42a)
  - site_page: https://docs.fabfile.org (fetched 2026-08-29T08:04:12.015663+00:00, sha c17e95cafde9)
  - registry_pypi: https://pypi.org/pypi/fabric/json (fetched 2026-08-29T08:04:12.035825+00:00, sha 136caf67bbb6)
  - site_page: https://www.fabfile.org/upgrading.html (fetched 2026-08-29T08:04:12.017599+00:00, sha f0eb07939ea8)
  - site_page: https://www.fabfile.org/changelog.html (fetched 2026-08-29T08:04:12.021453+00:00, sha 2e586f1a3287)
  - site_page: https://www.fabfile.org/changelog-v1.html (fetched 2026-08-29T08:04:12.024495+00:00, sha 60eca39995a0)
  - site_page: https://www.fabfile.org/faq.html (fetched 2026-08-29T08:04:12.029000+00:00, sha 3ed1107a4d4a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
