Skip to main content

CLI for the Awa Postgres-native job queue (migrations, admin, serve)

Project description

awa-cli

CLI for the Awa Postgres-native job queue.

# Install (no Rust toolchain needed)
pip install awa-cli
# or: cargo install awa-cli

# Run migrations
awa --database-url $DATABASE_URL migrate

# Admin
awa --database-url $DATABASE_URL queue stats
awa --database-url $DATABASE_URL job list --state failed
awa --database-url $DATABASE_URL job dump 12345
awa --database-url $DATABASE_URL job dump-run 12345
awa --database-url $DATABASE_URL job retry 12345

# Web UI
awa --database-url $DATABASE_URL serve
# → http://127.0.0.1:3000

Commands

Command Description
migrate Run database migrations (or extract SQL)
job list List jobs with state/kind/queue filters
job dump Dump one job as a detailed JSON inspection snapshot
job dump-run Dump one attempt-oriented inspection snapshot
job retry Retry a failed/cancelled job
job cancel Cancel a job
job retry-failed Retry all failed jobs by kind
job discard Delete failed jobs by kind
queue stats Show per-queue depth, lag, throughput
queue pause Pause a queue
queue resume Resume a paused queue
queue drain Cancel all pending jobs in a queue
cron list List registered cron schedules
cron remove Remove a cron schedule
serve Start the web UI dashboard

License

MIT OR Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

awa_cli-0.5.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

awa_cli-0.5.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

awa_cli-0.5.7-py3-none-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.5.7-py3-none-macosx_10_12_x86_64.whl (4.6 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file awa_cli-0.5.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c9d2568f09a65ddc4583e8dfdfe84783904c9ae5a947bdb6d9f15b99da36105a
MD5 391d09bc64dfc3cbdadae98e0790c412
BLAKE2b-256 02f581df6b8c01cef76c84613b8ea12076d4b6b4b1e16afd81ebeaadcc88d8ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for awa_cli-0.5.7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on hardbyte/awa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file awa_cli-0.5.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 972f7648aa75ec5b1b11a99682e3331f3708b35b822ff2c7e035a1ff6d48f372
MD5 363ca11b808d239ea9933d27d4bb87ac
BLAKE2b-256 5dee038978b412e0990b451c56361c6308bab5bc9df20597b211ca6e42ebd85b

See more details on using hashes here.

Provenance

The following attestation bundles were made for awa_cli-0.5.7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on hardbyte/awa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file awa_cli-0.5.7-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.7-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 df12d038bf464597d809086037f0cf8cbfd2d747e66d96a68ae788454377918f
MD5 22414d4bfd5e278478ee311640f5eab5
BLAKE2b-256 589b69bfce6678713276e760373c5ad20dab7ea708a79f3cd38453c7d44f6e41

See more details on using hashes here.

Provenance

The following attestation bundles were made for awa_cli-0.5.7-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on hardbyte/awa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file awa_cli-0.5.7-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.7-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 73ee0d9df900d20ffe6ce0d23b1be950bd896e92d804b137e7ac835576d8d128
MD5 1f973885320aeccc71e259bff1f8afa7
BLAKE2b-256 bdfaf6c25ef0a89637ee3919e49a2b8714826a254795f581e2b9c38488953504

See more details on using hashes here.

Provenance

The following attestation bundles were made for awa_cli-0.5.7-py3-none-macosx_10_12_x86_64.whl:

Publisher: release.yml on hardbyte/awa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page