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.4a1-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.4a1-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.4a1-py3-none-macosx_11_0_arm64.whl (4.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.5.4a1-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.4a1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.4a1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cdf729e52686c8a3049544ba91b83c22e033db1e90a0ea76b0ceb6aa321aca84
MD5 c69f8df219efab39b7f054f8360244c6
BLAKE2b-256 571349a6dd0876dfe27a1bda9e17f48bfa6c34e73663e5833d7a5b00d7c0ab00

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.4a1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ae98e337dcf8afe2c6f2eb6ff95bb3185070ec22771a102578107f49a9933fea
MD5 03989823a400c176727a16f239b83279
BLAKE2b-256 877c5d7be77808ef577ea8350fa620774d4592ed62baadbc99ef1cd8cc521317

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.4a1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0a0e6a7daceb564329f05b1e1c528e4719f2c038ce1e658a095a4dd50d73bec5
MD5 233cac007143cded741dc647fd3a8868
BLAKE2b-256 04036f19e186825c33f5c33d94dfcee6a212608489746d9525e30cff5e89d78a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.4a1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4d9efd7069af57d1d5c9d8e8acbc351cbaabeb42940af9bfa5fe6ba6bb8b8ad7
MD5 2d156a2772bbf461a869b26b819a59b9
BLAKE2b-256 ac65c09f97137f09da28da2e6614d0d43b6c9bd5a2683931689482682f5cc64b

See more details on using hashes here.

Provenance

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