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.3.0a3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

awa_cli-0.3.0a3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.7 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

awa_cli-0.3.0a3-py3-none-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.3.0a3-py3-none-macosx_10_12_x86_64.whl (2.8 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for awa_cli-0.3.0a3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c1a20d72d392e3b7d7709c49fbf394451e42c43c0e21c7133fabee4901415fd1
MD5 84f7937a9db3a9a7aa89716493ea8676
BLAKE2b-256 afdca46390c259273e6d718c8ea868be3e4c6a1adfcba1881774f709515da9f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.3.0a3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 95f2a10fd4a69788e66efd820d01d46205c71f8db723ec2af1106dbe94d437bf
MD5 da8d330755b56bbf4f0051f546f5f20f
BLAKE2b-256 f54ad77e2792a53be42a04a63e7e42d7ecba2fba90bb995ee36833325586735b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.3.0a3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bac11ae04f63f1edbde3fedbc14e4f16cc69d8abcc5645e829cd9f8ca452f758
MD5 c3e6a2d983e21da15f89ce066b06d7e8
BLAKE2b-256 b642ece72749a38eb1bdb9019bc7d6d60670c666ccbf0be148c653a3a2ce0512

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.3.0a3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d42a8e9b83e9503c5fb5b69cead86226c7e0f887a35078d423fb7c35ff3548d5
MD5 ffabb011b29d4b83c7eceb5e62b0c340
BLAKE2b-256 25a48bf8e925873f4c3a90ec1795bc7ee2d26aeb3b95358f41b7d93b0d9615d7

See more details on using hashes here.

Provenance

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