Skip to main content

Repeatedly synchronize local workspace with a (slow) remote machine

Project description

LiveSync

Repeatedly synchronize local workspace with a (slow) remote machine.

Use Case

VS Code Remote Development and similar tools are great as long as your remote machine is powerfull enough. But if your target is a Raspberry Pi, Jetson Nano/Xavier/Orin, Beagle Board or similar you feel like coding in yelly. Especcially if you run powerful extensions like Pylance. LiveSync solves this by watching your code and just copying the changed files to the slow remote machine. It works best if you have some kind of relaoding meachism in place on the target. We obviously recommend NiceGUI.

Install

python3 -m pip install livesync

Usage

cd <my_foder_with_vscode_workspace>
livesync <username>@<host>

LiveSync uses rsync (ssh) to copy the files so the <username>@<host> must be accessable via ssh (ideally by key not password or passphrase, because it will be called over and over).

Press CTRL-C to abort the sync.

NOTE: only one user can run LiveSync at a time on a target host.

Development

python3 -m pip uninstall livesync # remove previous installed version
python3 -m pip install -e .

Now you can change the code and still use the livesync command from your $PATH variable.

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

LiveSync-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

LiveSync-0.1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file LiveSync-0.1.0.tar.gz.

File metadata

  • Download URL: LiveSync-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for LiveSync-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2367dfc591cb26dfd261b04623045e75791d41a5dfaeac45cce9b35861b76bfb
MD5 0d71f0759358ba245c6734a366fb9445
BLAKE2b-256 af55d3f359c9af52fc3805128eed34f37d057f89672893314d59d0a3894879f4

See more details on using hashes here.

File details

Details for the file LiveSync-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: LiveSync-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for LiveSync-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 327741e5a88744eb5b066da4206b2aae455154e52d835629605926c28c872a0c
MD5 625693c8f2039dbf0f6d3e9b906a9830
BLAKE2b-256 a33277029d3d770f51df684f423bca991959b83b984b60206d84145e30503dc8

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