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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ef55a413923be9d4f7bce333abb9c1d54e995a083ccb5f9daf99eea5f7531f63
MD5 c28780927482cf3195053c7a15729384
BLAKE2b-256 d09ca43d0830b75ece84c38008c5efc1c3e0814c8226d89a2ee64035599dc578

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 daf2efd840a84af4cf2f80bbb2966333899fea2a711b5de038b8fddacc0d5afc
MD5 86730cf5b5e86c3840cbd4d9df7fd672
BLAKE2b-256 b0fc6a9728c7439b86fd98d666507ab9abf45ff21c841903d4d579f835f3a7c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 02577f6cd20265a9b1d0fd11ac265b69ad247f9bcc7118dc79f1b8095da6e231
MD5 90eb4d453d8f1cfec27c634971bd0c94
BLAKE2b-256 ed92ff1a431be53d60efb42ca730b2d836a1b3c184390bcbf76c55b9de5a910a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f5dba9d15dbeca1ddbd1bf305ef346db9a0d91b95833ab9caf895dc4203a43e3
MD5 acc7bc1ea571d77f3fecd16c8ba7fbe7
BLAKE2b-256 983f98416cc4b48028131e1ec61e18d976702041b16e36dabd552b1aa2c8ff6e

See more details on using hashes here.

Provenance

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