# Fabric

> Simple, Pythonic remote execution and deployment over SSH

Source: https://talira.ai/catalog/fabric-q0k2m6yv
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [devops / automation / remote execution](https://talira.ai/categories/devops/automation/remote-execution), [devops / deployment / deploy tools](https://talira.ai/categories/devops/deployment/deploy-tools), [languages / python](https://talira.ai/categories/languages/python)
- Licence: BSD-2-Clause[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Backed by: [Jeff Forcier](https://talira.ai/orgs/jeff-forcier.md)

Fabric is a high-level Python library for running shell commands on remote servers over SSH and getting back useful Python objects with their output and exit codes. It builds on Invoke, for local subprocess execution and command-line tasks, and Paramiko, for the SSH protocol, adding connections, groups of hosts, file transfer, sudo and a `fab` command that runs tasks from a fabfile. Teams use it to script deployments and server administration in plain Python.

## Links

- Website: https://www.fabfile.org/
- GitHub: https://github.com/fabric/fabric
- Docs: https://docs.fabfile.org/

## Problems it solves

- run the same shell commands on a list of servers from a Python script
- script my app's deployment over SSH in Python instead of bash
- get the output and exit code of a remote command back as a Python object
- upload and download files to servers over SSH from Python
- run sudo commands on remote machines from a script
- a lightweight alternative to Ansible for simple SSH automation in Python
- define deploy and maintenance tasks in a file and run them from the command line

## Features

- run shell commands remotely over SSH and get Python result objects
- connections and groups of hosts
- file upload and download
- sudo support
- fab command-line tool that runs tasks from a fabfile
- built on Invoke and Paramiko

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by Jeff Forcier

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Ansible](https://talira.ai/catalog/ansible-cpvqqenm.md): A radically simple IT automation system

## Sources

[^1]: https://github.com/fabric/fabric/blob/main/LICENSE (checked 22 Nov 2026)
[^2]: https://www.fabfile.org/ (checked 22 Nov 2026)
