line-markdown-parser 0.1.2__tar.gz → 0.1.3__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.3}/CHANGELOG.md +4 -0
- {line_markdown_parser-0.1.2/line_markdown_parser.egg-info → line_markdown_parser-0.1.3}/PKG-INFO +5 -5
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/README-ja.md +4 -4
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/README.md +4 -4
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/docs/spec.md +2 -2
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/line_markdown_parser/__init__.py +1 -1
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3/line_markdown_parser.egg-info}/PKG-INFO +5 -5
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/pyproject.toml +1 -1
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/LICENSE +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/MANIFEST.in +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/_build_backend.py +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/line_markdown_parser/_renderer.py +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/line_markdown_parser/converter.py +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/line_markdown_parser/py.typed +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/line_markdown_parser.egg-info/SOURCES.txt +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/line_markdown_parser.egg-info/dependency_links.txt +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/line_markdown_parser.egg-info/requires.txt +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/line_markdown_parser.egg-info/top_level.txt +0 -0
- {line_markdown_parser-0.1.2 → line_markdown_parser-0.1.3}/setup.cfg +0 -0
{line_markdown_parser-0.1.2/line_markdown_parser.egg-info → line_markdown_parser-0.1.3}/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.3
|
|
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,7 @@ 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
35
|
|
|
36
36
|
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
37
|
|
|
@@ -78,7 +78,7 @@ All functions are exported from `line_markdown_parser`.
|
|
|
78
78
|
| `split_long_text` | Return Markdown chunks as a `list[str]`. |
|
|
79
79
|
| `estimate_flex_payload_size` | Measure the rendered bubble's compact UTF-8 JSON size. |
|
|
80
80
|
|
|
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.
|
|
81
|
+
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
82
|
|
|
83
83
|
## Limitations
|
|
84
84
|
|
|
@@ -90,8 +90,8 @@ The converter defaults to 1,600 source characters and 28,000 rendered bytes per
|
|
|
90
90
|
|
|
91
91
|
## Contributing
|
|
92
92
|
|
|
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.
|
|
93
|
+
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
94
|
|
|
95
95
|
## License
|
|
96
96
|
|
|
97
|
-
[MIT](LICENSE). This independent project is not an official LINE product.
|
|
97
|
+
[MIT](https://github.com/darkgaldragon/line-markdown-parser/blob/main/LICENSE). This independent project is not an official LINE product.
|
|
@@ -2,7 +2,7 @@
|
|
|
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
6
|
|
|
7
7
|
見出し、段落、リスト、引用、コード、リンクをチャットに適したレイアウトに変換し、長文を複数メッセージに分割します。送信処理はアプリケーション側で実装してください。
|
|
8
8
|
|
|
@@ -49,7 +49,7 @@ print(json.dumps(messages, ensure_ascii=False, indent=2))
|
|
|
49
49
|
| `split_long_text` | 分割したMarkdownを `list[str]` で返す。 |
|
|
50
50
|
| `estimate_flex_payload_size` | 生成したbubbleをコンパクトなJSONにしたときのUTF-8バイト数を返す。 |
|
|
51
51
|
|
|
52
|
-
既定では、1チャンクあたり元テキスト1,600文字、bubbleのJSONサイズ28,000バイトを上限に分割します。引数、上限値、代替テキスト、エラー条件は[API仕様書](docs/spec.md)を参照してください。
|
|
52
|
+
既定では、1チャンクあたり元テキスト1,600文字、bubbleのJSONサイズ28,000バイトを上限に分割します。引数、上限値、代替テキスト、エラー条件は[API仕様書](https://github.com/darkgaldragon/line-markdown-parser/blob/main/docs/spec.md)を参照してください。
|
|
53
53
|
|
|
54
54
|
## 制約
|
|
55
55
|
|
|
@@ -61,8 +61,8 @@ print(json.dumps(messages, ensure_ascii=False, indent=2))
|
|
|
61
61
|
|
|
62
62
|
## 開発への参加
|
|
63
63
|
|
|
64
|
-
開発環境と確認コマンドは [CONTRIBUTING.md](CONTRIBUTING.md)、脆弱性報告は [SECURITY.md](SECURITY.md)、変更履歴は [CHANGELOG.md](CHANGELOG.md) を参照してください。
|
|
64
|
+
開発環境と確認コマンドは [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
65
|
|
|
66
66
|
## ライセンス
|
|
67
67
|
|
|
68
|
-
[MIT](LICENSE)。本プロジェクトは独立したOSSであり、LINEの公式製品ではありません。
|
|
68
|
+
[MIT](https://github.com/darkgaldragon/line-markdown-parser/blob/main/LICENSE)。本プロジェクトは独立したOSSであり、LINEの公式製品ではありません。
|
|
@@ -2,7 +2,7 @@
|
|
|
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
6
|
|
|
7
7
|
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
8
|
|
|
@@ -49,7 +49,7 @@ All functions are exported from `line_markdown_parser`.
|
|
|
49
49
|
| `split_long_text` | Return Markdown chunks as a `list[str]`. |
|
|
50
50
|
| `estimate_flex_payload_size` | Measure the rendered bubble's compact UTF-8 JSON size. |
|
|
51
51
|
|
|
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.
|
|
52
|
+
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
53
|
|
|
54
54
|
## Limitations
|
|
55
55
|
|
|
@@ -61,8 +61,8 @@ The converter defaults to 1,600 source characters and 28,000 rendered bytes per
|
|
|
61
61
|
|
|
62
62
|
## Contributing
|
|
63
63
|
|
|
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.
|
|
64
|
+
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
65
|
|
|
66
66
|
## License
|
|
67
67
|
|
|
68
|
-
[MIT](LICENSE). This independent project is not an official LINE product.
|
|
68
|
+
[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.3.
|
|
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
|
-
Version 0.1.
|
|
75
|
+
Version 0.1.3 is covered by automated tests; live LINE delivery and client rendering have not been verified. 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.3/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.3
|
|
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,7 @@ 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
35
|
|
|
36
36
|
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
37
|
|
|
@@ -78,7 +78,7 @@ All functions are exported from `line_markdown_parser`.
|
|
|
78
78
|
| `split_long_text` | Return Markdown chunks as a `list[str]`. |
|
|
79
79
|
| `estimate_flex_payload_size` | Measure the rendered bubble's compact UTF-8 JSON size. |
|
|
80
80
|
|
|
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.
|
|
81
|
+
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
82
|
|
|
83
83
|
## Limitations
|
|
84
84
|
|
|
@@ -90,8 +90,8 @@ The converter defaults to 1,600 source characters and 28,000 rendered bytes per
|
|
|
90
90
|
|
|
91
91
|
## Contributing
|
|
92
92
|
|
|
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.
|
|
93
|
+
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
94
|
|
|
95
95
|
## License
|
|
96
96
|
|
|
97
|
-
[MIT](LICENSE). This independent project is not an official LINE product.
|
|
97
|
+
[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.3}/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.3}/line_markdown_parser.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|