معرفی شرکت ها


framelake-0.7.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Wrappers for remote exec, local exec.
ویژگی مقدار
سیستم عامل -
نام فایل framelake-0.7.0
نام framelake
نسخه کتابخانه 0.7.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده James M
ایمیل نویسنده jimferd@gmail.com
آدرس صفحه اصلی http://vixal.net
آدرس اینترنتی https://pypi.org/project/framelake/
مجوز -
# Remotelib --- --- Various wrappers for subprocess, ssh, fabric. --- ## REX: Remote execute: REX( target, user = None, pass_ = None, port = None, audit_file = None, silent = True ) ### REX.rex("cmd", audit=True, bg=False, logfilename="deploy1.log") Remotely execute the command specified by cmd. If bg=True, runs with nohup and returns immediately. If audit = True, writes the stdout of the command to the specified logfilename on the remote server. #### REX.rex_push(local_path, remote_path): scp from the user over the active REX connection #### REX.rex_pull(remote_path, local_path): scp a file towards the user over an active REX connection ## SSHTunnel(object) ```python import import ssh_tunnel tun = ssh_tunnel.SSHTunnel( <remote-site> [local_port(4444), remote_port(3306), remote interface("localhost"), remote_user=<current_user>, spin=(True,False), foreground=(True,False), immediate=(True, False) ) ``` ### RemoteDB(SSHTunnel): -- Execute MySQL queries over a forwarded SSH connection ```pytho remote_db = ssh_tunnel.RemoteDB( db_hostname, db_user=<current_user>, db_pass=<None>, db_port=4444, database=<None>, **SSHTunnel(*, **) ) ``` ### Tunnels(object): -- Registry for SSH Tunnels; also allows iteration (for example, to kill the connection.) Allows iteration. -- To register a tunnel, use the register()


نحوه نصب


نصب پکیج whl framelake-0.7.0:

    pip install framelake-0.7.0.whl


نصب پکیج tar.gz framelake-0.7.0:

    pip install framelake-0.7.0.tar.gz