line-markdown-parser 0.1.2__tar.gz → 0.1.4__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.
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/CHANGELOG.md +8 -0
- {line_markdown_parser-0.1.2/line_markdown_parser.egg-info → line_markdown_parser-0.1.4}/PKG-INFO +8 -6
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/README-ja.md +7 -5
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/README.md +7 -5
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/docs/spec.md +2 -2
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/line_markdown_parser/__init__.py +1 -1
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4/line_markdown_parser.egg-info}/PKG-INFO +8 -6
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/pyproject.toml +1 -1
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/LICENSE +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/MANIFEST.in +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/_build_backend.py +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/line_markdown_parser/_renderer.py +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/line_markdown_parser/converter.py +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/line_markdown_parser/py.typed +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/line_markdown_parser.egg-info/SOURCES.txt +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/line_markdown_parser.egg-info/dependency_links.txt +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/line_markdown_parser.egg-info/requires.txt +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/line_markdown_parser.egg-info/top_level.txt +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/setup.cfg +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.4 — 2026-10-18
|
|
4
|
+
|
|
5
|
+
- Clarify the conversion logic's use in a running LINE bot and integration guidance.
|
|
6
|
+
|
|
7
|
+
## 0.1.3 — 2026-10-18
|
|
8
|
+
|
|
9
|
+
- Fix documentation links in the PyPI project description.
|
|
10
|
+
|
|
3
11
|
## 0.1.2 — 2026-10-18
|
|
4
12
|
|
|
5
13
|
- Publish distributions to PyPI with Trusted Publishing and update installation instructions.
|
{line_markdown_parser-0.1.2/line_markdown_parser.egg-info → line_markdown_parser-0.1.4}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: line-markdown-parser
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Convert LLM Markdown into readable LINE Flex Messages without runtime dependencies.
|
|
5
5
|
Author: line-markdown-parser contributors
|
|
6
6
|
License-Expression: MIT
|
|
@@ -31,7 +31,9 @@ Dynamic: license-file
|
|
|
31
31
|
|
|
32
32
|
Convert LLM Markdown into readable LINE Flex Message dictionaries with no runtime dependencies.
|
|
33
33
|
|
|
34
|
-
[日本語](README-ja.md)
|
|
34
|
+
[日本語](https://github.com/darkgaldragon/line-markdown-parser/blob/main/README-ja.md)
|
|
35
|
+
|
|
36
|
+
The library builds on conversion logic refined through ongoing use in a LINE bot.
|
|
35
37
|
|
|
36
38
|
Headings, paragraphs, lists, quotes, code, and links receive a chat-friendly layout. Long output is split into separate messages. Sending remains the responsibility of your application.
|
|
37
39
|
|
|
@@ -78,7 +80,7 @@ All functions are exported from `line_markdown_parser`.
|
|
|
78
80
|
| `split_long_text` | Return Markdown chunks as a `list[str]`. |
|
|
79
81
|
| `estimate_flex_payload_size` | Measure the rendered bubble's compact UTF-8 JSON size. |
|
|
80
82
|
|
|
81
|
-
The converter defaults to 1,600 source characters and 28,000 rendered bytes per chunk. See the [API specification](docs/spec.md) for signatures, limits, alternative text, and error behavior.
|
|
83
|
+
The converter defaults to 1,600 source characters and 28,000 rendered bytes per chunk. See the [API specification](https://github.com/darkgaldragon/line-markdown-parser/blob/main/docs/spec.md) for signatures, limits, alternative text, and error behavior.
|
|
82
84
|
|
|
83
85
|
## Limitations
|
|
84
86
|
|
|
@@ -86,12 +88,12 @@ The converter defaults to 1,600 source characters and 28,000 rendered bytes per
|
|
|
86
88
|
- Images appear as labels and links, without fetching or embedding images.
|
|
87
89
|
- Only `http` and `https` links receive URI actions; destinations are not verified.
|
|
88
90
|
- Full CommonMark support, arbitrary nesting, and every code-fence style are outside the scope.
|
|
89
|
-
-
|
|
91
|
+
- When integrating, check the output with the [Flex Message Simulator](https://developers.line.biz/flex-simulator/) and your target LINE clients.
|
|
90
92
|
|
|
91
93
|
## Contributing
|
|
92
94
|
|
|
93
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for setup and checks, [SECURITY.md](SECURITY.md) for vulnerability reporting, and [CHANGELOG.md](CHANGELOG.md) for release history.
|
|
95
|
+
See [CONTRIBUTING.md](https://github.com/darkgaldragon/line-markdown-parser/blob/main/CONTRIBUTING.md) for setup and checks, [SECURITY.md](https://github.com/darkgaldragon/line-markdown-parser/blob/main/SECURITY.md) for vulnerability reporting, and [CHANGELOG.md](https://github.com/darkgaldragon/line-markdown-parser/blob/main/CHANGELOG.md) for release history.
|
|
94
96
|
|
|
95
97
|
## License
|
|
96
98
|
|
|
97
|
-
[MIT](LICENSE). This independent project is not an official LINE product.
|
|
99
|
+
[MIT](https://github.com/darkgaldragon/line-markdown-parser/blob/main/LICENSE). This independent project is not an official LINE product.
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
LLMが生成したMarkdownを、LINEで読みやすいFlex Messageの辞書に変換するPythonライブラリです。実行時の外部依存はありません。
|
|
4
4
|
|
|
5
|
-
[English](README.md)
|
|
5
|
+
[English](https://github.com/darkgaldragon/line-markdown-parser/blob/main/README.md)
|
|
6
|
+
|
|
7
|
+
LINE BOTでの実運用を通じて改善してきた変換処理をもとにしています。
|
|
6
8
|
|
|
7
9
|
見出し、段落、リスト、引用、コード、リンクをチャットに適したレイアウトに変換し、長文を複数メッセージに分割します。送信処理はアプリケーション側で実装してください。
|
|
8
10
|
|
|
@@ -49,7 +51,7 @@ print(json.dumps(messages, ensure_ascii=False, indent=2))
|
|
|
49
51
|
| `split_long_text` | 分割したMarkdownを `list[str]` で返す。 |
|
|
50
52
|
| `estimate_flex_payload_size` | 生成したbubbleをコンパクトなJSONにしたときのUTF-8バイト数を返す。 |
|
|
51
53
|
|
|
52
|
-
既定では、1チャンクあたり元テキスト1,600文字、bubbleのJSONサイズ28,000バイトを上限に分割します。引数、上限値、代替テキスト、エラー条件は[API仕様書](docs/spec.md)を参照してください。
|
|
54
|
+
既定では、1チャンクあたり元テキスト1,600文字、bubbleのJSONサイズ28,000バイトを上限に分割します。引数、上限値、代替テキスト、エラー条件は[API仕様書](https://github.com/darkgaldragon/line-markdown-parser/blob/main/docs/spec.md)を参照してください。
|
|
53
55
|
|
|
54
56
|
## 制約
|
|
55
57
|
|
|
@@ -57,12 +59,12 @@ print(json.dumps(messages, ensure_ascii=False, indent=2))
|
|
|
57
59
|
- 画像はラベルとリンクで表示し、取得や埋め込みは行いません。
|
|
58
60
|
- URIアクションは `http` と `https` のみに対応します。リンク先の検証は行いません。
|
|
59
61
|
- 完全なCommonMark互換と任意のネストには対応していません。コードフェンスもすべての形式に対応しているわけではありません。
|
|
60
|
-
-
|
|
62
|
+
- 導入時は、[Flex Message Simulator](https://developers.line.biz/flex-simulator/)と利用するLINEアプリで表示を確認してください。
|
|
61
63
|
|
|
62
64
|
## 開発への参加
|
|
63
65
|
|
|
64
|
-
開発環境と確認コマンドは [CONTRIBUTING.md](CONTRIBUTING.md)、脆弱性報告は [SECURITY.md](SECURITY.md)、変更履歴は [CHANGELOG.md](CHANGELOG.md) を参照してください。
|
|
66
|
+
開発環境と確認コマンドは [CONTRIBUTING.md](https://github.com/darkgaldragon/line-markdown-parser/blob/main/CONTRIBUTING.md)、脆弱性報告は [SECURITY.md](https://github.com/darkgaldragon/line-markdown-parser/blob/main/SECURITY.md)、変更履歴は [CHANGELOG.md](https://github.com/darkgaldragon/line-markdown-parser/blob/main/CHANGELOG.md) を参照してください。
|
|
65
67
|
|
|
66
68
|
## ライセンス
|
|
67
69
|
|
|
68
|
-
[MIT](LICENSE)。本プロジェクトは独立したOSSであり、LINEの公式製品ではありません。
|
|
70
|
+
[MIT](https://github.com/darkgaldragon/line-markdown-parser/blob/main/LICENSE)。本プロジェクトは独立したOSSであり、LINEの公式製品ではありません。
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Convert LLM Markdown into readable LINE Flex Message dictionaries with no runtime dependencies.
|
|
4
4
|
|
|
5
|
-
[日本語](README-ja.md)
|
|
5
|
+
[日本語](https://github.com/darkgaldragon/line-markdown-parser/blob/main/README-ja.md)
|
|
6
|
+
|
|
7
|
+
The library builds on conversion logic refined through ongoing use in a LINE bot.
|
|
6
8
|
|
|
7
9
|
Headings, paragraphs, lists, quotes, code, and links receive a chat-friendly layout. Long output is split into separate messages. Sending remains the responsibility of your application.
|
|
8
10
|
|
|
@@ -49,7 +51,7 @@ All functions are exported from `line_markdown_parser`.
|
|
|
49
51
|
| `split_long_text` | Return Markdown chunks as a `list[str]`. |
|
|
50
52
|
| `estimate_flex_payload_size` | Measure the rendered bubble's compact UTF-8 JSON size. |
|
|
51
53
|
|
|
52
|
-
The converter defaults to 1,600 source characters and 28,000 rendered bytes per chunk. See the [API specification](docs/spec.md) for signatures, limits, alternative text, and error behavior.
|
|
54
|
+
The converter defaults to 1,600 source characters and 28,000 rendered bytes per chunk. See the [API specification](https://github.com/darkgaldragon/line-markdown-parser/blob/main/docs/spec.md) for signatures, limits, alternative text, and error behavior.
|
|
53
55
|
|
|
54
56
|
## Limitations
|
|
55
57
|
|
|
@@ -57,12 +59,12 @@ The converter defaults to 1,600 source characters and 28,000 rendered bytes per
|
|
|
57
59
|
- Images appear as labels and links, without fetching or embedding images.
|
|
58
60
|
- Only `http` and `https` links receive URI actions; destinations are not verified.
|
|
59
61
|
- Full CommonMark support, arbitrary nesting, and every code-fence style are outside the scope.
|
|
60
|
-
-
|
|
62
|
+
- When integrating, check the output with the [Flex Message Simulator](https://developers.line.biz/flex-simulator/) and your target LINE clients.
|
|
61
63
|
|
|
62
64
|
## Contributing
|
|
63
65
|
|
|
64
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for setup and checks, [SECURITY.md](SECURITY.md) for vulnerability reporting, and [CHANGELOG.md](CHANGELOG.md) for release history.
|
|
66
|
+
See [CONTRIBUTING.md](https://github.com/darkgaldragon/line-markdown-parser/blob/main/CONTRIBUTING.md) for setup and checks, [SECURITY.md](https://github.com/darkgaldragon/line-markdown-parser/blob/main/SECURITY.md) for vulnerability reporting, and [CHANGELOG.md](https://github.com/darkgaldragon/line-markdown-parser/blob/main/CHANGELOG.md) for release history.
|
|
65
67
|
|
|
66
68
|
## License
|
|
67
69
|
|
|
68
|
-
[MIT](LICENSE). This independent project is not an official LINE product.
|
|
70
|
+
[MIT](https://github.com/darkgaldragon/line-markdown-parser/blob/main/LICENSE). This independent project is not an official LINE product.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# API specification
|
|
2
2
|
|
|
3
|
-
`line-markdown-parser` converts Markdown strings into LINE Flex Message dictionaries without runtime dependencies or network requests. The API below applies to version 0.1.
|
|
3
|
+
`line-markdown-parser` converts Markdown strings into LINE Flex Message dictionaries without runtime dependencies or network requests. The API below applies to version 0.1.4.
|
|
4
4
|
|
|
5
5
|
## Functions
|
|
6
6
|
|
|
@@ -72,4 +72,4 @@ Only `http` and `https` receive [URI actions](https://developers.line.biz/en/ref
|
|
|
72
72
|
|
|
73
73
|
The converter returns all messages without sending or truncating them. LINE [reply](https://developers.line.biz/en/reference/messaging-api/#send-reply-message) and [push](https://developers.line.biz/en/reference/messaging-api/#send-push-message) requests accept at most five messages. Applications handle batching, reply-token restrictions, authentication, recipients, and retries.
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
Validate integrations using the [Flex Message Simulator](https://developers.line.biz/flex-simulator/), [message validation endpoints](https://developers.line.biz/en/reference/messaging-api/#message-objects), and target LINE clients.
|
{line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4/line_markdown_parser.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: line-markdown-parser
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Convert LLM Markdown into readable LINE Flex Messages without runtime dependencies.
|
|
5
5
|
Author: line-markdown-parser contributors
|
|
6
6
|
License-Expression: MIT
|
|
@@ -31,7 +31,9 @@ Dynamic: license-file
|
|
|
31
31
|
|
|
32
32
|
Convert LLM Markdown into readable LINE Flex Message dictionaries with no runtime dependencies.
|
|
33
33
|
|
|
34
|
-
[日本語](README-ja.md)
|
|
34
|
+
[日本語](https://github.com/darkgaldragon/line-markdown-parser/blob/main/README-ja.md)
|
|
35
|
+
|
|
36
|
+
The library builds on conversion logic refined through ongoing use in a LINE bot.
|
|
35
37
|
|
|
36
38
|
Headings, paragraphs, lists, quotes, code, and links receive a chat-friendly layout. Long output is split into separate messages. Sending remains the responsibility of your application.
|
|
37
39
|
|
|
@@ -78,7 +80,7 @@ All functions are exported from `line_markdown_parser`.
|
|
|
78
80
|
| `split_long_text` | Return Markdown chunks as a `list[str]`. |
|
|
79
81
|
| `estimate_flex_payload_size` | Measure the rendered bubble's compact UTF-8 JSON size. |
|
|
80
82
|
|
|
81
|
-
The converter defaults to 1,600 source characters and 28,000 rendered bytes per chunk. See the [API specification](docs/spec.md) for signatures, limits, alternative text, and error behavior.
|
|
83
|
+
The converter defaults to 1,600 source characters and 28,000 rendered bytes per chunk. See the [API specification](https://github.com/darkgaldragon/line-markdown-parser/blob/main/docs/spec.md) for signatures, limits, alternative text, and error behavior.
|
|
82
84
|
|
|
83
85
|
## Limitations
|
|
84
86
|
|
|
@@ -86,12 +88,12 @@ The converter defaults to 1,600 source characters and 28,000 rendered bytes per
|
|
|
86
88
|
- Images appear as labels and links, without fetching or embedding images.
|
|
87
89
|
- Only `http` and `https` links receive URI actions; destinations are not verified.
|
|
88
90
|
- Full CommonMark support, arbitrary nesting, and every code-fence style are outside the scope.
|
|
89
|
-
-
|
|
91
|
+
- When integrating, check the output with the [Flex Message Simulator](https://developers.line.biz/flex-simulator/) and your target LINE clients.
|
|
90
92
|
|
|
91
93
|
## Contributing
|
|
92
94
|
|
|
93
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for setup and checks, [SECURITY.md](SECURITY.md) for vulnerability reporting, and [CHANGELOG.md](CHANGELOG.md) for release history.
|
|
95
|
+
See [CONTRIBUTING.md](https://github.com/darkgaldragon/line-markdown-parser/blob/main/CONTRIBUTING.md) for setup and checks, [SECURITY.md](https://github.com/darkgaldragon/line-markdown-parser/blob/main/SECURITY.md) for vulnerability reporting, and [CHANGELOG.md](https://github.com/darkgaldragon/line-markdown-parser/blob/main/CHANGELOG.md) for release history.
|
|
94
96
|
|
|
95
97
|
## License
|
|
96
98
|
|
|
97
|
-
[MIT](LICENSE). This independent project is not an official LINE product.
|
|
99
|
+
[MIT](https://github.com/darkgaldragon/line-markdown-parser/blob/main/LICENSE). This independent project is not an official LINE product.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/line_markdown_parser.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{line_markdown_parser-0.1.2 → line_markdown_parser-0.1.4}/line_markdown_parser.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|