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.4a0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

awa_cli-0.5.4a0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

awa_cli-0.5.4a0-py3-none-macosx_11_0_arm64.whl (4.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.5.4a0-py3-none-macosx_10_12_x86_64.whl (4.5 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for awa_cli-0.5.4a0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 81ebc2e0052c1468a44a44e40b8bedb76ff64bfe8bffcb0a9ca40f494527a0eb
MD5 1b1696156a930174ffa5f6fd1a71bcb7
BLAKE2b-256 46852dccb881fb90b5a27587ea2a0c78011dc768d2317aed68c15dea226065a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.4a0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c430d33bb5e4cbf91e5402d6115e862fb5eb0887826e43685765d4aa36e31655
MD5 8e4f573359d9e0e5782b0820e2fdeeaf
BLAKE2b-256 491b7b046e63429cb7d7edb6fb3b81596b33fc759278e75214b275f7f69c6a46

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.4a0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d4ba06da98e9a20a86fc0f44db1cb450553a33d3ea2165d00b70b8641f2d3c68
MD5 e957bda8d96578ed65938001cb6e9843
BLAKE2b-256 b421f6d03e99e1ddfc253a2fbcf8a8678fe2416e4f64806937b5604af02e981a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.4a0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7142e04621fbfd5b600dae0893c0a354cbb15b59f846269f5a825ad214e8f36a
MD5 f342c232609cd441eabab76303bcc45f
BLAKE2b-256 991fc63c7976aa61d0c939200bd74645577391c3683a70b1af56caba7def8884

See more details on using hashes here.

Provenance

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