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 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 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.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

awa_cli-0.5.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

awa_cli-0.5.3-py3-none-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.5.3-py3-none-macosx_10_12_x86_64.whl (3.2 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for awa_cli-0.5.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e82dfbb37a8eb4b8c5a5e9e7f5f1e9bc3786666cd871b48a91c316347d5198ab
MD5 2af6675c5ddd9e9c9a2ee909a5aee216
BLAKE2b-256 1ff265a8fca39ee2a4841c2c0ce915d11f222d532133743cbd53fb897eb61da4

See more details on using hashes here.

Provenance

The following attestation bundles were made for awa_cli-0.5.3-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.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8663ac05f3af7c6de34895b0cc1eeb1b6a904e96bb566b466adc5240ed574f9c
MD5 b69c75e1b3c6c9d36eb5b41aa2ac9e41
BLAKE2b-256 9c113b727c7a29f9c40b24ceadb5010d0a79b7fca20a4cb4bb1c34705df63e5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for awa_cli-0.5.3-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.3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bfe81bbae8275c9aed4d3518a0f082f789826ad5f2e534de488d3b45e24045ee
MD5 ace7c8cb1a055c8a1b482e0db128051b
BLAKE2b-256 3ecf6314e1b81819ba37f23b5a100ebafb9965b92b2f04629bc234aa15da6dfa

See more details on using hashes here.

Provenance

The following attestation bundles were made for awa_cli-0.5.3-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.3-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3041edcd421709f75e75cfe23d50b4df7e8eff07a1e1123e7f753aa84b52480b
MD5 56bbdce3f23190d9e0c70e09c90d4dc9
BLAKE2b-256 bcb127275d20a0d5a1b92e71602e1b3cfd33afafd3783b6c59f73253f5fa8fa8

See more details on using hashes here.

Provenance

The following attestation bundles were made for awa_cli-0.5.3-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