Skip to main content

Print a loading spinner while another command is running.

Project description

Python uv tests coverage

Ruff pre-commit.ci status GitHub last commit


Wait Until

Print a loading spinner while another command is running.

Usage

py-wait-until is a CLI tool which runs a command and displays a loading spinner while the command is executing.

The easiest way to use py-wait-until is via uvx, for example:

uvx py-wait-until python -c "import time; time.sleep(2)"

Alternatively, install from PyPI and run without uvx:

pip install py-wait-until
py-wait-until python -c "import time; time.sleep(2)"

The return code of the original command is preserved. Specifying no command will exit with code 1 and show the help message.

Custom loading message

You can specify a custom loading message using the --message (or -m) option:

uvx py-wait-until --message "Processing..." python -c "import time; time.sleep(2)"

This option must be specified before the command to run

Contributing

Install uv and then install the dependencies:

uvx --from poethepoet poe install

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_wait_until-0.0.3.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_wait_until-0.0.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file py_wait_until-0.0.3.tar.gz.

File metadata

  • Download URL: py_wait_until-0.0.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for py_wait_until-0.0.3.tar.gz
Algorithm Hash digest
SHA256 32b9459894181331d7d4b4c9c498253915c934bb36c5e182cc3d570593aa39c3
MD5 c524bc87477f8ca07e62ba5eb520a0f5
BLAKE2b-256 28f0557d7423c54989e24e684917cbd07d863b10ef26feb811f6e861ebfe4901

See more details on using hashes here.

File details

Details for the file py_wait_until-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: py_wait_until-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for py_wait_until-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 24264edc592931ce3421afac5482b1de7134d2119c94f0a365b367e60eeeb19c
MD5 f92e996f1b3cf93953fc7b683aab09ac
BLAKE2b-256 8a048036c1ed8700408d3a4bcd7158b514ab703f834b0713549c17f5b1a865f9

See more details on using hashes here.

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