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)
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
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()
Metadata
Release files for framelake 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| framelake-0.7.0.tar.gz | 10.5 kB | Without provenance | Details for framelake-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| framelake-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for framelake-0.7.0-py3-none-any.whl |
Total release size: 22.7 kB
Release files / framelake-0.7.0.tar.gz
| Download URL | framelake-0.7.0.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15f08ea5388d3bcfc8406e881f26f1eca4374fb14d0ecc386b6cdab26fb1633c
|
|
BLAKE2b-256 checksum How to use checksums |
89fc6c0ddb9de9e6bac998f1e560a8823e6c949c014f3bc5a5a6d39a61181150
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|
Release files / framelake-0.7.0-py3-none-any.whl
| Download URL | framelake-0.7.0-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b499c70deaa500df75507b4e2c957a9abb2adfd93192dc25da9d92af52db1c05
|
|
BLAKE2b-256 checksum How to use checksums |
8e664ac3484885113d0b7438cd7ec6b26bedc692acff5f508f2959ef2edb9702
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
|
Security for framelake 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.