pvkoala 2.0.1__py3-none-any.whl → 2.0.3__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pvkoala/_util.py +4 -4
- pvkoala/lib/windows/arm64/libpv_koala.dll +0 -0
- {pvkoala-2.0.1.dist-info → pvkoala-2.0.3.dist-info}/METADATA +6 -6
- {pvkoala-2.0.1.dist-info → pvkoala-2.0.3.dist-info}/RECORD +6 -6
- pvkoala/lib/jetson/cortex-a57-aarch64/libpv_koala.so +0 -0
- {pvkoala-2.0.1.dist-info → pvkoala-2.0.3.dist-info}/WHEEL +0 -0
- {pvkoala-2.0.1.dist-info → pvkoala-2.0.3.dist-info}/top_level.txt +0 -0
pvkoala/_util.py
CHANGED
@@ -54,7 +54,6 @@ _RASPBERRY_PI_MACHINES = {
|
|
54
54
|
"cortex-a53-aarch64",
|
55
55
|
"cortex-a72-aarch64",
|
56
56
|
"cortex-a76-aarch64"}
|
57
|
-
_JETSON_MACHINES = {'cortex-a57-aarch64'}
|
58
57
|
|
59
58
|
|
60
59
|
def default_library_path(relative: str = '') -> str:
|
@@ -67,15 +66,16 @@ def default_library_path(relative: str = '') -> str:
|
|
67
66
|
linux_machine = _linux_machine()
|
68
67
|
if linux_machine == 'x86_64':
|
69
68
|
return os.path.join(os.path.dirname(__file__), relative, 'lib/linux/x86_64/libpv_koala.so')
|
70
|
-
elif linux_machine in _JETSON_MACHINES:
|
71
|
-
return os.path.join(os.path.dirname(__file__), relative, 'lib/jetson/%s/libpv_koala.so' % linux_machine)
|
72
69
|
elif linux_machine in _RASPBERRY_PI_MACHINES:
|
73
70
|
return os.path.join(
|
74
71
|
os.path.dirname(__file__),
|
75
72
|
relative,
|
76
73
|
'lib/raspberry-pi/%s/libpv_koala.so' % linux_machine)
|
77
74
|
elif platform.system() == 'Windows':
|
78
|
-
|
75
|
+
if platform.machine().lower() == 'amd64':
|
76
|
+
return os.path.join(os.path.dirname(__file__), relative, 'lib/windows/amd64/libpv_koala.dll')
|
77
|
+
elif platform.machine().lower() == 'arm64':
|
78
|
+
return os.path.join(os.path.dirname(__file__), relative, 'lib/windows/arm64/libpv_koala.dll')
|
79
79
|
|
80
80
|
raise NotImplementedError('Unsupported platform.')
|
81
81
|
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pvkoala
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.3
|
4
4
|
Summary: Koala Noise Suppression Engine.
|
5
5
|
Home-page: https://github.com/Picovoice/koala
|
6
6
|
Author: Picovoice
|
@@ -12,7 +12,7 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
12
12
|
Classifier: Operating System :: OS Independent
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
|
15
|
-
Requires-Python: >=3.
|
15
|
+
Requires-Python: >=3.8
|
16
16
|
Description-Content-Type: text/markdown
|
17
17
|
|
18
18
|
# Koala Binding for Python
|
@@ -25,15 +25,15 @@ Koala is an on-device noise suppression engine. Koala is:
|
|
25
25
|
|
26
26
|
- Private; All voice processing runs locally.
|
27
27
|
- Cross-Platform:
|
28
|
-
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
|
28
|
+
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64)
|
29
29
|
- Android and iOS
|
30
30
|
- Chrome, Safari, Firefox, and Edge
|
31
|
-
- Raspberry Pi (
|
31
|
+
- Raspberry Pi (3, 4, 5)
|
32
32
|
|
33
33
|
## Compatibility
|
34
34
|
|
35
|
-
- Python 3.
|
36
|
-
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (
|
35
|
+
- Python 3.8 or higher
|
36
|
+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (3, 4, 5).
|
37
37
|
|
38
38
|
## Installation
|
39
39
|
|
@@ -2,9 +2,8 @@ pvkoala/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
2
2
|
pvkoala/__init__.py,sha256=46DQVzd7KMWWHnksLGV0vT6VPuZQe9Ivvdf2VQjLRhY,570
|
3
3
|
pvkoala/_factory.py,sha256=iZqM5lgr130Z_BjDgSi3maA-4dGO4J9abwUlNsX84Vo,1458
|
4
4
|
pvkoala/_koala.py,sha256=2NwR_XwjcllPA8FHTE4Q-ofp3X78YaCBGuEZNiafPdo,10689
|
5
|
-
pvkoala/_util.py,sha256=
|
5
|
+
pvkoala/_util.py,sha256=Q2rDDuKeph_A4VgSuIu927ZSC-P0vo9yK6N-_oiMgc0,3271
|
6
6
|
pvkoala/lib/common/koala_params.pv,sha256=A_92Jxj36MvGe3oboq70wFubecCELhAkNZvTEJk6vfQ,4007743
|
7
|
-
pvkoala/lib/jetson/cortex-a57-aarch64/libpv_koala.so,sha256=R6ylMuZDy3GNJTpI_i4S2qesQk1_3GulWnl3ZhhKuKg,142656
|
8
7
|
pvkoala/lib/linux/x86_64/libpv_koala.so,sha256=9sE-zswQZEt6i2S1kFYgc9ypkWTFFTpWN6xkjJ7XMAk,163504
|
9
8
|
pvkoala/lib/mac/arm64/libpv_koala.dylib,sha256=5bswF2_yIr4dA6z9Ff8IIyQnVBFwX8eBD3Ioon2_VvU,203502
|
10
9
|
pvkoala/lib/mac/x86_64/libpv_koala.dylib,sha256=rg65W2omZecWDu6uFOe-iOyrCsMiGjOwNINBNAAFGAE,218256
|
@@ -15,7 +14,8 @@ pvkoala/lib/raspberry-pi/cortex-a72-aarch64/libpv_koala.so,sha256=LjFS24G2TIaJtc
|
|
15
14
|
pvkoala/lib/raspberry-pi/cortex-a76/libpv_koala.so,sha256=aWy_jgK5w_bJu8ypltm-G6thu085W1106FqTmxmv1Wk,133284
|
16
15
|
pvkoala/lib/raspberry-pi/cortex-a76-aarch64/libpv_koala.so,sha256=0avLzP8J8n0VsbJMqkR6CEbEH5s_ylv2OqilSLJkrfc,142656
|
17
16
|
pvkoala/lib/windows/amd64/libpv_koala.dll,sha256=h586bu40qiAw2FG06e9Eg1EX4cBZvS2jHodwvaEsNkI,282112
|
18
|
-
pvkoala
|
19
|
-
pvkoala-2.0.
|
20
|
-
pvkoala-2.0.
|
21
|
-
pvkoala-2.0.
|
17
|
+
pvkoala/lib/windows/arm64/libpv_koala.dll,sha256=_tdhhYtxottG7wWxN2Em0w-zWnPhe39GppxTZLsQWHY,227840
|
18
|
+
pvkoala-2.0.3.dist-info/METADATA,sha256=ER3Kf8l_mHJGWkTaX9t35Nu4QljtamMISflHF1bqO6E,2749
|
19
|
+
pvkoala-2.0.3.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
20
|
+
pvkoala-2.0.3.dist-info/top_level.txt,sha256=Gb-hF6eAZIh7Bm1LfLuwsCQ_0y7FWSIuYSQX0p3T6No,8
|
21
|
+
pvkoala-2.0.3.dist-info/RECORD,,
|
Binary file
|
File without changes
|
File without changes
|