Skip to main content

Quilt3 catalog: Local development mode

Open source implementation of the Quilt3 registry that works in the local environment (not requiring AWS cloud services aside from S3 / S3 Select).

This package is not intended to be installed/used directly by end users. Instead, install quilt3[catalog] and use quilt3 catalog CLI command.

Developing

TL;DR

# set up venv, assuming poetry is available in the PATH
poetry install

# build catalog bundle
(cd ../catalog && npm i && npm run build && cp -r build ../quilt3_local/quilt3_local/catalog_bundle)

# run the app at http://localhost:3000
poetry run quilt3-local

Set-up

Python environment set-up

First, you need poetry installed.

Then, you have to set up the virtualenv by running poetry install from the project directory -- it will create a virtualenv and install the requirements.

Catalog (node.js) environment set-up

Refer to the catalog documentation.

Running

You can either serve a static catalog bundle (produced by npm run build) or proxy static files from a running catalog instance.

NOTE: you need valid AWS credentials available, see boto3 docs for details.

Serving a static catalog bundle

Run poetry run quilt3-local to start the app on port 3000 serving the static catalog bundle from the ./quilt3_local/catalog_bundle directory. Path to the bundle can be overriden by QUILT_CATALOG_BUNDLE env var. Port can be configured via PORT env var.

In order to serve the bundle, you should first build it by running npm run build from the catalog directory and then either copying it to ./quilt3_loca/catalog_bundle or overriding QUILT_CATALOG_BUNDLE to point to your bundle. However, this approach is not very convenient when developing catalog features, since it requires rebuilding the bundle to pick up the changes. To address this there's a "proxy" mode available.

Proxying a running catalog instance

In this mode the app proxies all the static files requests to a running catalog instance. One can be started by executing PORT=3001 npm start from the catalog directory (setting port to 3001 required to avoid conflict with the quilt3_local app's default settings).

After starting up a catalog instance, you can start the quilt3_local app and point it to that instance by running QUILT_CATALOG_URL=http://localhost:3001 poetry run quilt3-local (the app will be available at http://localhost:3000 and will serve static files from the catalog running at http://localhost:3001, catalog URL configurable via QUILT_CATALOG_URL env var).

Building and publishing

  1. Make sure you set up credentials for poetry

  2. Bump package version in pyproject.toml and update CHANGELOG.md

  3. Update catalog commit hash in catalog-commit if required

  4. Commit, tag, push: git c -am "release X.Y.Z" && git tag vX.Y.Z && git push && git push --tags

  5. Build and publish the package: make publish

Metadata

Release files for quilt3_local 2.0.0

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

Source distribution (sdist)

Source distribution for quilt3_local 2.0.0
File Size Uploaded Provenance Actions
quilt3_local-2.0.0.tar.gz 38.5 MB Without provenance Details for quilt3_local-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quilt3_local 2.0.0
File Interpreter ABI Platform Actions
quilt3_local-2.0.0-py3-none-any.whl Python 3 none any Details for quilt3_local-2.0.0-py3-none-any.whl

Total release size: 77.2 MB

Release files / quilt3_local-2.0.0.tar.gz

Download URL quilt3_local-2.0.0.tar.gz
Size 38.5 MB
Tags Source
SHA-256 checksum
How to use checksums
5c5b170d99888de58029c75cd64e8c001a08cdc878eba23bbbdc1d0d768f28ea
BLAKE2b-256 checksum
How to use checksums
4ee2ded7056df515e26958b0fc2237767590c6dd787993e6674462d20b7b6841
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.12.8 Darwin/24.2.0

Release files / quilt3_local-2.0.0-py3-none-any.whl

Download URL quilt3_local-2.0.0-py3-none-any.whl
Size 38.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
41afdfa83d923a013b1032eaded8d94ce6b5545efa3da724b57ab7d599a77be6
BLAKE2b-256 checksum
How to use checksums
cf799de60f165856da9c47e973d452a99d3ce597539b0de083c959908695972c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.12.8 Darwin/24.2.0

Security for quilt3_local 2.0.0

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

2.0.0 This release

2 release files No provenance

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