chatgpt-md-converter 0.1.0__py3-none-any.whl → 0.1.1__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.
- chatgpt_md_converter/__init__.py +3 -0
- {chatgpt_md_converter-0.1.0.dist-info → chatgpt_md_converter-0.1.1.dist-info}/METADATA +11 -1
- {chatgpt_md_converter-0.1.0.dist-info → chatgpt_md_converter-0.1.1.dist-info}/RECORD +6 -6
- {chatgpt_md_converter-0.1.0.dist-info → chatgpt_md_converter-0.1.1.dist-info}/LICENSE +0 -0
- {chatgpt_md_converter-0.1.0.dist-info → chatgpt_md_converter-0.1.1.dist-info}/WHEEL +0 -0
- {chatgpt_md_converter-0.1.0.dist-info → chatgpt_md_converter-0.1.1.dist-info}/top_level.txt +0 -0
chatgpt_md_converter/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: chatgpt_md_converter
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: A package for converting markdown to HTML for chat Telegram bots
|
|
5
5
|
Home-page: https://github.com/Latand/formatter-chatgpt-telegram
|
|
6
6
|
Author: Kostiantyn Kriuchkov
|
|
@@ -42,9 +42,19 @@ To use the Markdown to Telegram HTML Parser in your ChatGPT bot, integrate the p
|
|
|
42
42
|
|
|
43
43
|
Simply call the `telegram_format(text: str) -> str` function with your Markdown-formatted text as input to receive the converted HTML output ready for use with the Telegram Bot API.
|
|
44
44
|
|
|
45
|
+
## Installation
|
|
46
|
+
|
|
47
|
+
You can install the package using pip:
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
pip install chatgpt-md-converter
|
|
51
|
+
```
|
|
52
|
+
|
|
45
53
|
## Example
|
|
46
54
|
|
|
47
55
|
```python
|
|
56
|
+
from chatgpt_md_converter import telegram_format
|
|
57
|
+
|
|
48
58
|
formatted_text = telegram_format("Here is some **bold**, __underline__, and `inline code`.\n```python\nprint('Hello, world!')\n```")
|
|
49
59
|
print(formatted_text)
|
|
50
60
|
```
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
chatgpt_md_converter/__init__.py,sha256=
|
|
1
|
+
chatgpt_md_converter/__init__.py,sha256=AfkikySkXsJ8HKQcSlU7B1KBHz54QCGJ7MO5Ka9oWRM,79
|
|
2
2
|
chatgpt_md_converter/converters.py,sha256=-SbsAiMetDZVkC7PrEQrrKlpoagnUycCL1WNBozd7u0,635
|
|
3
3
|
chatgpt_md_converter/extractors.py,sha256=RNwo57_6jCe-HoX5eCvvZcjSTc2uPax-6QEtXqXA5QQ,1880
|
|
4
4
|
chatgpt_md_converter/formatters.py,sha256=T85JwXI7t3PpqAHvkV7FFrmBar6pYRYLVLpET0TeRp0,856
|
|
5
5
|
chatgpt_md_converter/helpers.py,sha256=9CtBeMzKYrymECNPl0MXsW0Vscp4A02a64a5z0sVWqE,261
|
|
6
6
|
chatgpt_md_converter/telegram_formatter.py,sha256=3TrQpuVm1P4Qv1ZMrcBwD7sA2GI-yCDGuTUwUZSlw3E,1896
|
|
7
|
-
chatgpt_md_converter-0.1.
|
|
8
|
-
chatgpt_md_converter-0.1.
|
|
9
|
-
chatgpt_md_converter-0.1.
|
|
10
|
-
chatgpt_md_converter-0.1.
|
|
11
|
-
chatgpt_md_converter-0.1.
|
|
7
|
+
chatgpt_md_converter-0.1.1.dist-info/LICENSE,sha256=SDr2jeP-s2g4vf17-jdLXrrqA4_mU7L_RtSJlv4Y2mk,1077
|
|
8
|
+
chatgpt_md_converter-0.1.1.dist-info/METADATA,sha256=635E9EVpEVMP1fpbPAuDl0x_Y9cu3Ye5WfnwdjnWeYc,3086
|
|
9
|
+
chatgpt_md_converter-0.1.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
10
|
+
chatgpt_md_converter-0.1.1.dist-info/top_level.txt,sha256=T2o7csVtZgr-Pwm83aSUkZn0humJmDFNqW38tRSsNqw,21
|
|
11
|
+
chatgpt_md_converter-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|