pyvegh 0.4.0__cp38-abi3-win_amd64.whl → 0.6.0__cp38-abi3-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.
@@ -1,6 +1,20 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyvegh
3
- Version: 0.4.0
3
+ Version: 0.6.0
4
+ Classifier: Programming Language :: Python :: 3.10
5
+ Classifier: Programming Language :: Python :: 3.11
6
+ Classifier: Programming Language :: Python :: 3.12
7
+ Classifier: Programming Language :: Python :: 3.13
8
+ Classifier: Programming Language :: Python :: 3.14
9
+ Classifier: Programming Language :: Python :: 3.15
10
+ Classifier: Programming Language :: Python :: 3 :: Only
11
+ Classifier: Programming Language :: Rust
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Topic :: Software Development :: Libraries
15
+ Classifier: Topic :: Utilities
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Development Status :: 5 - Production/Stable
4
18
  Requires-Dist: typer>=0.20.0
5
19
  Requires-Dist: rich>=14.2.0
6
20
  Requires-Dist: shellingham>=1.5.4
@@ -23,7 +37,8 @@ It delivers the raw performance of Rust (Zstd multithreaded compression, Tar arc
23
37
  ## Features
24
38
 
25
39
  * **Blazing Fast:** Core logic is implemented in Rust using PyO3, utilizing **Zstd Multithreading** and the next-gen **Blake3** hashing algorithm.
26
- * **Analytics Dashboard:** Instantly visualize your project's Lines of Code (LOC) with a beautiful terminal dashboard—no extraction required.
40
+ * **AI-Ready Context:** Generate clean, token-optimized XML prompts for ChatGPT/Claude in milliseconds.
41
+ * **Analytics Dashboard:** Instantly visualize your project's Lines of Code (LOC) with a beautiful terminal dashboard, no extraction required.
27
42
  * **Dry-Run Mode:** Simulate snapshot creation to check file sizes and detect sensitive data risks before packing.
28
43
  * **Integrity v2:** Verify data integrity at lightning speed with **Blake3** and inspect metadata (author, timestamp, tool version) without unpacking.
29
44
  * **Smart Upload:** Built-in `send` command supporting concurrent **Chunked Uploads** for large files.
@@ -36,7 +51,7 @@ It delivers the raw performance of Rust (Zstd multithreaded compression, Tar arc
36
51
  Install directly from PyPI:
37
52
  ```bash
38
53
  pip install pyvegh
39
- ````
54
+ ```
40
55
 
41
56
  Or build from source (requires Rust):
42
57
 
@@ -55,7 +70,13 @@ Set up your default server URL and Auth Token so you don't have to type them eve
55
70
  ```bash
56
71
  vegh config
57
72
  # Or one-liner:
58
- vegh config --url https://api.teaserverse.online/test --auth YOUR_TOKEN
73
+ vegh config send --url https://api.teaserverse.online/test --auth YOUR_TOKEN
74
+
75
+ # List current configuration
76
+ vegh config list
77
+
78
+ # Reset configuration to defaults
79
+ vegh config reset
59
80
  ```
60
81
 
61
82
  ### 2\. Create Snapshot
@@ -70,15 +91,49 @@ vegh snap ./my-project --output backup.vegh
70
91
  vegh snap ./my-project --dry-run
71
92
  ```
72
93
 
73
- ### 3\. Analytics
94
+ ### 3\. LOC
74
95
 
75
- View the CodeTease Analytics Dashboard to break down your project by language and lines of code.
96
+ View the Analytics Dashboard to break down your project by language and lines of code.
76
97
 
77
98
  ```bash
78
99
  vegh loc backup.vegh
100
+
101
+ # Show Source Lines of Code (SLOC) instead of total LOC
102
+ # Excludes blank lines and comments
103
+ vegh loc backup.vegh --sloc
79
104
  ```
80
105
 
81
- ### 4\. Inspect & Verify
106
+ ### 4\. Prompt
107
+
108
+ Generate a structured XML context of your codebase to feed directly into ChatGPT, Claude, or Gemini.
109
+ ```bash
110
+ # Generate XML context to stdout
111
+ vegh prompt .
112
+
113
+ # Clean Mode (Recommended):
114
+ # Removes lock files (package-lock.json, Cargo.lock), logs, secrets and other unnecessary files.
115
+ vegh prompt . --clean
116
+
117
+ # Copy to Clipboard (One-shot):
118
+ vegh prompt . --clean --copy
119
+
120
+ # Save to file
121
+ vegh prompt . --clean --output context.xml
122
+ ```
123
+
124
+ ### 5\. Prune
125
+
126
+ Clean up old snapshots to free disk space.
127
+
128
+ ```bash
129
+ # Keep only the 5 most recent snapshots in the current directory
130
+ vegh prune --keep 5
131
+
132
+ # Force clean without confirmation (useful for CI/CD)
133
+ vegh prune --keep 1 --force
134
+ ```
135
+
136
+ ### 6\. Check
82
137
 
83
138
  Check file integrity (Blake3) and view embedded metadata.
84
139
 
@@ -86,7 +141,7 @@ Check file integrity (Blake3) and view embedded metadata.
86
141
  vegh check backup.vegh
87
142
  ```
88
143
 
89
- ### 5\. Restore
144
+ ### 7\. Restore
90
145
 
91
146
  Restore the snapshot to a target directory. Supports **Partial Restore**.
92
147
 
@@ -96,9 +151,12 @@ vegh restore backup.vegh ./restored-folder
96
151
 
97
152
  # Partial restore (Specific files or folders)
98
153
  vegh restore backup.vegh ./restored-folder --path src/main.rs --path config/
154
+
155
+ # Flatten directory structure (Extract files directly to output dir)
156
+ vegh restore backup.vegh ./restored-folder --flatten
99
157
  ```
100
158
 
101
- ### 6\. Peek & Diff
159
+ ### 8\. Cat & Diff
102
160
 
103
161
  Inspect content without extracting.
104
162
 
@@ -106,20 +164,23 @@ Inspect content without extracting.
106
164
  # View a file's content inside the snapshot
107
165
  vegh cat backup.vegh src/main.rs
108
166
 
167
+ # View raw content (Useful for piping binary files)
168
+ vegh cat backup.vegh image.png --raw > extracted_image.png
169
+
109
170
  # Compare snapshot with a directory
110
171
  vegh diff backup.vegh ./current-project
111
172
  ```
112
173
 
113
- ### 7\. Send
174
+ ### 9\. Send
114
175
 
115
- Send the snapshot to a remote server. PyVegh now supports **Chunked Uploads** for reliability.
176
+ Send the snapshot to a remote server. Supports **Chunked Uploads** for reliability.
116
177
 
117
178
  ```bash
118
179
  # Auto-detects if chunking is needed, or force it:
119
180
  vegh send backup.vegh --force-chunk
120
181
  ```
121
182
 
122
- ### 8\. Doctor
183
+ ### 10\. Doctor
123
184
 
124
185
  Check your environment and installation health.
125
186
 
@@ -127,7 +188,7 @@ Check your environment and installation health.
127
188
  vegh doctor
128
189
  ```
129
190
 
130
- ### 9\. Hooks example
191
+ ### 11\. Hooks example
131
192
 
132
193
  Create a `.veghhooks.json` in your workspace.
133
194
 
@@ -0,0 +1,9 @@
1
+ pyvegh-0.6.0.dist-info\METADATA,sha256=0Oy7DrRDNjapifIziFIee6H5z8B6m2Li0EPOG_Wn2Yw,6715
2
+ pyvegh-0.6.0.dist-info\WHEEL,sha256=u-RPeLN54T2lDOtzubQxvLXSWlzCrJlHDaM2BtK7oTk,95
3
+ pyvegh-0.6.0.dist-info\entry_points.txt,sha256=WNhHyba1tppGRLA2R4dOILWdifp2vTP6dtvyOzPjtzk,56
4
+ pyvegh-0.6.0.dist-info\licenses\LICENSE,sha256=5d9Msgs0I6oS2jCQpP8Y4eioop_lWZpqiDmsEINaA70,1087
5
+ vegh\__init__.py,sha256=hCX5NKnTkgEBUmbFz9egTvnR4NlG5qSLPspSAPhIxPM,459
6
+ vegh\_core.pyd,sha256=7miHRparcWkGund-f8Sn9hMaSp21b4_JMRKSt2aCR8o,2848256
7
+ vegh\analytics.py,sha256=Po4rGncIqiKPe7SODW8Uodd5jLpsHS_4T3PlwAKi_Us,19587
8
+ vegh\cli.py,sha256=vcVpOVgAYbKdZDxhq-du6CtdmqkPkCy9hS9OHMxGzLI,54259
9
+ pyvegh-0.6.0.dist-info\RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.10.2)
2
+ Generator: maturin (1.11.2)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp38-abi3-win_amd64
vegh/__init__.py CHANGED
@@ -2,23 +2,23 @@
2
2
  # Copyright (c) 2025 CodeTease
3
3
 
4
4
  from ._core import (
5
- create_snap,
6
- dry_run_snap,
7
- restore_snap,
8
- check_integrity,
9
- get_metadata,
5
+ create_snap,
6
+ dry_run_snap,
7
+ restore_snap,
8
+ check_integrity,
9
+ get_metadata,
10
10
  count_locs,
11
- scan_locs_dir
11
+ scan_locs_dir,
12
12
  )
13
13
 
14
- __version__ = "0.3.3"
14
+ __version__ = "0.6.0"
15
15
  __all__ = [
16
- "create_snap",
17
- "dry_run_snap",
18
- "restore_snap",
19
- "check_integrity",
20
- "get_metadata",
21
- "count_locs",
16
+ "create_snap",
17
+ "dry_run_snap",
18
+ "restore_snap",
19
+ "check_integrity",
20
+ "get_metadata",
21
+ "count_locs",
22
22
  "scan_locs_dir",
23
- "__version__"
24
- ]
23
+ "__version__",
24
+ ]
vegh/_core.pyd CHANGED
Binary file