transcribe-cpp 0.1.2__tar.gz → 0.1.3__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.1.2 → transcribe_cpp-0.1.3}/PKG-INFO +3 -3
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/pyproject.toml +3 -3
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/src/transcribe_cpp/__init__.py +3 -2
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/.gitignore +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/LICENSE +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/README.md +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/_generate/README.md +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/_generate/check_version_sync.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/_generate/generate.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/examples/stream_wav.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/examples/transcribe_wav.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/src/transcribe_cpp/_abi.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/src/transcribe_cpp/_generated.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/src/transcribe_cpp/_library.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/src/transcribe_cpp/errors.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/src/transcribe_cpp/py.typed +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/conftest.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/test_abi.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/test_backends.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/test_device_select.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/test_errors.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/test_example.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/test_family_ext.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/test_lifetime.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/test_pcm.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/test_provider_discovery.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/test_streaming.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/test_transcribe.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/tests/test_utf8_paths.py +0 -0
- {transcribe_cpp-0.1.2 → transcribe_cpp-0.1.3}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: transcribe-cpp
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
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.1.
|
|
24
|
+
Requires-Dist: transcribe-cpp-native==0.1.3.*
|
|
25
25
|
Provides-Extra: cu12
|
|
26
|
-
Requires-Dist: transcribe-cpp-native-cu12==0.1.
|
|
26
|
+
Requires-Dist: transcribe-cpp-native-cu12==0.1.3.*; 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.1.
|
|
7
|
+
version = "0.1.3"
|
|
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.1.
|
|
37
|
+
dependencies = ["transcribe-cpp-native==0.1.3.*"]
|
|
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.1.
|
|
43
|
+
cu12 = ["transcribe-cpp-native-cu12==0.1.3.*"]
|
|
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.1.
|
|
49
|
+
__version__ = "0.1.3"
|
|
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"]
|
|
@@ -270,7 +270,8 @@ class BackendDevice:
|
|
|
270
270
|
# comparable across device kinds.
|
|
271
271
|
memory_free: int
|
|
272
272
|
# Registry index of this device — the value to pass as ``Model(...,
|
|
273
|
-
# gpu_device=index)`` to select it (0
|
|
273
|
+
# gpu_device=index)`` to select it (0 means auto: discrete GPUs are
|
|
274
|
+
# probed before integrated).
|
|
274
275
|
# None when the device came from Model.device, since the underlying
|
|
275
276
|
# transcribe_model_get_device() does not expose an index; correlate such a
|
|
276
277
|
# device back to backends() by device_id / name instead. The index is
|
|
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
|
|
File without changes
|