transcribe-cpp 0.0.7__tar.gz → 0.0.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/PKG-INFO +3 -3
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/pyproject.toml +3 -3
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/src/transcribe_cpp/__init__.py +4 -4
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/.gitignore +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/LICENSE +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/README.md +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/_generate/README.md +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/_generate/check_version_sync.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/_generate/generate.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/examples/stream_wav.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/examples/transcribe_wav.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/src/transcribe_cpp/_abi.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/src/transcribe_cpp/_generated.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/src/transcribe_cpp/_library.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/src/transcribe_cpp/errors.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/src/transcribe_cpp/py.typed +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/tests/conftest.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/tests/test_abi.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/tests/test_backends.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/tests/test_device_select.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/tests/test_errors.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/tests/test_example.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/tests/test_family_ext.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/tests/test_lifetime.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/tests/test_pcm.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/tests/test_provider_discovery.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/tests/test_streaming.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/tests/test_transcribe.py +0 -0
- {transcribe_cpp-0.0.7 → transcribe_cpp-0.0.9}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: transcribe-cpp
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.9
|
|
4
4
|
Summary: Python bindings for transcribe.cpp
|
|
5
5
|
Project-URL: Homepage, https://github.com/handy-computer/transcribe.cpp
|
|
6
6
|
Project-URL: Repository, https://github.com/handy-computer/transcribe.cpp
|
|
@@ -21,9 +21,9 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
21
21
|
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
|
|
22
22
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
23
23
|
Requires-Python: >=3.9
|
|
24
|
-
Requires-Dist: transcribe-cpp-native==0.0.
|
|
24
|
+
Requires-Dist: transcribe-cpp-native==0.0.9.*
|
|
25
25
|
Provides-Extra: cu12
|
|
26
|
-
Requires-Dist: transcribe-cpp-native-cu12==0.0.
|
|
26
|
+
Requires-Dist: transcribe-cpp-native-cu12==0.0.9.*; extra == 'cu12'
|
|
27
27
|
Provides-Extra: test
|
|
28
28
|
Requires-Dist: numpy; extra == 'test'
|
|
29
29
|
Requires-Dist: pytest>=7; extra == 'test'
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "transcribe-cpp"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.9"
|
|
8
8
|
description = "Python bindings for transcribe.cpp"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
# 3.8 is EOL (2024-10); 3.9 is the floor. The binding is ctypes-only, so there
|
|
@@ -34,13 +34,13 @@ classifiers = [
|
|
|
34
34
|
# packaging fix still resolves); the import-time version/header-hash check in
|
|
35
35
|
# _library.py is the runtime backstop. check_version_sync.py gates this pin
|
|
36
36
|
# against include/transcribe.h.
|
|
37
|
-
dependencies = ["transcribe-cpp-native==0.0.
|
|
37
|
+
dependencies = ["transcribe-cpp-native==0.0.9.*"]
|
|
38
38
|
|
|
39
39
|
[project.optional-dependencies]
|
|
40
40
|
# Opt-in accelerator providers — ADDITIVE: they install alongside the default
|
|
41
41
|
# provider and the best one wins at runtime. Same base-version pin contract
|
|
42
42
|
# as the hard dependency (gated by check_version_sync.py).
|
|
43
|
-
cu12 = ["transcribe-cpp-native-cu12==0.0.
|
|
43
|
+
cu12 = ["transcribe-cpp-native-cu12==0.0.9.*"]
|
|
44
44
|
# Test-only deps. Run with: uv run --extra test pytest (from bindings/python).
|
|
45
45
|
# numpy is here so the numpy PCM-input tests run in every lane instead of
|
|
46
46
|
# silently skipping wherever numpy happens to be absent.
|
|
@@ -46,7 +46,7 @@ from .errors import (
|
|
|
46
46
|
raise_for_status,
|
|
47
47
|
)
|
|
48
48
|
|
|
49
|
-
__version__ = "0.0.
|
|
49
|
+
__version__ = "0.0.9"
|
|
50
50
|
|
|
51
51
|
# String-enum types, exported so callers (and type checkers) can name them.
|
|
52
52
|
Backend = Literal["auto", "cpu", "metal", "vulkan", "cpu_accel", "cuda"]
|
|
@@ -975,7 +975,7 @@ class Session:
|
|
|
975
975
|
def run(self, pcm: PCMLike, *, task: Task = "transcribe",
|
|
976
976
|
language: str | None = None,
|
|
977
977
|
target_language: str | None = None,
|
|
978
|
-
timestamps: Timestamps = "
|
|
978
|
+
timestamps: Timestamps = "auto",
|
|
979
979
|
keep_special_tags: bool = False,
|
|
980
980
|
spec_k_drafts: int = -1,
|
|
981
981
|
family: FamilyExtension | None = None) -> Result:
|
|
@@ -1011,7 +1011,7 @@ class Session:
|
|
|
1011
1011
|
def run_batch(self, pcms: Sequence[PCMLike], *, task: Task = "transcribe",
|
|
1012
1012
|
language: str | None = None,
|
|
1013
1013
|
target_language: str | None = None,
|
|
1014
|
-
timestamps: Timestamps = "
|
|
1014
|
+
timestamps: Timestamps = "auto",
|
|
1015
1015
|
keep_special_tags: bool = False,
|
|
1016
1016
|
spec_k_drafts: int = -1,
|
|
1017
1017
|
family: FamilyExtension | None = None,
|
|
@@ -1339,7 +1339,7 @@ def transcribe(
|
|
|
1339
1339
|
task: Task = "transcribe",
|
|
1340
1340
|
language: str | None = None,
|
|
1341
1341
|
target_language: str | None = None,
|
|
1342
|
-
timestamps: Timestamps = "
|
|
1342
|
+
timestamps: Timestamps = "auto",
|
|
1343
1343
|
keep_special_tags: bool = False,
|
|
1344
1344
|
spec_k_drafts: int = -1,
|
|
1345
1345
|
family: FamilyExtension | None = None,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|