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

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.5.2-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.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for awa_cli-0.5.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 57085e2e2df53218ceaefca7e09e82631c77f0314c077e6d6af1e77e52edf018
MD5 66b9314dd2639b75b5d3d58c25eee591
BLAKE2b-256 669bbfb0488211e9155ec93bb34c22f37ef184c75f99c2b044eb5500f408d062

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 65eeba09a1adf6515e36fa2fb0a462b317add40fac6743bd851cfd00e1bccaa5
MD5 d02e21b0370de6f57dba25f6329dd148
BLAKE2b-256 bbeb5aa5b4f15732aec44ff00618f4b2d0fa5aad5373db6a10d1d04b45ca331e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6cd9817548a4b27df043ae059e951413ab17c0946235eb3c32f0a54ae208cfd8
MD5 e87309d61fd9be77fea3f530b9c7e7c5
BLAKE2b-256 b0ebe398edb8376d880aecaebe155918feee1d97b18335cd8c3df5232084d31a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 947a2d352c66f85ff578ee117fd13f8f2882f294c6444b1399862ca25a0091b7
MD5 86eaf58655fc33a337d37cc69b8ff15c
BLAKE2b-256 6768c07635d30a2306c4cd9198411d08f349b95ecf79c2787dbcbfe730d5acab

See more details on using hashes here.

Provenance

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