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

Uploaded Python 3

File details

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

File metadata

  • Download URL: handsoff-1.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 af9bb6820f3b1dc3dbdc803a4fbf0579a0659ac3036bef7f15ceaf201764b364
MD5 82124b9841f8967c8ed9a44444704632
BLAKE2b-256 b40b1879364bb2a845730602c8165bdc75de8496b3ee278cdf9589e4e595978b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: handsoff-1.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 465f282abdd1574fbffcda3d174834087807bd1ee825bb3f671eb55e6447745b
MD5 5bc341a35ad9b8095122c35a8419740c
BLAKE2b-256 6663331c3c067ac284d406403c7113ec657e572b18fc22ef1943adf63f60f57a

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