マークダウンファイルを各種公開プラットフォーム用に変換するツール
Project description
Content-Converter
テキストファイルを指定されたプロンプトとテンプレートに基づいて変換するツールです。
概要
Content-Converterは、LLMを活用して、入力テキストを指定されたプロンプトとテンプレートに基づいて変換します。CI/CDパイプラインから呼び出せる形式で提供され、自動化された変換処理を可能にします。
主な機能
- テキストファイルの変換処理
- プロンプトベースの変換制御
- テンプレートベースの出力形式定義
- 複数LLMプロバイダー対応
- カスタムプロンプト機能
- 任意のテキスト形式に対応
ドキュメント
サポートされているLLMプロバイダー
サポートされているLLMプロバイダーとその設定方法については、LLMプロバイダー一覧を参照してください。
使用方法
content-converter --input article.md --template template.md --output converted.md
詳細な使用方法や設定については、仕様書を参照してください。
出力形式
- 任意のテキスト形式に対応
- テンプレートベースの出力形式定義
- 入力と同形式の出力をサポート
- 環境変数またはコマンドライン引数でのAPIキー指定(詳細)
依存関係
必須依存パッケージ:
- pyyaml>=6.0
- python-frontmatter>=1.0.0
- requests>=2.28.0
- python-dotenv>=1.0.0
- markdown>=3.4.0
- pydantic>=2.5.2
ライセンス
MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
content_converter-1.0.1.tar.gz
(24.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file content_converter-1.0.1.tar.gz.
File metadata
- Download URL: content_converter-1.0.1.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6513bbb39ff8d7cd029ca5687b816c0a17c1d59c18740be651622bcb2711259a
|
|
| MD5 |
6de47500a119479122e8000d47a67a5e
|
|
| BLAKE2b-256 |
a7c5cea36f3ea6e41e35967c5731cf2ffa55117213b04cfcc601f8b7f74c8439
|
File details
Details for the file content_converter-1.0.1-py3-none-any.whl.
File metadata
- Download URL: content_converter-1.0.1-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da4f3c188edeed1a2212bbeebb0f46bc4848cfc49ea8bdba26bb31c396c3d971
|
|
| MD5 |
40a0ed5b41debf4578e5cfe8cb2b3d9e
|
|
| BLAKE2b-256 |
332204cf3b88ef581778817fc6d29f76a96ea5cf93c792e83ca8ae070e187849
|