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.0a0-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.0a0-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.0a0-py3-none-macosx_11_0_arm64.whl (3.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.5.0a0-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.0a0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.0a0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c35a243e912935bff5384f1648ab300b271174085f0fa723fc404984a43368d8
MD5 fdc6261f31973256521f59953216069a
BLAKE2b-256 8d0d3d217d0504a1c51d24a37b10a10e868861faec7a138b7297f8cbb21a8438

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.0a0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d59747e96963ec7fe5d39bf01bb1a4cd85cef23bc7c0ec846e93fa061f7c15d5
MD5 b103c660ecad90f321229b53375b8152
BLAKE2b-256 892434d57c3038eb6753f4abe6e02d9780b7108616c336afdd68b1bf4b812194

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.0a0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 88d078ada848be5d640886839806e164af15247f2aa59616e8898862dab7c8e1
MD5 bb3500cddcf8633be75d33eb8b7b658e
BLAKE2b-256 82d5223ebd0cd3acc8f4e606a5e4efbc5c145b01787520a6ce55e193b368c0e3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.0a0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1d5d295c0bf7e4d25b14eac8d921d5e417bb670a55fe5ffc72e7749147476ac0
MD5 7d9c17634e79017dc2bae294e4bba1c2
BLAKE2b-256 7e3f69772bc0f7068f859e438f7cd0242da462cfc2d8e6c000c2550c7b277119

See more details on using hashes here.

Provenance

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