CLI, environment
catalog
catalogusage: quilt3 catalog [-h] [--detailed_help] [navigation_target]
Run Quilt catalog locally
positional arguments:
navigation_target Which page in the local catalog to open. Leave blank to
go to the catalog landing page, pass in an s3 url (e.g.
's3://bucket/myfile.txt') to go to file viewer, or pass
in a package name in the form 'BUCKET:USER/PKG' to go to
the package viewer.
optional arguments:
-h, --help show this help message and exit
--detailed_help Display detailed information about this command and then
exitRun the Quilt catalog on your machine (requires Docker). Running quilt3 catalog launches a webserver on your local machine using Docker and a Python microservice that supplies temporary AWS credentials to the catalog. Temporary credentials are derived from your default AWS credentials (or active AWS_PROFILE) using boto3.sts.get_session_token. For more details about configuring and using AWS credentials in boto3, see the AWS documentation: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html
Previewing files in S3
The Quilt catalog allows users to preview files in S3 without downloading. It relies on a API Gateway and AWS Lambda to generate certain previews in the cloud. The catalog launched by quilt3 catalog sends preview requests to https://open.quiltdata.com. Preview requests contain short-lived signed URLs generated using your AWS credentials. Data is encrypted in transit and no data is retained by Quilt. Nevertheless, it is recommended that you use quilt3 catalog only for public data. We strongly encourage users with sensitive data in S3 to run a private Quilt deployment. Visit https://quiltdata.com for more information.
install
installverify
verifylogin
loginlogout
logoutconfig
configdisable-telemetry
disable-telemetrylist-packages
list-packagespush
pushconfig-default-remote-registry
config-default-remote-registryEnvironment variables
QUILT_DISABLE_USAGE_METRICS
QUILT_DISABLE_USAGE_METRICSDisable anonymous usage collection. Defaults to False
QUILT_MINIMIZE_STDOUT
QUILT_MINIMIZE_STDOUTTurn off TQDM progress bars for log files. Defaults to False
QUILT_DISABLE_CACHE
QUILT_DISABLE_CACHETurn off cache. Defaults to False.
QUILT_TRANSFER_MAX_CONCURRENCY
QUILT_TRANSFER_MAX_CONCURRENCYNumber of threads for file transfers. Defaults to 10.
This variable could be tried for improving file transfer rate. The optimal value depends on network bandwidth, CPU performance, file sizes, etc.
QUILT_MANIFEST_MAX_RECORD_SIZE
QUILT_MANIFEST_MAX_RECORD_SIZEMaximum size of a record in package manifest. Setting this variable is strongly discouraged. Defaults to 1_000_000.
XDG_*
XDG_*Quilt uses appdirs for Python to determine where to write data. You can therefore override the following path constants with environment variables using the XDG standard (see appdirs docs).
For instance, AWS Lambda requires the user to use tmp/* as the scratch directory. You can override quilt3.util.CACHE_PATH, so that quilt3 install will succeed in Lambda, by setting the XDG_CACHE_HOME environment variable.
Constants (see util.py for more)
APP_NAMEAPP_AUTHORBASE_DIR- Base directory of the applicationBASE_PATH- Base pathlib path for the application directoryCACHE_PATH- Pathlib path for the user cache directoryTEMPFILE_DIR_PATH- Base pathlib path for the applicationtempfilesCONFIG_PATH- Base pathlib path for the application configuration fileOPEN_DATA_URL- Application data urlPACKAGE_NAME_FORMAT- Regex for legal package names
Last updated
Was this helpful?

