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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for awa_cli-0.5.3a0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ea0830157a70a6566eac22d30366ac9799c157c43e5a94c235d30e839774833c
MD5 8d86ebc538aa81883147cb90cfec91c5
BLAKE2b-256 1badfb7440cde6f5c28bb822f97970c7b43f0991edc488df1946c9a454511577

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.3a0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d81b9cf2a703545205ed434943b587fffa41483a86bebeecce51a28c77975071
MD5 68fefe310f105b221ab1ce4c48cd3234
BLAKE2b-256 047aecf53435004d5085154aeefa5416f92e43ef1552e71e0574315773fadffc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.3a0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2c1d34d1bc76b3e35b99501ce21525777e2335c4a28d540b9c1e10c395de7d30
MD5 8b55b912fd1f0adffb743fcdfbb0687b
BLAKE2b-256 de1c33a7246413239bb958bc92c4270f52b117540c104a4793ae2087064d514d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.3a0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b6e0dc7e5926a21c99764436cae609fc8eea139927ca1034c0df8b02c5c46d46
MD5 329d1381f89feb072780e38f2ca58590
BLAKE2b-256 713c155830131135aa3764d50504bd8b843407007cd2899c34d5e7fdd1bebced

See more details on using hashes here.

Provenance

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