py-wait-until 0.0.1__tar.gz → 0.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- py_wait_until-0.0.1/README.md → py_wait_until-0.0.2/PKG-INFO +21 -2
- py_wait_until-0.0.1/PKG-INFO → py_wait_until-0.0.2/README.md +13 -10
- {py_wait_until-0.0.1 → py_wait_until-0.0.2}/pyproject.toml +2 -2
- {py_wait_until-0.0.1 → py_wait_until-0.0.2}/src/py_wait_until/main.py +3 -3
- {py_wait_until-0.0.1 → py_wait_until-0.0.2}/src/py_wait_until/__init__.py +0 -0
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: py-wait-until
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: Print a loading spinner while another command is running.
|
|
5
|
+
Author: billwallis
|
|
6
|
+
Requires-Python: >=3.13
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
|
|
1
9
|
<span align="center">
|
|
2
10
|
|
|
3
11
|
[](https://www.python.org/downloads/)
|
|
@@ -15,16 +23,27 @@
|
|
|
15
23
|
|
|
16
24
|
# Wait Until
|
|
17
25
|
|
|
18
|
-
Print a loading spinner while another
|
|
26
|
+
Print a loading spinner while another command is running.
|
|
19
27
|
|
|
20
28
|
## Usage
|
|
21
29
|
|
|
22
|
-
|
|
30
|
+
`py-wait-until` is a CLI tool which runs a command and displays a loading spinner while the command is executing.
|
|
31
|
+
|
|
32
|
+
The easiest way to use `py-wait-until` is via [`uvx`](https://docs.astral.sh/uv/guides/tools/), for example:
|
|
23
33
|
|
|
24
34
|
```shell
|
|
35
|
+
uvx py-wait-until python -c "import time; time.sleep(2)"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Alternatively, install from PyPI and run without `uvx`:
|
|
39
|
+
|
|
40
|
+
```shell
|
|
41
|
+
pip install py-wait-until
|
|
25
42
|
py-wait-until python -c "import time; time.sleep(2)"
|
|
26
43
|
```
|
|
27
44
|
|
|
45
|
+
The return code of the original command is preserved. Specifying no command will exit with code 1 and show the help message.
|
|
46
|
+
|
|
28
47
|
## Contributing
|
|
29
48
|
|
|
30
49
|
Install [uv](https://docs.astral.sh/uv/getting-started/installation/) and then install the dependencies:
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
Metadata-Version: 2.3
|
|
2
|
-
Name: py-wait-until
|
|
3
|
-
Version: 0.0.1
|
|
4
|
-
Summary: Print a loading spinner while another process is running.
|
|
5
|
-
Author: billwallis
|
|
6
|
-
Requires-Python: >=3.13
|
|
7
|
-
Description-Content-Type: text/markdown
|
|
8
|
-
|
|
9
1
|
<span align="center">
|
|
10
2
|
|
|
11
3
|
[](https://www.python.org/downloads/)
|
|
@@ -23,16 +15,27 @@ Description-Content-Type: text/markdown
|
|
|
23
15
|
|
|
24
16
|
# Wait Until
|
|
25
17
|
|
|
26
|
-
Print a loading spinner while another
|
|
18
|
+
Print a loading spinner while another command is running.
|
|
27
19
|
|
|
28
20
|
## Usage
|
|
29
21
|
|
|
30
|
-
|
|
22
|
+
`py-wait-until` is a CLI tool which runs a command and displays a loading spinner while the command is executing.
|
|
23
|
+
|
|
24
|
+
The easiest way to use `py-wait-until` is via [`uvx`](https://docs.astral.sh/uv/guides/tools/), for example:
|
|
31
25
|
|
|
32
26
|
```shell
|
|
27
|
+
uvx py-wait-until python -c "import time; time.sleep(2)"
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Alternatively, install from PyPI and run without `uvx`:
|
|
31
|
+
|
|
32
|
+
```shell
|
|
33
|
+
pip install py-wait-until
|
|
33
34
|
py-wait-until python -c "import time; time.sleep(2)"
|
|
34
35
|
```
|
|
35
36
|
|
|
37
|
+
The return code of the original command is preserved. Specifying no command will exit with code 1 and show the help message.
|
|
38
|
+
|
|
36
39
|
## Contributing
|
|
37
40
|
|
|
38
41
|
Install [uv](https://docs.astral.sh/uv/getting-started/installation/) and then install the dependencies:
|
|
@@ -6,8 +6,8 @@ build-backend = "uv_build"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "py-wait-until"
|
|
9
|
-
version = "0.0.
|
|
10
|
-
description = "Print a loading spinner while another
|
|
9
|
+
version = "0.0.2"
|
|
10
|
+
description = "Print a loading spinner while another command is running."
|
|
11
11
|
authors = [{name = "billwallis"}]
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
requires-python = ">=3.13"
|
|
@@ -72,16 +72,16 @@ def _wait_for_process(cmd: list[str]) -> int:
|
|
|
72
72
|
|
|
73
73
|
def main(argv: Sequence[str] | None = None) -> int:
|
|
74
74
|
"""
|
|
75
|
-
|
|
75
|
+
Print a loading spinner while another process is running.
|
|
76
76
|
"""
|
|
77
77
|
|
|
78
78
|
parser = argparse.ArgumentParser(
|
|
79
|
-
description="
|
|
79
|
+
description="Print a loading spinner while another command is running.",
|
|
80
80
|
)
|
|
81
81
|
parser.add_argument(
|
|
82
82
|
"command",
|
|
83
83
|
nargs=argparse.REMAINDER,
|
|
84
|
-
help="Command
|
|
84
|
+
help="Command(s) to execute",
|
|
85
85
|
)
|
|
86
86
|
|
|
87
87
|
args = parser.parse_args(argv)
|
|
File without changes
|