Skip to main content

"Client SSH, SFTP et FTP pour le cadriciel Scrippy."

Project description

Build Status License Language

Scrippy, my scrangourou friend

scrippy_remote

SSH/SFTP/FTP client for the Scrippy framework.

Prerequisites

Python modules

List of necessary modules

The modules listed below will be automatically installed.

  • paramiko
  • pysmb

Installation

Manual

git clone https://codeberg.org/scrippy/scrippy-remote.git
cd scrippy-remote
python -m pip install -r requirements.txt
make install

With pip

pip install scrippy-remote

Usage

scrippy_remote

This module offers all the objects, methods, and functions for operations on remote hosts accessible via SSH/SFTP or FTP and a limited support of CIFS:

  • Execution of commands on a remote host
  • Copying directories/files to a remote host
  • Deleting directories/files on a remote host
  • Copying files between remote hosts (with the local machine acting as a buffer)
  • ...

The scrippy_remote module provides several objects for transferring files via SFTP, FTP, FTPS, or CIFS, and for remote command execution via SSH.

The source code for the scrippy_remote.remote module and its sub-modules is also extensively commented and remains the best source of documentation.

A HTML version of the documentation can be generated using sphinx:

pip3 install sphinx
cd scrippy-remote
make doc

The resulting documentation will be generated in the docs/build/html directory.

Local operations

Each of the Ssh, Ftp, Cifs classes comes with some helper functions to operate on the local host such as :

SSH/SFTP Operations

The Ssh class provides specific methods to execute commands and handle files and directory handling such as :

FTP

The Ftp class provides specific methods to execute commands and handle files and directory handling such as :

CIFS

The Cifs class provides specific methods to transfer files using the CIFS/Samba protocol such as:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scrippy_remote-3.0.4.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scrippy_remote-3.0.4-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file scrippy_remote-3.0.4.tar.gz.

File metadata

  • Download URL: scrippy_remote-3.0.4.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.20

File hashes

Hashes for scrippy_remote-3.0.4.tar.gz
Algorithm Hash digest
SHA256 f00eb1f89f8f0c9d71e84c2f1354813608119c795619d15c77117ace724959ba
MD5 7aa3ba84a6c35876426f6ebf268f4372
BLAKE2b-256 eb09ccacf289be69499beb667cbfdcce9359b6af1cbc73b5dbc0154d4b5a5e1b

See more details on using hashes here.

File details

Details for the file scrippy_remote-3.0.4-py3-none-any.whl.

File metadata

  • Download URL: scrippy_remote-3.0.4-py3-none-any.whl
  • Upload date:
  • Size: 21.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.20

File hashes

Hashes for scrippy_remote-3.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5b31a8009bf37906ff4470f871a6b1a257c583299dc067f1076db839d5abb889
MD5 a38672b882df618648a4aa013a353ffd
BLAKE2b-256 2fddf9d9e322d2cacead79072991aabe0bff6e0975beb50a8c32ad483264c812

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page