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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2a0dec4d7ea3c07eb376e9e6b837ae3824a6d50eb192a56c641979b2a7678900
MD5 72e2161dd7c834b08cca553697668f96
BLAKE2b-256 43265f3dc4af674b00643f877f6e9234615cd02877053c1fd2b7dfcd44867977

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f03efdc9dbe831141ffefaef2c3089a3748d61e9f77da874816e430f1bfaa797
MD5 82970d4b826b59c1e4acdc1b8571123c
BLAKE2b-256 2052fd8c8d55bf9d7886699305abfed2c99bbf357430f8dacae9db1bdaa3985d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c882b103ed6f609f8ab0ceac40431d7253767f01b46ff71eea3a76a7be80e578
MD5 955b5d28cad9505a5da7f08d2ef8cddf
BLAKE2b-256 8db96024b504110d607a67b1c72a2cd244f75eb22b48909f6a1286f2e2aa584c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0ef8210750e6c2a04ec1a6bfc2e8a39d6652992c25c300d80402dc937d9bbbea
MD5 7e2f950ba39bef2f5e5ee042d35c0701
BLAKE2b-256 bc4e0cc696b4d77426fda975cf4e4c1f43b396d3b172a5735fb7ed6ccf004a2f

See more details on using hashes here.

Provenance

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