minicpmo-utils
一个统一安装的工具包(一个 PyPI 分发包),把仓库里的 cosyvoice 与 stepaudio2 一起打进同一个 wheel,并预留 minicpmo 作为后续扩展 utils 的统一入口。
安装方式
- 从源码本地安装(开发态,可编辑,默认只装公共依赖):
cd minicpmo-utils
pip install -e .
- 如果只想安装 cosyvoice 相关依赖(TTS):
pip install -e .[tts]
- 如果只想安装 stepaudio2 / streaming 相关依赖:
pip install -e .[streaming]
- 同时安装 cosyvoice + stepaudio2 相关依赖:
pip install -e .[tts,streaming]
- 构建并安装 wheel(推荐分发):
cd minicpmo-utils
python -m build # 生成 dist/*.whl
pip install \"dist/minicpmo_utils-0.1.0-py3-none-any.whl[tts,streaming]\"
导入方式
包会暴露以下顶层模块,安装后可直接使用:
import cosyvoiceimport stepaudio2import matchaimport minicpmo
也支持通过统一入口导入子包:
from minicpmo import cosyvoice, stepaudio2, matcha
以及通过统一的 utils 入口使用通用工具函数,例如:
from minicpmo.utils import get_video_frame_audio_segments
Metadata
Release files for minicpmo 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| minicpmo-0.1.2.tar.gz | 819.5 kB | Without provenance | Details for minicpmo-0.1.2.tar.gz |
Release files / minicpmo-0.1.2.tar.gz
| Download URL | minicpmo-0.1.2.tar.gz |
|---|---|
| Size | 819.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a6a5a0fd1dc49a0b0e6f98057b7849fddf1b7569b96fdebb5e272503fb256b6
|
|
BLAKE2b-256 checksum How to use checksums |
2f830d8768a2cd82041ee4babb6a3fcbdf47b7de23554a26744588cec2018922
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.13
|
Security for minicpmo 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.