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.0.tar.gz
(10.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file syft_migration-0.1.0.tar.gz.
File metadata
- Download URL: syft_migration-0.1.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3063c298eca23ba75e9e3e59180ef2d586aa9361bcbfb3418ea83fd611021fa1
|
|
| MD5 |
a57e7af17f2ec0045ba3efffee6246d8
|
|
| BLAKE2b-256 |
8752a79c4bef5b205f6847e7bc2e39fc45781b4251595d7855439cce2ea51b15
|
File details
Details for the file syft_migration-0.1.0-py3-none-any.whl.
File metadata
- Download URL: syft_migration-0.1.0-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.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8de77a30ea9fbb0967a62f3d4742a6783032155e0f1fdb1b01be486a9e472c8d
|
|
| MD5 |
d92cf03d45906acde0954c562a4a653e
|
|
| BLAKE2b-256 |
f285c45103cd9a2edb177d260940f613977cb7dc071da1df078e77abaf740366
|