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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

awa_cli-0.4.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

awa_cli-0.4.1-py3-none-macosx_11_0_arm64.whl (2.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.4.1-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.4.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for awa_cli-0.4.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 050d8b47de14b720e9e552d3762da2099b305b5cacbaf88264d64db69c55a47e
MD5 96f427af4d0c6fda9d170485c65df98d
BLAKE2b-256 537c858ef8d2361a53783e1c955b085d05328ac4e3ac4e5f2054f830716616e8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.4.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d25dbf9ae52f392d33252de851e817e463319bb86c3d8e7e52f551ebefed1241
MD5 4db4dc92d04f94a9b40350bb4c693584
BLAKE2b-256 e019a232ab6d26070d52c0d4857802476c0c90298fd1286bd1887f233888ad30

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.4.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d5299d49856fb0685f5ebc27eb05af898dae17d0efc5d38541c96a873b03150f
MD5 745012ef36b65b924f1728d6cc6a080f
BLAKE2b-256 7f61b81be1f31e97ce6bf430fe1e756d81165990531a2fe8ae12c8b9beeaabed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.4.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 61554196c579ba0d72428328a52cb769e08494a1ce660885d38391a2efa01cf3
MD5 9578e839ba9f803c953a4cbc05cc8a5c
BLAKE2b-256 12df78c229a8a491b512beda88d4aef90789bda8bb158bb112ea1d6d496bb575

See more details on using hashes here.

Provenance

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