Metadata-Version: 2.4
Name: clipsai-jp
Version: 1.0.4
Summary: Clips AIは、長い動画を自動的にクリップに変換するオープンソースのPythonライブラリです（日本語専用版）
Home-page: https://enprocode.com/
Author: Enpro
Author-email: support@enprocode.com
License: MIT
Project-URL: Documentation, https://docs.clipsai.com/
Project-URL: Homepage, https://clipsai.com/
Project-URL: Repository, https://github.com/enprocode/clipsai-jp
Project-URL: Issues, https://github.com/enprocode/clipsai-jp/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy<2.1.0,>=1.24.0
Requires-Dist: faster-whisper<2.0.0,>=1.0.0
Requires-Dist: torch<2.9.0,>=2.0.0
Requires-Dist: torchaudio<2.9.0,>=2.0.0
Requires-Dist: av<17.0.0,>=11.0.0
Requires-Dist: opencv-python<5.0.0,>=4.5.0
Requires-Dist: scenedetect<0.7.0,>=0.6.5
Requires-Dist: sentence-transformers<6.0.0,>=3.0.0
Requires-Dist: scikit-learn<2.0.0,>=1.3.0
Requires-Dist: pyannote.audio<5.0.0,>=3.3.0
Requires-Dist: pyannote.core<7.0.0,>=5.0.0
Requires-Dist: mediapipe==0.10.20
Requires-Dist: nltk<4.0.0,>=3.8.0
Requires-Dist: psutil<8.0.0,>=5.9.0
Requires-Dist: python-magic<0.5.0,>=0.4.20
Requires-Dist: scipy<2.0.0,>=1.9.0
Requires-Dist: google-genai>=1.0.0
Provides-Extra: mecab
Requires-Dist: mecab>=0.996.0; extra == "mecab"
Provides-Extra: gpu
Requires-Dist: pynvml<14.0.0,>=11.0.0; extra == "gpu"
Provides-Extra: dev
Requires-Dist: black; extra == "dev"
Requires-Dist: black[jupyter]; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Requires-Dist: ipykernel; extra == "dev"
Requires-Dist: pytest<9.0.0,>=7.0.0; extra == "dev"
Requires-Dist: pandas<3.0.0,>=2.0.0; extra == "dev"
Requires-Dist: matplotlib<4.0.0,>=3.8.0; extra == "dev"
Requires-Dist: twine; extra == "dev"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# ClipsAI-JP

[![PyPI version](https://badge.fury.io/py/clipsai-jp.svg)](https://badge.fury.io/py/clipsai-jp)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

> **注意:** このパッケージは[ClipsAI](https://github.com/ClipsAI/clipsai)の日本語専用フォーク版です。`whisperx`を`faster-whisper`に置き換え、依存関係の問題を解決しています。

## クイックスタート

Clips AIは、長い動画を自動的にクリップに変換するオープンソースのPythonライブラリです。数行のコードで、動画を複数のクリップに分割し、アスペクト比を16:9から9:16にリサイズできます。

> **注意:** Clips AIは、ポッドキャスト、インタビュー、スピーチ、説教などの音声中心のナラティブ動画向けに設計されています。

完全なドキュメントについては、[Clips AI Documentation](https://clipsai.com)をご覧ください。

### インストール

**前提条件:**
- Python >= 3.9
- [libmagic](https://github.com/ahupp/python-magic?tab=readme-ov-file#debianubuntu)（Windows: `pip install python-magic-bin`、Mac: `brew install libmagic`）
- [ffmpeg](https://github.com/kkroening/ffmpeg-python/tree/master?tab=readme-ov-file#installing-ffmpeg)（Windows: [ffmpeg.org](https://ffmpeg.org/download.html)からダウンロード、Mac: `brew install ffmpeg`）

**推奨:** 依存関係の競合を避けるため、仮想環境（[venv](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#create-and-use-virtual-environments)など）の使用を強く推奨します。

```bash
pip install clipsai-jp
```

**オプショナル依存関係:**
- MeCab（日本語の文分割精度向上のため推奨）: `pip install clipsai-jp[mecab]`
  - MeCabがインストールされていない場合、自動的にNLTKにフォールバックします
  - MeCab本体も含まれており、Windows、Mac、Linuxすべてで`pip install`のみで使用可能
  - 公式サイト: https://pypi.org/project/mecab/
- GPUメモリ監視: `pip install clipsai-jp[gpu]`
- 開発・テスト用: `pip install clipsai-jp[dev]`

## ドキュメント

使用方法、サンプルコード、パラメータ設定などの詳細については、[`doc/SAMPLE_CODE.md`](doc/SAMPLE_CODE.md)を参照してください。
