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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for awa_cli-0.5.0a2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 11d3041454312274fa3c27affb1448fc5c2eda98381d71260356d6b4bcf5d96c
MD5 6e77449b86a00862dfa0899c18e9eb02
BLAKE2b-256 ba9bb0d57d63eef0d41a661a93bbbb82b4e24f21249e4ffc52de10bb8fd8f557

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.0a2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c07a72e8d4e9fd4a13cca4e00ec8f9c26f9273c22270f8bc71f8fd7af7a09efe
MD5 2868fc385fd19e87d908eb364331eee8
BLAKE2b-256 c2a2a063e65f41851ce77ddfd4412ed3066255c5128efa3b6d2205f95d29bde8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.0a2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 639922dfbadd0fcb636c094d989acc14b2a7981b7a13e874385d788266acbb08
MD5 fbbca0554f7c8ad05c2d069457a49860
BLAKE2b-256 8c24ef7d7457961b34ed258837d3d96f0937eeb90b392fd31015869b4723473b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.0a2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0a75fc9d3871edaf69e39970bf5c60d809e202e0ebb31b3493f34a29d808843c
MD5 2c34a413e2fec2af1a8ad5c1161c6eab
BLAKE2b-256 bbe9083581ba0108a14ad24a2c4ad20c7a6522583426bf78942806bb5f83b929

See more details on using hashes here.

Provenance

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