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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for awa_cli-0.5.0a1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4f08ca09f747e3b0243e37b54b2faa85dc7dec68e6664030e1d4950cb0953f23
MD5 728d659c1c91d93c3f7c69014b00b9c0
BLAKE2b-256 c57c8eef5eae71a88dc4c9283bd6fc9e5bc33449762ac219ef74a826274897a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.0a1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eced100865f9b29833015eaed50be0b5561e983d6cc1d0a02a1afb3fbaa41a34
MD5 9ee8c4f869d4bcea1cd9bd5cc77349fe
BLAKE2b-256 eae0f1d2c5bddc276583ffe0aedc51d7becc3655c1307d4d8641de8061dfd106

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.0a1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c6f251d015ac35dae5ae0a787f804deb76ecaf1d566e7538e34dc10d397be779
MD5 ad1eee433b93ec95008dade462277031
BLAKE2b-256 997a22ce327ad434deb5b3485d4474f6d5e799c91c53721d305d202abb0675c5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.0a1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ed1b0b607be057752c4acb53ca55a5c616947e1154fa0eb38db468cfdc32c98c
MD5 76c707d729f41a3a46b90469cdf18b18
BLAKE2b-256 daa8d0f7830d0c0e2f162342177405561a180fe1641f621c23588ac2f129b2e8

See more details on using hashes here.

Provenance

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