Skip to main content

transcript

本地 whisper.cpp(pywhispercpp)转写:CLI + 薄 HTTP。

PyPI 发行名 memshare-transcript;导入仍是 import transcript。

pip install memshare-transcript
transcript-serve   # 默认端口 51025

依赖

  • Python >= 3.12
  • uv
  • 系统 ffmpeg / ffprobe(真实转写需要)
uv sync

CLI

uv run transcript samples/ja_test.mp3 --model tiny --language ja

HTTP(端口写死 51025)

# 联调默认 mock,不下载 ggml
TRANSCRIPT_MOCK=1 uv run transcript-serve
端点 说明
GET /health { status, mock }
POST /transcribe multipart file + form language / model / chunk_sec
POST /detect-language multipart file;mock 固定返回 ja

真实模式默认模型(与原 caption 一致):

$HOME/.cache/whisper-cpp/models/ggml-large-v3-turbo.bin

TRANSCRIPT_MOCK=0 uv run transcript-serve

PM2(从 memshare 仓)

cd ../memshare
pm2 start ecosystem.config.cjs --only memshare-transcript
pm2 logs memshare-transcript

健康检查:curl -s http://127.0.0.1:51025/health

Docker

docker build -t memshare-transcript .
docker run --rm -p 51025:51025 -e TRANSCRIPT_MOCK=1 memshare-transcript

Metadata

Release files for memshare-transcript 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for memshare-transcript 0.1.0
File Size Uploaded Provenance Actions
memshare_transcript-0.1.0.tar.gz 6.0 kB With provenance Details for memshare_transcript-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for memshare-transcript 0.1.0
File Interpreter ABI Platform Actions
memshare_transcript-0.1.0-py3-none-any.whl Python 3 none any Details for memshare_transcript-0.1.0-py3-none-any.whl

Total release size: 13.2 kB

Release files / memshare_transcript-0.1.0.tar.gz

Download URL memshare_transcript-0.1.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cfea5a404b57c69a256ac9a746c4f5993f9c59f288e04f8623e8575ddf50c627
BLAKE2b-256 checksum
How to use checksums
dc32fbc5cd91ace1cedc299a87a5f9d2ffe929d9a6ce1f42cb68f1c630bc8948
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / memshare_transcript-0.1.0-py3-none-any.whl

Download URL memshare_transcript-0.1.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07fc70853f29cbdc45a60a7250ba913834310922937d25f5f09672a53f6f229d
BLAKE2b-256 checksum
How to use checksums
70af71a7fefd4bd06bacfb2edba97a9fd866c939b24b4d398493b8f18a4976ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for memshare-transcript 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for memshare_transcript-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page