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.0a1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

awa_cli-0.4.0a1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

awa_cli-0.4.0a1-py3-none-macosx_11_0_arm64.whl (2.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.4.0a1-py3-none-macosx_10_12_x86_64.whl (3.0 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file awa_cli-0.4.0a1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for awa_cli-0.4.0a1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8ea3ca47fa37322d4c7db812d2144835852da60e35bafac463b3d55c857a3df0
MD5 5e466312543b1fdb5f15e4e82fd2e54d
BLAKE2b-256 cc01ff60f2db92a45f79c540ed3a3e5624df8d9c7ed656f81a23be47468f87c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.4.0a1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 41ef995dff3892b8de88c82e8098049da8ed03d709b30b95a7ede798f02c09b2
MD5 e8450ace64354cdbf74a8a2db2cb3a5e
BLAKE2b-256 08b3a6698fbb5ed88e79848c1bf582f122bb4fc6c12b9b1cb0d5d408888c0f5f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.4.0a1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 af82455dd5958ae9daca0e8cfd5c9ebc705f956ad51f37f641dff666ae7c9962
MD5 0b14c0abc4fbeb5d017e65656c2cfdf1
BLAKE2b-256 a772fe4465749fe1e2426ee0df48059d6101923dbe8604809206ccf66fc47408

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.4.0a1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a716261d32018690b17939d759ec028aa6b2faa5e4438fd5daad7a8ccc403693
MD5 5872e979f2b1c2276df4a825a2921cba
BLAKE2b-256 4e163566ced798cfbecc8feec1cba10a319ad24b547b61718056fad701013b02

See more details on using hashes here.

Provenance

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