マークダウンファイルを各種公開プラットフォーム用に変換するツール
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-0.1.0.tar.gz
(24.7 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-0.1.0.tar.gz.
File metadata
- Download URL: content_converter-0.1.0.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00699187c763f3a206709d3ada0ff9e681894bf170cae66c5517e8ea73dfda3c
|
|
| MD5 |
82bed84177f9419740c3657e8123cf16
|
|
| BLAKE2b-256 |
a05cb6c80943c2f01873eed7f4229be9eb5f1ef676e4a9fadd295d86eb92cf6f
|
File details
Details for the file content_converter-0.1.0-py3-none-any.whl.
File metadata
- Download URL: content_converter-0.1.0-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 |
2a8aa0bd3cd073afff64c90460f6678784ee4c29cbf77e8134bcf080f5f707c1
|
|
| MD5 |
3eb0691d077974193039cf0de087e9b3
|
|
| BLAKE2b-256 |
dc4c99a03b4927554ccf0372fc640c70735d3b935dd71c45744a001a3faf2b6e
|