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.5a0-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.5a0-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.5a0-py3-none-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.5.5a0-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.5a0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.5a0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8d958822c35bf3f02099fe4e6af5915f59bbdef36dbef5c0fa73ec219e7ccf52
MD5 b236141039d54ed9729e47083ddf6236
BLAKE2b-256 7e03f24a7b282c19a3074c4ad716db2908d4ae2ee823a8f4017bff5f4e039150

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.5a0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 91a5a7b106cbe76736ea1d990004aadcad98e513bb9a5cd0ac4b59877ff1f969
MD5 ead063e1e4e02732b02e5a45ea94257b
BLAKE2b-256 2765c8ad527c471b57d44ad485a0a360ff423acb94d2b706fe8898a8d7866623

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.5a0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0ab05dd56ccb1f27ae5a10b200b8d6c2887e4d931efc6624cdfcaabccb7fb245
MD5 e5093d1ad15463b4105c16ded657399e
BLAKE2b-256 73e1e61d8bf28d3d2aa03aae9d43b23fcbd1c6d44a8384f0484c56714ac931a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.5a0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fb7864f0a6d3a21003100b16a98c8687cc5a2aa877d7c763f330f4666f9a9ea7
MD5 3f3d33ce96c814de7b72d83302b778e1
BLAKE2b-256 3218627b020e18be6d38c39e31307d254018a7e876ebce6ce40c3d628a37f62f

See more details on using hashes here.

Provenance

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