Skip to main content

Auto file tranfer with scp command.

Project description

Handsoff

Automatic file transfer with scp UNIX command.

Installation

It's on pip server.

pip install handsoff

Usage Examples

In terminal

Set

handsoff set user=MovingJu port=22 host=localhost client="README.md" server="Target_dir"

or you can simply define these attributes in .env file and recall env file.

HOST = "localhost"
PORT = "22"
USER = "MovingJu"
handsoff set env="handsoff.env"

Push or Pull

handsoff (push/pull) ^`client` ^`server`

^ is optional.

In python code

import handsoff

handsoff.set(
    "dasom.io",
    "MovingJu",
    client="./",
    server="~/",
    pem="./ssh_throughout.pem",
    port="0425"
)
print(handsoff.get())
handsoff.push("main.py", "project.sh", target="~/")

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

handsoff-1.2.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

handsoff-1.2.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file handsoff-1.2.0.tar.gz.

File metadata

  • Download URL: handsoff-1.2.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for handsoff-1.2.0.tar.gz
Algorithm Hash digest
SHA256 708b217934531509fdeda5ad5412e9f1456dc65edb57c8082589ff19a75ea9ad
MD5 04c442e63f0545e8a4003c8593114b2c
BLAKE2b-256 80d1c030a55b53de3fa0625b7285ff84886a1b049acace57130b4e9b62d91086

See more details on using hashes here.

File details

Details for the file handsoff-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: handsoff-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for handsoff-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec3c0c93a238f0bc9c5bb6c3994c2e9224e4295c1e27a53fa1876c2b7a023642
MD5 aa129bc89939d537548b358d38b910b8
BLAKE2b-256 90dbde487b545c342057d1c4d7a62108c0f99731673641ed7d1935b451b0ba7a

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