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.2.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.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: handsoff-1.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 1ed5564532595ee81f093b739d88ae7cfa8ca83694e6a0f560bbf7a9d43cd694
MD5 3395091da4eb015e8b08966a475c6ed4
BLAKE2b-256 087793b73f6cc33bfc9a0cfed1deb910b205f4fd92d8a5e6d89e19d7859bcb05

See more details on using hashes here.

File details

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

File metadata

  • Download URL: handsoff-1.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5203abff5958159751f37980bf6d2efadc86121aaff1b85a62a1ef40cac0dfc8
MD5 04b7f8ea1b94fe972570b282802913f6
BLAKE2b-256 883b2edd840ddf59475d4930cb33cde70b4e151cc9a88c8cafac032a32febaa3

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