Skip to main content

syft-migration

Versioning and on-the-fly migration foundation for Syft objects.

Lets peers running different package versions exchange data by upgrading or downgrading serialized objects to a version the other side understands.

Building blocks

  • MigratableObject — base for any versioned object (canonical_name + version), auto-registers via __init_subclass__.
  • PackageProtocolSchema — the protocol surface of one release of one package (protocol_name, package_name, package_version, one version per object).
  • MigrationRegistry — per-package registry of all object versions, migration edges, and the current + historical protocol schemas.
  • MigrationService — upgrades/downgrades objects, including to the version a peer's package version supports.

Dev

uv pip install -e packages/syft-migration
just test-unit-migration

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

syft_migration-0.1.1.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

syft_migration-0.1.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file syft_migration-0.1.1.tar.gz.

File metadata

  • Download URL: syft_migration-0.1.1.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for syft_migration-0.1.1.tar.gz
Algorithm Hash digest
SHA256 30c7bf26544a3646022d61ef0deb1e92104244f6723c172b2051dd6a6d6c3b42
MD5 34b01c444af2a0d78bf4e9f736d80ff4
BLAKE2b-256 b0def118200baa7ee4fe58826a9305d994f2541f161ec164a5a27985e1a0d34a

See more details on using hashes here.

File details

Details for the file syft_migration-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: syft_migration-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for syft_migration-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d8d5237e7403d13288a49bca849fe990cc992d321e6e6868a510b2b56df72e0e
MD5 c97aae49a5d245976afb18d4c5f5e517
BLAKE2b-256 4f94adacf8baea15f6cfbaebeb545e3f018960fad58fb1717b72e877492536b3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page