Skip to main content

Git-watch I2I synchronization — Ship Protocol Layer 3. Ocean currents between agent vessels.

Project description

current-sync

Git-watch I2I synchronization. Ship Protocol Layer 3. Ocean currents carrying messages between agent vessels.

Watch repos for changes, propagate updates between agents, track sync events. In production, calls git pull/push. In library mode, provides the sync scheduling and event tracking framework.

Usage

from current_sync import CurrentSync, SyncTarget

sync = CurrentSync()
sync.add_target(SyncTarget(repo="SuperInstance/oracle1-vessel", path_pattern="for-fleet/**"))
sync.add_target(SyncTarget(repo="Lucineer/the-seed", poll_interval=60))

due = sync.check_due()  # targets needing a sync
event = sync.simulate_sync("oracle1", "jc1", ["BOTTLE-TO-JC1.md"])

Zero deps. pip install current-sync

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

current_sync-0.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

current_sync-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: current_sync-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for current_sync-0.1.0.tar.gz
Algorithm Hash digest
SHA256 99a8e2c0c6f19718432a59af8649ddf6be32360af7b677f241f2e0235b9c1e67
MD5 28d881752186cd4652504c427e036d01
BLAKE2b-256 3d0c5ad882f015b86979111cdb40dee225797bb4574b15ed34deaca7e27e2348

See more details on using hashes here.

File details

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

File metadata

  • Download URL: current_sync-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for current_sync-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95a73214a176b4fccb8a5ebe328a90b1dab98d59999c78b6feeed672c33583b0
MD5 50b2b165f2edb9155ebf7e22dc9f67cd
BLAKE2b-256 2450c309e01596e217294c6bf151427fac68d4f92ba5ec86c1fa0314cd112904

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