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

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.5.1a3-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.1a3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.1a3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8e7908f6cba929ff807ad8001a9c2656bdee6d6bd6a231141e80f2fb6e64021
MD5 9e39e602c3e0b23917dc1926510f5409
BLAKE2b-256 27d9248f68c668fb87d15ba2c6149aafbd7248841a9dc8aad52302a38543f19b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 306ad20ba5e0979caf87128ac7c64d102551752753bca3585292447e18b377e4
MD5 b0ffd95f4d8519042f8b3668555430e9
BLAKE2b-256 ab461e31bd37079839879de1cfe03d55422fd7a44027ac3d7543fd40c7d49a00

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3b31041e4b35fdca7b06559d5dc5ffa60ed8ae15ccee7105b5bf0955814c0c7a
MD5 c1a7bb156bf8837b69c1ed6e34a66ec4
BLAKE2b-256 aa632786ffa3bc8d5f5c064607d6aa2d1034dc97d66270d2e655f2a0060086ec

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4527abadae6f7b5ba3784b6d9b75e5588004c0da516516239f626cb198c47dff
MD5 7e9d6b82bc45894c53e1ca7147810a8e
BLAKE2b-256 91ab92def16f4fd369fc83561ff0e9e6b582f87f4d373c6479d3b7cd5bbde636

See more details on using hashes here.

Provenance

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