convoviz 0.4.1__py3-none-any.whl → 0.4.3__py3-none-any.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.
- convoviz/cli.py +16 -0
- {convoviz-0.4.1.dist-info → convoviz-0.4.3.dist-info}/METADATA +13 -6
- {convoviz-0.4.1.dist-info → convoviz-0.4.3.dist-info}/RECORD +5 -5
- {convoviz-0.4.1.dist-info → convoviz-0.4.3.dist-info}/WHEEL +0 -0
- {convoviz-0.4.1.dist-info → convoviz-0.4.3.dist-info}/entry_points.txt +0 -0
convoviz/cli.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""Command-line interface for convoviz."""
|
|
2
2
|
|
|
3
3
|
import logging
|
|
4
|
+
from importlib.metadata import version as get_version
|
|
4
5
|
from pathlib import Path
|
|
5
6
|
|
|
6
7
|
import typer
|
|
@@ -22,6 +23,13 @@ app = typer.Typer(
|
|
|
22
23
|
console = Console()
|
|
23
24
|
|
|
24
25
|
|
|
26
|
+
def _version_callback(value: bool) -> None:
|
|
27
|
+
"""Print version and exit."""
|
|
28
|
+
if value:
|
|
29
|
+
console.print(f"convoviz {get_version('convoviz')}")
|
|
30
|
+
raise typer.Exit()
|
|
31
|
+
|
|
32
|
+
|
|
25
33
|
@app.callback(invoke_without_command=True)
|
|
26
34
|
def run(
|
|
27
35
|
ctx: typer.Context,
|
|
@@ -71,6 +79,14 @@ def run(
|
|
|
71
79
|
"--log-file",
|
|
72
80
|
help="Path to log file. Defaults to a temporary file.",
|
|
73
81
|
),
|
|
82
|
+
_version: bool = typer.Option(
|
|
83
|
+
False,
|
|
84
|
+
"--version",
|
|
85
|
+
"-V",
|
|
86
|
+
help="Show version and exit.",
|
|
87
|
+
callback=_version_callback,
|
|
88
|
+
is_eager=True,
|
|
89
|
+
),
|
|
74
90
|
) -> None:
|
|
75
91
|
"""Convert ChatGPT export data to markdown and generate visualizations."""
|
|
76
92
|
# Setup logging immediately
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: convoviz
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Get analytics and visualizations on your ChatGPT data!
|
|
5
5
|
Keywords: markdown,chatgpt,openai,visualization,analytics,json,export,data-analysis,obsidian
|
|
6
6
|
Author: Mohamed Cheikh Sidiya
|
|
@@ -33,9 +33,10 @@ Description-Content-Type: text/markdown
|
|
|
33
33
|
</p>
|
|
34
34
|
|
|
35
35
|
<p align="center">
|
|
36
|
-
<a href="https://pypi.org/project/convoviz/"><img src="https://img.shields.io/pypi/v/convoviz?style=
|
|
37
|
-
<a href="https://
|
|
38
|
-
<a href="https://
|
|
36
|
+
<a href="https://pypi.org/project/convoviz/"><img src="https://img.shields.io/pypi/v/convoviz?style=for-the-badge&logo=python&logoColor=white" alt="PyPI Version"></a>
|
|
37
|
+
<a href="https://github.com/mohamed-chs/convoviz/blob/main/LICENSE"><img src="https://img.shields.io/pypi/l/convoviz?style=for-the-badge" alt="License"></a>
|
|
38
|
+
<a href="https://pepy.tech/projects/convoviz"><img src="https://img.shields.io/pepy/dt/convoviz?style=for-the-badge&color=blue" alt="Downloads"></a>
|
|
39
|
+
<a href="https://github.com/mohamed-chs/convoviz/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/mohamed-chs/convoviz/ci.yml?style=for-the-badge&logo=github&label=CI" alt="CI Status"></a>
|
|
39
40
|
</p>
|
|
40
41
|
|
|
41
42
|
---
|
|
@@ -49,7 +50,7 @@ Description-Content-Type: text/markdown
|
|
|
49
50
|
| ☁️ **Word Clouds** | Visual breakdowns of your most-used words and phrases |
|
|
50
51
|
| 📈 **Usage Graphs** | Bar plots and charts showing your conversation patterns |
|
|
51
52
|
|
|
52
|
-
> 💡 **See examples in the [`demo/`](demo) folder!**
|
|
53
|
+
> 💡 **See examples in the [`demo/`](https://github.com/mohamed-chs/convoviz/tree/main/demo) folder!**
|
|
53
54
|
|
|
54
55
|
---
|
|
55
56
|
|
|
@@ -160,7 +161,7 @@ After running the script, head to your output folder to see:
|
|
|
160
161
|
- 📝 Neatly formatted Markdown files
|
|
161
162
|
- 📊 Visualizations and graphs
|
|
162
163
|
|
|
163
|
-

|
|
164
|
+

|
|
164
165
|
|
|
165
166
|
---
|
|
166
167
|
|
|
@@ -176,6 +177,12 @@ And if you've had a great experience, consider giving the project a ⭐ **star**
|
|
|
176
177
|
|
|
177
178
|
---
|
|
178
179
|
|
|
180
|
+
## 🤝 Contributing
|
|
181
|
+
|
|
182
|
+
Interested in contributing? Check out the **[Contributing Guide](https://github.com/mohamed-chs/convoviz/tree/main/CONTRIBUTING.md)** for development setup, code style, and how to submit a pull request.
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
179
186
|
## 📝 Notes
|
|
180
187
|
|
|
181
188
|
<details>
|
|
@@ -36,7 +36,7 @@ convoviz/assets/fonts/YsabeauSC-Regular.ttf,sha256=G4lkq34KKqZOaoomtxFz_KlwVmxg5
|
|
|
36
36
|
convoviz/assets/fonts/YsabeauSC-Thin.ttf,sha256=hZGOZNTRrxbiUPE2VDeLbtnaRwkMOBaVQbq7Fwx-34c,116932
|
|
37
37
|
convoviz/assets/fonts/Zeyada-Regular.ttf,sha256=fKhkrp9VHt_3Aw8JfkfkPeC2j3CilLWuPUudzBeawPQ,57468
|
|
38
38
|
convoviz/assets/stopwords.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
39
|
-
convoviz/cli.py,sha256=
|
|
39
|
+
convoviz/cli.py,sha256=nniH7QPbbH_buQJGa35vd3IEl7RvZsWRiLpUuhlxXaI,5314
|
|
40
40
|
convoviz/config.py,sha256=qo4JPkJRx1UgvVN_x-XmycxdjU9XwPlqoZWJLsDMSAs,3592
|
|
41
41
|
convoviz/exceptions.py,sha256=bQpIKls48uOQpagEJAxpXf5LF7QoagRRfbD0MjWC7Ak,1476
|
|
42
42
|
convoviz/interactive.py,sha256=Xq55VJJ4OQ9NlY4nlb2NRLzxmA5-ot521N8tGqyPix4,8691
|
|
@@ -56,7 +56,7 @@ convoviz/renderers/__init__.py,sha256=IQgwD9NqtUgbS9zwyPBNZbBIZcFrbZ9C7WMAV-X3Xd
|
|
|
56
56
|
convoviz/renderers/markdown.py,sha256=55PACkd-F0mmBXWXQ5SrfJr3UNrK_z2spQnePdk1UsQ,7849
|
|
57
57
|
convoviz/renderers/yaml.py,sha256=XG1s4VhDdx-TiqekTkgED87RZ1lVQ7IwrbA-sZHrs7k,4056
|
|
58
58
|
convoviz/utils.py,sha256=IQEKYHhWOnYxlr4GwAHoquG0BXTlVRkORL80oUSaIeQ,3417
|
|
59
|
-
convoviz-0.4.
|
|
60
|
-
convoviz-0.4.
|
|
61
|
-
convoviz-0.4.
|
|
62
|
-
convoviz-0.4.
|
|
59
|
+
convoviz-0.4.3.dist-info/WHEEL,sha256=fAguSjoiATBe7TNBkJwOjyL1Tt4wwiaQGtNtjRPNMQA,80
|
|
60
|
+
convoviz-0.4.3.dist-info/entry_points.txt,sha256=HYsmsw5vt36yYHB05uVU48AK2WLkcwshly7m7KKuZMY,54
|
|
61
|
+
convoviz-0.4.3.dist-info/METADATA,sha256=ymsURng5-kO-OhKy7VwWTuYqtcW7Z7_sOedQhYFxH6g,7301
|
|
62
|
+
convoviz-0.4.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|