Skip to content

peachboy0/fabric-forked

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI - Package Version

PyPI - Python Version

PyPI - Fabric Licence

PyPI - FabricForked Licence

Welcome to FabricForked!

Description (FabricForked)

FabricForked is a fork of the Fabric library, which transplants the existing library functionality to a new typing and corrects some elements WITHOUT STRUCTURALLY CHANGING ANYTHING!

Description (Fabric)

Fabric - is a high level Python library designed to execute shell commands remotely over SSH, yielding useful Python objects in return. It builds on top of Invoke (subprocess command execution and command-line features) and Paramiko (SSH protocol implementation), extending their APIs to complement one another and provide additional functionality.

To find out what's new in this version of Fabric, please see the changelog.

The project maintainer keeps a roadmap on his website.

Usage

The Fabric methods have not changed in any way, the only thing you will have to do is redefine the imports on FabricForked:

import os

password = os.environ.get('FABRIC_FORKED_SSH_PASSWORD', None)

import fabric_forked as fabric
from fabric_forked import Connection, Result


with Connection('localhost', port=22, user='fabricforked', connect_kwargs={'password': password}) as connection:
    result = connection.run()
    if result is not None:
        ...

About

Simple, Pythonic remote execution and deployment.

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%