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.4.0a2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

awa_cli-0.4.0a2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

awa_cli-0.4.0a2-py3-none-macosx_11_0_arm64.whl (2.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

awa_cli-0.4.0a2-py3-none-macosx_10_12_x86_64.whl (3.0 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file awa_cli-0.4.0a2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for awa_cli-0.4.0a2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7f2c2b9b4569394cde86af579bfbccf364adce2c1ed12aa50d3ee00a8843d9a9
MD5 d84f9a5737bef1364fe856206499269e
BLAKE2b-256 d8415f5af5e9243c30fec7e8017f2092867f50634c78753629dfd1a6efb88de2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.4.0a2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c4facde5aff2285cb73f29e14cf34f4cd9983b5c114843a508f69c68d1d30f75
MD5 1389443b7ea23c188cb1483b1a4a7437
BLAKE2b-256 cb8767ff8097c6a494ca7334c519a0d510c16c26e2bffe349f199ea68702202e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.4.0a2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 159c2e3af869835f1c3d0035b6758a3a76782e2c18355585d01e55d6906cf3d5
MD5 037c905432dc5ef9ab023c4320d89722
BLAKE2b-256 6ddae735484d62c1aa4efe1d27431e71daf4294c72e013c1cdbfce2e1f85d130

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.4.0a2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5241bc7e592e3204c494eb32383aea64e064e846c0d8856e8767db29863d1b92
MD5 a04425019889fe295b0b07e419db5ffd
BLAKE2b-256 57a5fa554219f956c54d114b071066a234ceb08ce8bd2e50a7a90cb384fffea3

See more details on using hashes here.

Provenance

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