Skip to main content

Unified toolkit for Quilt workflows.

Project description

quiltx

Quilt extension toolkit with shared utilities for working with Quilt catalogs.

Installation

# No installation needed! Use uvx to run directly:
uvx quiltx --list

Usage

Run tools directly with uvx (recommended):

# List available tools
uvx quiltx --list

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

# Show current catalog configuration
uvx quiltx config

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

Or if installed with pipx:

quiltx --list
quiltx config https://open.quiltdata.com
quiltx stack
quiltx logs --minutes 30 --filter "ERROR"

Built-in Tools

  • config: Configure and display Quilt catalog settings using the configured_catalog API
  • stack: Discover the Quilt CloudFormation stack and cache log group metadata in stack.json
  • logs: Display CloudWatch Logs for the configured catalog using stack.json

Development

Setup

# Clone the repository
git clone https://github.com/ernest/quiltx.git
cd quiltx

# Install uv if you don't have it
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install in development mode
pip install -e ".[dev]"

Running Tests

# Using poe (recommended)
./poe test

# Or directly with pytest
pytest tests

Project Structure

quiltx/
├─ quiltx/              # Main package
│  ├─ cli.py           # Unified CLI with auto-discovery
│  ├─ tools/           # Built-in tools (auto-discovered)
│  │  └─ config.py
│  └─ __init__.py      # Shared utilities (configured_catalog)
├─ tests/              # Test suite
├─ pyproject.toml      # Package configuration
└─ poe                 # Task runner script

Adding New Tools

Tools are automatically discovered from the quiltx/tools/ directory. To add a new tool:

  1. Create a new file in quiltx/tools/ (e.g., mytool.py)
  2. Implement a main(argv) function that returns an exit code
  3. The tool will be automatically available via quiltx mytool
  4. Add tests in tests/

Example tool structure:

"""My new tool."""
import argparse

def build_parser() -> argparse.ArgumentParser:
    parser = argparse.ArgumentParser(description="My tool description")
    # Add arguments
    return parser

def main(argv: list[str] | None = None) -> int:
    parser = build_parser()
    args = parser.parse_args(argv)
    # Tool implementation
    return 0

License

MIT License - see LICENSE file for details

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.1.3.tar.gz (128.4 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.1.3-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quiltx-0.1.3.tar.gz
Algorithm Hash digest
SHA256 09bcec53e5b662c410e7b3d00cb0f121f888cd9ec2a376a6451da3a5f5bb3fb7
MD5 78457e0c392fad1a2202817ec7a4923c
BLAKE2b-256 a037570727d1e09d1f4cc9ba48a3363724c106acbebbdb8174d0e00191ae342d

See more details on using hashes here.

Provenance

The following attestation bundles were made for quiltx-0.1.3.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.1.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for quiltx-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6636aac3ce1ebb7d2e1ded18f58d6d348143451006e2a5d0c879edc27792fad8
MD5 abd928ec2bcc7dd846d5f08878ae5e3e
BLAKE2b-256 75c476f2a68c38cd2196cb310fc152da2cefb99a5b9836b87e01ddee282fa2d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for quiltx-0.1.3-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