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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a112689c9f9462dc077c353a912c5fa3c371fc754c2a2df9a40ae07eaad991eb
MD5 5d44eca7306eda6c35da7214bd6e7110
BLAKE2b-256 7cec4a5d3703c20a33087d7002926dd37c648fd6e9617ae943e8dd7448a32acf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 41433800ceefb9799eafc0ff5654f227382a963eab946a31784d04579b51f593
MD5 e13802e41407895bf27d8eac884685fa
BLAKE2b-256 4737ed85a3c5a8a1fd253532a8b1764933220ff05590bbc966405b382fa59223

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cfd269f119f5c6832d92cce2f8df508e27820ecbc7f9b5c31394d44e71a47ab2
MD5 2aa94e5b91013d78f387bd81793e7fcf
BLAKE2b-256 36f8aca6e82acd3142cfae0313d1003a1680007a1fc037bf9c94f485218adfef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for awa_cli-0.5.1a0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6cecad2bab1c69812d70087cd98cb6eec0888c699d8b28c8e40523c413cd6571
MD5 bd1f7ce6a79d46705c34d9d3fef7195c
BLAKE2b-256 67f016f5c2258b1f59d6c9104a17edcf15a94fb1b70e6ffa9ce08d3f8e721bbf

See more details on using hashes here.

Provenance

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