Command-line interface for jetQuery.io applications
Project description
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 |
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/ |
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
Requirements
- Python 3.10+
requests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jetquery-3.0.0.tar.gz
(9.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jetquery-3.0.0.tar.gz.
File metadata
- Download URL: jetquery-3.0.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb3437db3480b6493a9258f5cf5d96c1233cbead583e35b25dc0ba389023f60f
|
|
| MD5 |
710b5edbaa9b5048372348db09c9d5b1
|
|
| BLAKE2b-256 |
eb64fe9283c433d3539aa8e34433ad0111c010b5c253ba9d9116998aa9368375
|
File details
Details for the file jetquery-3.0.0-py3-none-any.whl.
File metadata
- Download URL: jetquery-3.0.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1bf25a488d7f271e9e8db6a8ba80143249ee1b696886b0f73efc77b68543bc2
|
|
| MD5 |
93bea889bac794ec9409aa0755e15c04
|
|
| BLAKE2b-256 |
d408bc5e5f529e2e31bf95389e453b9a1c838abd6a28d7b60d8e11adfac75d8b
|