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 PNG screenshot (default 1920x1080, see --view) 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 -)
--view getimage/gethtml: viewport size WIDTHxHEIGHT (e.g. 1920x100), or full to resize the viewport height to fit the whole page content (max 20000 px). Default 1920x1080

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.4.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.4.0
File Size Uploaded Provenance Actions
jetquery-3.4.0.tar.gz 12.8 kB Without provenance Details for jetquery-3.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 25.0 kB

Release files / jetquery-3.4.0.tar.gz

Download URL jetquery-3.4.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0b54e2649758a6bc8a5a212fbbff1cdd16f4d33664894df8735feb2d5ae45405
BLAKE2b-256 checksum
How to use checksums
3824271de51bab930b4bb299f5a04fc68e565665b21d848d102e3b332246c9cc
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.4.0-py3-none-any.whl

Download URL jetquery-3.4.0-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe23f3352a0fdb80903e31192780c6e7a19c0242c70e1259de64e18f78ea2127
BLAKE2b-256 checksum
How to use checksums
96267f07ae59508142727945f3d913089d8e063faa25dcd256004f02ea6b4000
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.4.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