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

Uploaded Python 3

File details

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

File metadata

  • Download URL: quiltx-0.1.2.tar.gz
  • Upload date:
  • Size: 119.0 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.2.tar.gz
Algorithm Hash digest
SHA256 a8d9c4d8943dc48ce0d3f7af9087c3e8774f6bf91fadd9760944fdc6f8f0fe6a
MD5 c73b2ddc41b12ecca4ad6248a70bc643
BLAKE2b-256 752d1968f8fd6787693d62a4a0469be5f5e12b82d127fc6d0a168d7dc28c4df1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: quiltx-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 46391758636ed4882221f1dd7a7ff03c210a7c598059a18df00132b498712e80
MD5 7a5cb78803a612458b74563c3bd2e746
BLAKE2b-256 4450bf0551504502f114aca8d80c62327fed70b84d64f5554872c4c7b0fb4b4c

See more details on using hashes here.

Provenance

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