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 dump 12345
awa --database-url $DATABASE_URL job dump-run 12345
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 dump Dump one job as a detailed JSON inspection snapshot
job dump-run Dump one attempt-oriented inspection snapshot
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.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

awa_cli-0.5.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

awa_cli-0.5.6-py3-none-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.5.6-py3-none-macosx_10_12_x86_64.whl (4.6 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for awa_cli-0.5.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 11a4035060126a93178021d27fb04d8d4832937f72af9b442dd6717918730117
MD5 c89051920b47fb9d346590e0c97ef436
BLAKE2b-256 04e529fc24804253a6615bb0eac59cb67f0d719dd5885cd3a6b770e50ad4281f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.6-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3b93b7eb95b413dd539728d2422c4665397e3f8649c297ba6896e109db144d57
MD5 a872cab5fefa6b5cbd6fc906e03ae307
BLAKE2b-256 dd70f0d504c2441f67200d6c6b9c1d3d8008497086fa998080cef8d862b801b2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 95ff8b6c8092fa034df5d4d290f91c669b202267128d79af84df10acac77a291
MD5 c590b71463c4749cc1f764e511cee422
BLAKE2b-256 1df443723d94691e4304dfd7828e83520f75f82ef6450d168d8cfba6f67741f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.6-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ab87dfe7c710dbe1d07f36378f24137918eaa6dd5e8ed96bb49fead444d3ccbf
MD5 c9948a5df0604bc61c8d477108b9f400
BLAKE2b-256 d2dc743870e81197434804c5d0bd56f4bef5d450f4feff77d2b2135922b7e420

See more details on using hashes here.

Provenance

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