paddi-cli 0.2.3__py3-none-win_amd64.whl
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.
paddi_cli/__init__.py
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"""Go binary packaged as Python wheel."""
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
import stat
|
|
5
|
+
import subprocess
|
|
6
|
+
import sys
|
|
7
|
+
|
|
8
|
+
__version__ = "0.2.3"
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def get_binary_path():
|
|
12
|
+
"""Return the path to the bundled binary."""
|
|
13
|
+
binary = os.path.join(os.path.dirname(__file__), "bin", "paddi.exe")
|
|
14
|
+
|
|
15
|
+
# Ensure binary is executable on Unix
|
|
16
|
+
if sys.platform != "win32":
|
|
17
|
+
current_mode = os.stat(binary).st_mode
|
|
18
|
+
if not (current_mode & stat.S_IXUSR):
|
|
19
|
+
os.chmod(binary, current_mode | stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH)
|
|
20
|
+
|
|
21
|
+
return binary
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def main():
|
|
25
|
+
"""Execute the bundled binary."""
|
|
26
|
+
binary = get_binary_path()
|
|
27
|
+
|
|
28
|
+
if sys.platform == "win32":
|
|
29
|
+
# On Windows, use subprocess to properly handle signals
|
|
30
|
+
sys.exit(subprocess.call([binary] + sys.argv[1:]))
|
|
31
|
+
else:
|
|
32
|
+
# On Unix, exec replaces the process
|
|
33
|
+
os.execvp(binary, [binary] + sys.argv[1:])
|
paddi_cli/__main__.py
ADDED
paddi_cli/bin/paddi.exe
ADDED
|
Binary file
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: paddi-cli
|
|
3
|
+
Version: 0.2.3
|
|
4
|
+
Summary: Paddi CLI
|
|
5
|
+
License: MIT
|
|
6
|
+
Home-page: https://github.com/paddi-app/paddi
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
|
|
10
|
+
# Paddi CLI
|
|
11
|
+
|
|
12
|
+
<!--TODO-->
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
### Homebrew (macOS / Linux)
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
brew tap paddi-app/tap
|
|
20
|
+
brew install paddi
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### pip / uv
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
pip install paddi-cli
|
|
27
|
+
# or
|
|
28
|
+
uv tool install paddi-cli
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### npm / bunx
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npm install -g @paddi-app/paddi
|
|
35
|
+
# or run without installing
|
|
36
|
+
bunx @paddi-app/paddi
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Scoop (Windows)
|
|
40
|
+
|
|
41
|
+
```powershell
|
|
42
|
+
scoop bucket add paddi-app https://github.com/paddi-app/scoop-bucket
|
|
43
|
+
scoop install paddi
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Winget (Windows)
|
|
47
|
+
|
|
48
|
+
```powershell
|
|
49
|
+
winget install Paddi.Paddi
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Go
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
go install github.com/paddi-app/paddi@latest
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Authentication
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
paddi auth login
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Contributing
|
|
65
|
+
|
|
66
|
+
See [CONTRIBUTING.md](./CONTRIBUTING.md) for information on setting up this repository locally.
|
|
67
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
paddi_cli/__init__.py,sha256=qGQf_-RBCzGa2RYwOBVTF8QzqhHM334d8HP0pI9jShM,884
|
|
2
|
+
paddi_cli/__main__.py,sha256=IvTjTYhvVO6h9Jpa45i-FfzjcKcJy1jwkAZY_CkgibQ,26
|
|
3
|
+
paddi_cli/bin/paddi.exe,sha256=I8flyjuEGoXwhz3TuLvCJR3-W1HpzznE8XOseOacIr0,9216000
|
|
4
|
+
paddi_cli-0.2.3.dist-info/METADATA,sha256=8_mP4AGoWbt7dtxW-bWbAFSiGgY03FJ7JSyYYyf5YT0,941
|
|
5
|
+
paddi_cli-0.2.3.dist-info/WHEEL,sha256=0sPxpmRKEXT8GcR93ZvdoGx2ZPyFZ51zM-uCrZygDzM,95
|
|
6
|
+
paddi_cli-0.2.3.dist-info/entry_points.txt,sha256=PF9cteS5yCjg0eJUcN2OsEiwFK3DSGTEZ_y74Sc-5gQ,41
|
|
7
|
+
paddi_cli-0.2.3.dist-info/RECORD,,
|