Skip to main content

jetquery

Command-line interface for jetQuery.io applications.

Installation

pip install jetquery

Usage

jetquery [--action <action>] --host <host> --appname <name> [options]

Actions

Action Description
build Regenerate index.html from local JS/CSS files (no upload)
deploy Package and upload all local assets to the server
get Download the current application files from the server
watch Serve locally with live-reload and API proxy (default action)
getimage Save a 1920x1080 PNG screenshot of a deployed page (after JS rendering)
gethtml Save the HTML of a deployed page after JS/DOM manipulation (<script> elements removed)

Options

Option Description
--host, -H Server hostname or URL (e.g. app.host.com)
--appname, -n Application name on the server (use www for root)
--token, -t Authentication token (or set via environment variable)
--port, -p Local web server port for watch (default: 8080)
--days deploy: upload only files modified in the last N days
--log [N] watch: save proxied JSON responses to .jetquery/log/
--url getimage/gethtml: page path relative to the host root, or absolute URL (default /)
--out getimage/gethtml: output file (default .jetquery/yyyymmdd-hhmmss-<url path>.png / .html, non-alphanumeric characters replaced with -)
--full getimage/gethtml: resize the viewport height to fit the whole page content (max 20000 px)

Authentication

The token can be stored in an environment variable derived from the host name (dots and hyphens replaced with underscores):

# Windows
setx app_host_com YOUR_TOKEN

# Linux / macOS
export app_host_com=YOUR_TOKEN

Examples

jetquery --action deploy --host app.host.com --appname myapp
jetquery --action deploy --host app.host.com --appname myapp --days 3
jetquery --action watch  --host app.host.com --appname myapp
jetquery --action build  --host app.host.com --appname myapp
jetquery --action get    --host app.host.com --appname myapp
jetquery --action getimage --host app.host.com --appname www --url /srs/301-zamowienia-lista/view
jetquery --action gethtml  --host app.host.com --appname www --url /srs/301-zamowienia-lista/view

getimage / gethtml need Playwright with Chromium:

pip install jetquery[browser]
playwright install chromium

Requirements

  • Python 3.10+
  • requests

Metadata

Release files for jetquery 3.3.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 jetquery 3.3.0
File Size Uploaded Provenance Actions
jetquery-3.3.0.tar.gz 12.3 kB Without provenance Details for jetquery-3.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 24.2 kB

Release files / jetquery-3.3.0.tar.gz

Download URL jetquery-3.3.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
22d653ac905dbc249530490c3b316ad5256c5d14b34e379825ac1c201b556bb0
BLAKE2b-256 checksum
How to use checksums
2f7c059bc711f010deaeb6c99c2baf56d98da8979c2a636667868857681e2540
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / jetquery-3.3.0-py3-none-any.whl

Download URL jetquery-3.3.0-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd1310bb96a30edfa7533097a8386633a21c981daa55104bdc463dd0eba37bb6
BLAKE2b-256 checksum
How to use checksums
759b471b10aeb63226e3a60e4760e0a1193c21259376dc29769f7db1377b8cbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for jetquery 3.3.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.

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