pvleopard 2.0.2__tar.gz → 2.0.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pvleopard-2.0.2 → pvleopard-2.0.4}/MANIFEST.in +0 -1
- {pvleopard-2.0.2 → pvleopard-2.0.4}/PKG-INFO +6 -6
- {pvleopard-2.0.2 → pvleopard-2.0.4}/README.md +4 -4
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/_util.py +5 -7
- pvleopard-2.0.4/pvleopard/lib/windows/arm64/libpv_leopard.dll +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard.egg-info/PKG-INFO +6 -6
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard.egg-info/SOURCES.txt +2 -2
- {pvleopard-2.0.2 → pvleopard-2.0.4}/setup.py +4 -4
- pvleopard-2.0.2/pvleopard/lib/jetson/cortex-a57-aarch64/libpv_leopard.so +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/LICENSE +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/__init__.py +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/_factory.py +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/_leopard.py +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/common/leopard_params.pv +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/linux/x86_64/libpv_leopard.so +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/mac/arm64/libpv_leopard.dylib +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/mac/x86_64/libpv_leopard.dylib +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/raspberry-pi/cortex-a53/libpv_leopard.so +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/raspberry-pi/cortex-a53-aarch64/libpv_leopard.so +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/raspberry-pi/cortex-a72/libpv_leopard.so +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/raspberry-pi/cortex-a72-aarch64/libpv_leopard.so +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/raspberry-pi/cortex-a76/libpv_leopard.so +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/raspberry-pi/cortex-a76-aarch64/libpv_leopard.so +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/windows/amd64/libpv_leopard.dll +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard.egg-info/dependency_links.txt +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard.egg-info/top_level.txt +0 -0
- {pvleopard-2.0.2 → pvleopard-2.0.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pvleopard
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.4
|
4
4
|
Summary: Leopard Speech-to-Text Engine.
|
5
5
|
Home-page: https://github.com/Picovoice/leopard
|
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
|
# Leopard Binding for Python
|
@@ -27,15 +27,15 @@ Leopard is an on-device speech-to-text engine. Leopard is:
|
|
27
27
|
- [Accurate](https://picovoice.ai/docs/benchmark/stt/)
|
28
28
|
- [Compact and Computationally-Efficient](https://github.com/Picovoice/speech-to-text-benchmark#rtf)
|
29
29
|
- Cross-Platform:
|
30
|
-
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
|
30
|
+
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64)
|
31
31
|
- Android and iOS
|
32
32
|
- Chrome, Safari, Firefox, and Edge
|
33
|
-
- Raspberry Pi (
|
33
|
+
- Raspberry Pi (3, 4, 5)
|
34
34
|
|
35
35
|
## Compatibility
|
36
36
|
|
37
|
-
- Python 3.
|
38
|
-
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4,
|
37
|
+
- Python 3.8+
|
38
|
+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (3, 4, 5).
|
39
39
|
|
40
40
|
## Installation
|
41
41
|
|
@@ -10,15 +10,15 @@ Leopard is an on-device speech-to-text engine. Leopard is:
|
|
10
10
|
- [Accurate](https://picovoice.ai/docs/benchmark/stt/)
|
11
11
|
- [Compact and Computationally-Efficient](https://github.com/Picovoice/speech-to-text-benchmark#rtf)
|
12
12
|
- Cross-Platform:
|
13
|
-
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
|
13
|
+
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64)
|
14
14
|
- Android and iOS
|
15
15
|
- Chrome, Safari, Firefox, and Edge
|
16
|
-
- Raspberry Pi (
|
16
|
+
- Raspberry Pi (3, 4, 5)
|
17
17
|
|
18
18
|
## Compatibility
|
19
19
|
|
20
|
-
- Python 3.
|
21
|
-
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4,
|
20
|
+
- Python 3.8+
|
21
|
+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (3, 4, 5).
|
22
22
|
|
23
23
|
## Installation
|
24
24
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2022-
|
2
|
+
# Copyright 2022-2024 Picovoice Inc.
|
3
3
|
#
|
4
4
|
# You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
|
5
5
|
# file accompanying this source.
|
@@ -37,8 +37,6 @@ def _linux_machine():
|
|
37
37
|
|
38
38
|
if '0xd03' == cpu_part:
|
39
39
|
return 'cortex-a53' + arch_info
|
40
|
-
elif '0xd07' == cpu_part:
|
41
|
-
return 'cortex-a57' + arch_info
|
42
40
|
elif '0xd08' == cpu_part:
|
43
41
|
return 'cortex-a72' + arch_info
|
44
42
|
elif "0xd0b" == cpu_part:
|
@@ -54,7 +52,6 @@ _RASPBERRY_PI_MACHINES = {
|
|
54
52
|
"cortex-a53-aarch64",
|
55
53
|
"cortex-a72-aarch64",
|
56
54
|
"cortex-a76-aarch64"}
|
57
|
-
_JETSON_MACHINES = {'cortex-a57-aarch64'}
|
58
55
|
|
59
56
|
|
60
57
|
def default_library_path(relative):
|
@@ -67,15 +64,16 @@ def default_library_path(relative):
|
|
67
64
|
linux_machine = _linux_machine()
|
68
65
|
if linux_machine == 'x86_64':
|
69
66
|
return os.path.join(os.path.dirname(__file__), relative, 'lib/linux/x86_64/libpv_leopard.so')
|
70
|
-
elif linux_machine in _JETSON_MACHINES:
|
71
|
-
return os.path.join(os.path.dirname(__file__), relative, 'lib/jetson/%s/libpv_leopard.so' % linux_machine)
|
72
67
|
elif linux_machine in _RASPBERRY_PI_MACHINES:
|
73
68
|
return os.path.join(
|
74
69
|
os.path.dirname(__file__),
|
75
70
|
relative,
|
76
71
|
'lib/raspberry-pi/%s/libpv_leopard.so' % linux_machine)
|
77
72
|
elif platform.system() == 'Windows':
|
78
|
-
|
73
|
+
if platform.machine().lower() == 'amd64':
|
74
|
+
return os.path.join(os.path.dirname(__file__), relative, 'lib/windows/amd64/libpv_leopard.dll')
|
75
|
+
elif platform.machine().lower() == 'arm64':
|
76
|
+
return os.path.join(os.path.dirname(__file__), relative, 'lib/windows/arm64/libpv_leopard.dll')
|
79
77
|
|
80
78
|
raise NotImplementedError('Unsupported platform.')
|
81
79
|
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pvleopard
|
3
|
-
Version: 2.0.
|
3
|
+
Version: 2.0.4
|
4
4
|
Summary: Leopard Speech-to-Text Engine.
|
5
5
|
Home-page: https://github.com/Picovoice/leopard
|
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
|
# Leopard Binding for Python
|
@@ -27,15 +27,15 @@ Leopard is an on-device speech-to-text engine. Leopard is:
|
|
27
27
|
- [Accurate](https://picovoice.ai/docs/benchmark/stt/)
|
28
28
|
- [Compact and Computationally-Efficient](https://github.com/Picovoice/speech-to-text-benchmark#rtf)
|
29
29
|
- Cross-Platform:
|
30
|
-
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
|
30
|
+
- Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64)
|
31
31
|
- Android and iOS
|
32
32
|
- Chrome, Safari, Firefox, and Edge
|
33
|
-
- Raspberry Pi (
|
33
|
+
- Raspberry Pi (3, 4, 5)
|
34
34
|
|
35
35
|
## Compatibility
|
36
36
|
|
37
|
-
- Python 3.
|
38
|
-
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (4,
|
37
|
+
- Python 3.8+
|
38
|
+
- Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (3, 4, 5).
|
39
39
|
|
40
40
|
## Installation
|
41
41
|
|
@@ -11,7 +11,6 @@ pvleopard.egg-info/SOURCES.txt
|
|
11
11
|
pvleopard.egg-info/dependency_links.txt
|
12
12
|
pvleopard.egg-info/top_level.txt
|
13
13
|
pvleopard/lib/common/leopard_params.pv
|
14
|
-
pvleopard/lib/jetson/cortex-a57-aarch64/libpv_leopard.so
|
15
14
|
pvleopard/lib/linux/x86_64/libpv_leopard.so
|
16
15
|
pvleopard/lib/mac/arm64/libpv_leopard.dylib
|
17
16
|
pvleopard/lib/mac/x86_64/libpv_leopard.dylib
|
@@ -21,4 +20,5 @@ pvleopard/lib/raspberry-pi/cortex-a72/libpv_leopard.so
|
|
21
20
|
pvleopard/lib/raspberry-pi/cortex-a72-aarch64/libpv_leopard.so
|
22
21
|
pvleopard/lib/raspberry-pi/cortex-a76/libpv_leopard.so
|
23
22
|
pvleopard/lib/raspberry-pi/cortex-a76-aarch64/libpv_leopard.so
|
24
|
-
pvleopard/lib/windows/amd64/libpv_leopard.dll
|
23
|
+
pvleopard/lib/windows/amd64/libpv_leopard.dll
|
24
|
+
pvleopard/lib/windows/arm64/libpv_leopard.dll
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright 2022-
|
2
|
+
# Copyright 2022-2024 Picovoice Inc.
|
3
3
|
#
|
4
4
|
# You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
|
5
5
|
# file accompanying this source.
|
@@ -15,7 +15,7 @@ import shutil
|
|
15
15
|
import setuptools
|
16
16
|
|
17
17
|
INCLUDE_FILES = ('../../LICENSE', '__init__.py', '_factory.py', '_leopard.py', '_util.py')
|
18
|
-
INCLUDE_LIBS = ('linux', 'mac', 'windows', '
|
18
|
+
INCLUDE_LIBS = ('linux', 'mac', 'windows', 'raspberry-pi')
|
19
19
|
|
20
20
|
os.system('git clean -dfx')
|
21
21
|
|
@@ -48,7 +48,7 @@ with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as f:
|
|
48
48
|
|
49
49
|
setuptools.setup(
|
50
50
|
name="pvleopard",
|
51
|
-
version="2.0.
|
51
|
+
version="2.0.4",
|
52
52
|
author="Picovoice",
|
53
53
|
author_email="hello@picovoice.ai",
|
54
54
|
description="Leopard Speech-to-Text Engine.",
|
@@ -65,6 +65,6 @@ setuptools.setup(
|
|
65
65
|
"Programming Language :: Python :: 3",
|
66
66
|
"Topic :: Multimedia :: Sound/Audio :: Speech"
|
67
67
|
],
|
68
|
-
python_requires='>=3.
|
68
|
+
python_requires='>=3.8',
|
69
69
|
keywords="Speech-to-Text, Speech Recognition, Voice Recognition, ASR, Automatic Speech Recognition",
|
70
70
|
)
|
Binary file
|
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
|
{pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/raspberry-pi/cortex-a53-aarch64/libpv_leopard.so
RENAMED
File without changes
|
File without changes
|
{pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/raspberry-pi/cortex-a72-aarch64/libpv_leopard.so
RENAMED
File without changes
|
File without changes
|
{pvleopard-2.0.2 → pvleopard-2.0.4}/pvleopard/lib/raspberry-pi/cortex-a76-aarch64/libpv_leopard.so
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|