Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

quilt (Python)

The Python binding of quilt-rs, built with maturin into platform wheels and published to PyPI as quilt 3.0. quilt3 depends on it to work with dataspaces through the engine, as quilt-specs#297 rules. It replaces the legacy Quilt 2 library on PyPI (2.9.15), so pip install -U quilt on a Quilt 2 install gets this one.

from pathlib import Path

import quilt

data = Path("~/data").expanduser()
quilt.install("quilt+s3://bucket#package=team/raw", dataspace=data)
quilt.create("quilt+s3://bucket#package=team/new", dataspace=data)
quilt.commit("team/raw", "first", dataspace=data)
quilt.publish("team/raw", data)
quilt.status(data)
quilt.history("team/raw")
quilt.list_registries()
quilt.browse("team/raw", dataspace=data)
quilt.resolve_hash("quilt+s3://bucket#package=team/raw", "1a2b3c4")
quilt.delete("team/raw")

Every call blocks until the engine is done, without holding the GIL, on a Tokio runtime the module owns. A call that names no dataspace acts on the one the quilt CLI would: QUILT_DATASPACE, else the nearest data.toml at or above the working folder, else the default dataspace chosen for the application folder, home, as quilt home chooses it, falling back on <Documents>/Quilt/dataspace where none was chosen. Choosing the default gives a quilt.DefaultDataspaceWarning once per process. active_dataspace says which dataspace a call would use and why, and set_default_dataspace chooses the default. home defaults to the folder the quilt CLI and QuiltSync keep, which also holds the credentials. A call that names no domain uses QUILT_DOMAIN, else bio.quilt.dataspace in the OS's local data folder. A failure raises quilt.QuiltError.

create and commit check the commit against its bucket's current workflows config and record it either way: the dict they return lists what the check found under warnings, each with kind (inconsistent, so a push there will be refused until it is fixed, or unchecked, where the config could not be read or its validator is misconfigured), bucket, reason and the message the CLI prints. A package in the local registry is not checked.

browse opens a package of a dataspace at the revision its lock holds, its last local commit, else its base, and returns its manifest as JSON Lines text with its hash. resolve_hash matches a short top hash among the package's own installed manifests in its store. delete removes a package, or with top_hash one revision of it, from every local Package Store and the local registry, and returns what it removed from each; the dataspaces, the buckets and the data objects are left.

status returns what quilt status --json reports of a dataspace, in the same shape, with dataspace_source, the rule that chose it. publish publishes one sync entry's last local commit to the registry its declaration names, the local registry included, and bases the lock at it, without running the sync tick: it never merges, and a package whose base is behind latest raises quilt.ConflictError, a QuiltError, for quilt sync or QuiltSync to merge. With no local commit it publishes nothing, and its outcome says nothing. history lists a package's revisions newest first, each with hash, message, time, parent, local and registry: with a registry (s3://<bucket>, or quilt+local:// for this machine's) as quilt log lists them from the dataspace, and with none the revisions of the name the Domain holds, the local registry's and the commits made here to any bucket's package, asking no registry; there a bucket's revision whose local cannot be told without asking the bucket says None.

entries lists the packages a dataspace's contract declares, each with its access, folder and paths, so quilt3's build can tell a build onto an existing entry from a new package. set_package_metadata replaces the package metadata in a working folder's metadata.toml, which its next commit publishes.

Develop

cd quilt-py
uv venv && uv pip install maturin pytest
uv run maturin develop
uv run pytest tests

cargo test -p quilt-py tests the engine layer without Python.

Metadata

Release files for quilt 3.0.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quilt 3.0.0rc1
File Size Uploaded Provenance Actions
quilt-3.0.0rc1.tar.gz 1.2 MB Without provenance Details for quilt-3.0.0rc1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for quilt 3.0.0rc1
File Actions
quilt-3.0.0rc1-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for quilt-3.0.0rc1-cp310-abi3-win_amd64.whl
quilt-3.0.0rc1-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for quilt-3.0.0rc1-cp310-abi3-manylinux_2_28_x86_64.whl
quilt-3.0.0rc1-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details for quilt-3.0.0rc1-cp310-abi3-manylinux_2_28_aarch64.whl
quilt-3.0.0rc1-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for quilt-3.0.0rc1-cp310-abi3-macosx_11_0_arm64.whl
quilt-3.0.0rc1-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for quilt-3.0.0rc1-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 77.8 MB

Release files / quilt-3.0.0rc1.tar.gz

Download URL quilt-3.0.0rc1.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
a925dd6b5aff02b7371cc5e8b210a10dead2a5550c29974a4403a65aa69cde9d
BLAKE2b-256 checksum
How to use checksums
894b89303a336cea72895e3f3ff790e05d0eab23fb0b07abc0a25552fd731a70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / quilt-3.0.0rc1-cp310-abi3-win_amd64.whl

Download URL quilt-3.0.0rc1-cp310-abi3-win_amd64.whl
Size 14.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b0b966970fb5d3f8723a0400b03fcef3a91867e4772b00289b0f5719ec21421a
BLAKE2b-256 checksum
How to use checksums
0045c6ba1dd3aa66df74fee8e4ee3222d4f1a4415a15d9f61ad22a913df498ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / quilt-3.0.0rc1-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL quilt-3.0.0rc1-cp310-abi3-manylinux_2_28_x86_64.whl
Size 16.5 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
ba185331520448a2697d079177f067ae0c88941e595dc3cc20b4915fd02618c7
BLAKE2b-256 checksum
How to use checksums
10b70311b06fe8d0448d8a0574ee5af7afbc5e558bfa7a3ec0cf0fd52f8a760a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / quilt-3.0.0rc1-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL quilt-3.0.0rc1-cp310-abi3-manylinux_2_28_aarch64.whl
Size 16.7 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
1021c0e5c92c9f4fe7cdd8dbac0c7663e61edb3f9294ce2f1978c8071678c838
BLAKE2b-256 checksum
How to use checksums
9bae78ad3512a615206034c4c98af061cff737d0ecc3d76ed43c9abbb8a4d415
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / quilt-3.0.0rc1-cp310-abi3-macosx_11_0_arm64.whl

Download URL quilt-3.0.0rc1-cp310-abi3-macosx_11_0_arm64.whl
Size 14.1 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9fcbdcb7bb0236a38d4d7491d08d4744d0dd8e57b75d6cf212bf9d9586955887
BLAKE2b-256 checksum
How to use checksums
f1405d05fef58281844a112ab4e1fc6b7b6382fe2f23eec406ee1d7d5adfa749
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / quilt-3.0.0rc1-cp310-abi3-macosx_10_12_x86_64.whl

Download URL quilt-3.0.0rc1-cp310-abi3-macosx_10_12_x86_64.whl
Size 15.2 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
d519c0d34fa442709cd14f3ef8daf4790e9c64b8ac68c582e8731b7e830a573a
BLAKE2b-256 checksum
How to use checksums
a27c42d2cba2c54cd2ce4c95b5318e3825753df22102373b3efcfd951293fe69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for quilt 3.0.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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