CLI, environment
catalog
catalogusage: quilt3 catalog [-h] [--detailed_help] [--host HOST] [--port PORT]
[--no-browser]
[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
exit
--host HOST Bind socket to this host
--port PORT Bind to a socket with this port
--no-browser Don't open catalog in a browser after startupRun the Quilt catalog on your machine. Running quilt3 catalog launches a Python webserver on your local machine that serves a catalog web app and provides required backend services using temporary AWS credentials. 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 by downloading and processing/converting them inside the Python webserver running on local machine. Neither your AWS credentials nor data requested goes through any third-party cloud services aside of S3.
config
configconfig-default-remote-registry
config-default-remote-registrydisable-telemetry
disable-telemetryinstall
installlist-packages
list-packageslogin
loginlogout
logoutpush
pushverify
verifyEnvironment variables
QUILT_DISABLE_CACHE
QUILT_DISABLE_CACHETurn off cache. Defaults to False.
QUILT_DISABLE_USAGE_METRICS
QUILT_DISABLE_USAGE_METRICSDisable anonymous usage collection. Defaults to False
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.
QUILT_MINIMIZE_STDOUT
QUILT_MINIMIZE_STDOUTTurn off TQDM progress bars for log files. 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.
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_AUTHORAPP_NAMEBASE_DIR- Base directory of the applicationBASE_PATH- Base pathlib path for the application directoryCACHE_PATH- Pathlib path for the user cache directoryCONFIG_PATH- Base pathlib path for the application configuration fileOPEN_DATA_URL- Application data urlPACKAGE_NAME_FORMAT- Regex for legal package namesTEMPFILE_DIR_PATH- Base pathlib path for the applicationtempfiles
Last updated
Was this helpful?

