Skip to main content

Unified toolkit for Quilt workflows.

Project description

quiltx

PyPI

Quilt extension toolkit for working with Quilt catalogs.

Quick start

# See available tools
uvx quiltx

# Configure a Quilt catalog
uvx quiltx stack catalog https://open.quiltdata.com

# Get help for any tool
uvx quiltx <tool> --help

Tools

  • bucket — Register cross-account S3 buckets with Quilt (policy, SNS, notifications)
  • ecs — ECS task tools:
    • ecs shell — Interactive shell access to running ECS tasks via Session Manager
    • ecs run-migration — Re-run the registry migration task for a stack
  • logs — Display and tail CloudWatch logs for the configured catalog
  • stack — Manage Quilt stack:
    • stack acl — Declarative access-control-list (ACL) reconciliation from YAML
    • stack catalog — Configure and display Quilt catalog settings
    • stack cfn — Discover the Quilt CloudFormation stack and cache metadata

Python API

See README_DEV.md for programmatic usage of ECS, ACL, config, and stack APIs.

Persistent install (optional)

uv tool install -U quiltx
# Now use without the uvx prefix:
quiltx --list

Stack ACL

quiltx stack acl declaratively manages a Quilt stack's access control lists (ACLs) from a single YAML file with exactly two top-level blocks: policies: and roles:. Policy audiences synthesize cumulative managed roles, while static roles compose named policies and optional inline bucket grants. Instead of clicking through the catalog admin UI, you define the desired state in version-controlled YAML and let the tool reconcile it against the server.

YAML example

# Access control lists for a Quilt stack
policies:
  public:
    sso.groups: [Everyone]
    buckets.read: [quilt-example]
    config.default_role: true
  internal:
    sso.groups: [Employees]
    buckets.read_write: [quilt-bake, quilt-dev]
    buckets.read: [quilt-leadership]

roles:
  exec:
    sso.groups: [Executives]
    config.policies: [public, internal]
    buckets.read_write: [quilt-leadership]
    config.is_admin: true

Policy order matters. In this example public synthesizes the public role, and internal synthesizes internal_public, which cumulatively includes both public and internal. Reordering the policies changes those synthesized role names and who receives which cumulative grants.

Usage

# Show current server ACL state
uvx quiltx stack acl

# Preview changes (dry run)
uvx quiltx stack acl config.yml --dry-run

# Preview with full detail
uvx quiltx stack acl config.yml --dry-run --verbose

# Apply changes (with confirmation prompt)
uvx quiltx stack acl config.yml

# Apply without prompting
uvx quiltx stack acl config.yml --yes

Catalogs behind corporate TLS proxies

If quiltx stack catalog <url> fails with CERTIFICATE_VERIFY_FAILED (common on networks with TLS-inspection proxies or self-signed catalog certs), point Python at your organization's CA bundle:

# Preferred: trust your corporate root CA
uvx quiltx stack catalog https://quilt.example.com --ca-bundle /path/to/corp-root.pem

# Escape hatch: skip TLS verification (trusted networks only)
uvx quiltx stack catalog https://quilt.example.com --insecure

--ca-bundle also exports SSL_CERT_FILE / REQUESTS_CA_BUNDLE for the current process. To make the override stick across other quiltx subcommands, export SSL_CERT_FILE=/path/to/corp-root.pem in your shell profile.

ECS

# Open an interactive shell inside the registry service task
uvx quiltx ecs shell

# Dry-run the registry migration relaunch using cached stack metadata
uvx quiltx ecs run-migration --dry-run

# Start the migration task and wait for completion
uvx quiltx ecs run-migration

License

MIT

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

quiltx-0.12.0.tar.gz (228.6 kB view details)

Uploaded Source

Built Distribution

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

quiltx-0.12.0-py3-none-any.whl (66.9 kB view details)

Uploaded Python 3

File details

Details for the file quiltx-0.12.0.tar.gz.

File metadata

  • Download URL: quiltx-0.12.0.tar.gz
  • Upload date:
  • Size: 228.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for quiltx-0.12.0.tar.gz
Algorithm Hash digest
SHA256 bfbc5936e8983203a6a39519b1365a8ac48957b1300779256b964c8b476bb602
MD5 c8d2c0c9ad859556d22899fa1a342d2d
BLAKE2b-256 c548ad7254c4e75fe3c2ca89cdeb730eab9961b20797e30036f5d56beecd6ee3

See more details on using hashes here.

Provenance

The following attestation bundles were made for quiltx-0.12.0.tar.gz:

Publisher: publish.yml on quiltdata/quiltx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quiltx-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: quiltx-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 66.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for quiltx-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 693848ee1495194a6a5c73114cd0f889c80d7d2ea774a0c76ae2117337be3637
MD5 56c31cbb97e22bef33b12dcfd24b2f24
BLAKE2b-256 6bbc69af7eda178a4ef1d2f427d517e7de3a60faa9d024328f8b3ab1c5779c57

See more details on using hashes here.

Provenance

The following attestation bundles were made for quiltx-0.12.0-py3-none-any.whl:

Publisher: publish.yml on quiltdata/quiltx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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