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

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.5.3a2-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.3a2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.3a2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dc84c391e20a6aea32dada2dac5dce985fea13238f9ea79597106b097df0f25d
MD5 018ba6e43649d564f9f0fbca165b5842
BLAKE2b-256 84855354726053f4f8537e0a0a22d7d56700d8a69798b82338d303394897fe4f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.3a2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 755e2841631d1512eaf6d00c4f2208adb88e8ad3044635fc4634f6b65c75c5a1
MD5 5e318be341fbc3c2965e382e7bc6c8d9
BLAKE2b-256 26a94dd32b5dba45fbe3e72d0cf50a9494e8d2af8b9b41db1a27e704ededa74b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.3a2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4a9dc65dfc8be151c080831f9eff08e849d6b9709d1284a16f2058b1f11dc05d
MD5 e847deb7265d5514b38c2fc733f2a923
BLAKE2b-256 c4c276c9c5354c5b7d02167cf1332600821ae332e260b219e66f3af0706627e6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.3a2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 26e14b345ff55c4f63bb48d0120e910f6c28b86c5ce513678e4f32d0deda405d
MD5 a6da12db6b72e32d4119a1baa9bfeb03
BLAKE2b-256 a3a5c444d3c3a3bccad2d2fe13e962c90ae4e1a544fdf52552ed5cc30401a4ea

See more details on using hashes here.

Provenance

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