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

my_computer_1 = handsoff.Commands({
    "env" : "handsoff.env"
})

my_computer_1.push()
my_computer_1.pull("src/*", "~/Documents")

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.1.3.tar.gz (4.3 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.1.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for handsoff-1.1.3.tar.gz
Algorithm Hash digest
SHA256 debbcfbf4daaff7870a4ce9c6dbfba9e6b35e6ad1a4ce6e29b02c20830edceac
MD5 f1f17bcc240d56f41aa4b747fef3484f
BLAKE2b-256 7cc4e45e89f183b32ac806984c7657fd708bb4a932ceeaee02c204972d819587

See more details on using hashes here.

File details

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

File metadata

  • Download URL: handsoff-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.2 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.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d4855a9d44ba91fccd461ea1b1b97211bed804c969a3ed553992ce3a7c1d0505
MD5 54a9e644775a03cf2eb74d069a5180b7
BLAKE2b-256 77f66ff3fdb07e83e0b372c17c0d4e83cb509295f8b26c17dd376197b8bdeadc

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