pveagle 1.0.1__py3-none-any.whl → 1.0.3__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
pveagle/_util.py CHANGED
@@ -37,8 +37,6 @@ def _linux_machine() -> str:
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: str = "") -> str:
@@ -67,14 +64,15 @@ def default_library_path(relative: str = "") -> str:
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_eagle.so")
70
- elif linux_machine in _JETSON_MACHINES:
71
- return os.path.join(os.path.dirname(__file__), relative, "lib/jetson/%s/libpv_eagle.so" % linux_machine)
72
67
  elif linux_machine in _RASPBERRY_PI_MACHINES:
73
68
  return os.path.join(
74
69
  os.path.dirname(__file__), relative, "lib/raspberry-pi/%s/libpv_eagle.so" % linux_machine
75
70
  )
76
71
  elif platform.system() == "Windows":
77
- return os.path.join(os.path.dirname(__file__), relative, "lib", "windows", "amd64", "libpv_eagle.dll")
72
+ if platform.machine().lower() == 'amd64':
73
+ return os.path.join(os.path.dirname(__file__), relative, "lib", "windows", "amd64", "libpv_eagle.dll")
74
+ elif platform.machine().lower() == 'arm64':
75
+ return os.path.join(os.path.dirname(__file__), relative, "lib", "windows", "arm64", "libpv_eagle.dll")
78
76
 
79
77
  raise NotImplementedError("Unsupported platform.")
80
78
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pveagle
3
- Version: 1.0.1
3
+ Version: 1.0.3
4
4
  Summary: Eagle Speaker Recognition Engine
5
5
  Home-page: https://github.com/Picovoice/eagle
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.7
15
+ Requires-Python: >=3.8
16
16
  Description-Content-Type: text/markdown
17
17
 
18
18
  # Eagle Binding for Python
@@ -26,15 +26,15 @@ Eagle is an on-device speaker recognition engine. Eagle is:
26
26
 
27
27
  - Private; All voice processing runs locally.
28
28
  - Cross-Platform:
29
- - Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64)
29
+ - Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64)
30
30
  - Android and iOS
31
31
  - Chrome, Safari, Firefox, and Edge
32
- - Raspberry Pi (5, 4, 3) and NVIDIA Jetson Nano
32
+ - Raspberry Pi (3, 4, 5)
33
33
 
34
34
  ## Compatibility
35
35
 
36
- - Python 3.7 or higher
37
- - Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64), Raspberry Pi (5, 4, 3), and NVIDIA Jetson Nano.
36
+ - Python 3.8 or higher
37
+ - Runs on Linux (x86_64), macOS (x86_64, arm64), Windows (x86_64, arm64), and Raspberry Pi (3, 4, 5).
38
38
 
39
39
  ## Installation
40
40
 
@@ -2,9 +2,8 @@ pveagle/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
2
2
  pveagle/__init__.py,sha256=5RRV_Nak7RhTLHEGAaLW35_j-R35suDmolZAtXPOu2g,570
3
3
  pveagle/_eagle.py,sha256=ZdEEspHkLiizZHvh3cNWRdEm0_bbB4t7OZ4Z-9xCa2M,21966
4
4
  pveagle/_factory.py,sha256=8bhE82FJJeMKaUsNa9XF7bV5M8KXfyFYcA4sIKehCDE,3001
5
- pveagle/_util.py,sha256=hHG_WLwOAx-d2SBSubWjv5Vpkj15ZRXKkgt9gdQk50A,3271
5
+ pveagle/_util.py,sha256=Q7GTFTPGP6JTu7mqwZkc4SLStxaP0WMV5WYfgUzXDCY,3215
6
6
  pveagle/lib/common/eagle_params.pv,sha256=y76Um1MGB66kYpvh0ynsdi87qo5qLB3UCEI56gxEdrg,6528522
7
- pveagle/lib/jetson/cortex-a57-aarch64/libpv_eagle.so,sha256=4jj90OQ0QCT3tGSHwa8jNfoPjdkzcQ7Knb1434EkXIU,151032
8
7
  pveagle/lib/linux/x86_64/libpv_eagle.so,sha256=UIgsp43eK2HbQfrEe0ufTpv5PDLyDuR5DTTkDzazktc,167872
9
8
  pveagle/lib/mac/arm64/libpv_eagle.dylib,sha256=ClIYNzf9RoV1cV4oHzkCBpMZ2Q9dV4X0NAhSGn8jLdw,220558
10
9
  pveagle/lib/mac/x86_64/libpv_eagle.dylib,sha256=72UeA3XJCzvPiUMIyXbgJqoQFX4VdOxpdRotPSU-MSQ,235160
@@ -15,7 +14,8 @@ pveagle/lib/raspberry-pi/cortex-a72-aarch64/libpv_eagle.so,sha256=5D2mVHQ_ozibGX
15
14
  pveagle/lib/raspberry-pi/cortex-a76/libpv_eagle.so,sha256=ClYFDyyqSkbUd6tAU_H5TvSBd-A3N64Hhqzl7T84Pc8,141568
16
15
  pveagle/lib/raspberry-pi/cortex-a76-aarch64/libpv_eagle.so,sha256=1XqzfEVBmWesWo7FGa2A3WpqDChXL9jKFAYEgjkf5J4,151032
17
16
  pveagle/lib/windows/amd64/libpv_eagle.dll,sha256=dymWiIr0ZKZhSLvJU1fXH0jAEQKNTbO6DrRrMkkL94E,291840
18
- pveagle-1.0.1.dist-info/METADATA,sha256=xUeYaF75E6MUhQaQ4_sJ4vdbQaloaPShQekIAYT-tZs,5492
19
- pveagle-1.0.1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
20
- pveagle-1.0.1.dist-info/top_level.txt,sha256=k2VZ1fNHirMrHCEeAoC3xi1ddfhyKl9qwhSSL_YlTIU,8
21
- pveagle-1.0.1.dist-info/RECORD,,
17
+ pveagle/lib/windows/arm64/libpv_eagle.dll,sha256=MDa1zpxdUq7OnhYczVNxkfbXiDDffXo8A2u8A-o7Jj0,230912
18
+ pveagle-1.0.3.dist-info/METADATA,sha256=It0Pj09x7o2pPi7lD6dMW7xvKP4Q33wuwuhGJ8Wi_08,5463
19
+ pveagle-1.0.3.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
20
+ pveagle-1.0.3.dist-info/top_level.txt,sha256=k2VZ1fNHirMrHCEeAoC3xi1ddfhyKl9qwhSSL_YlTIU,8
21
+ pveagle-1.0.3.dist-info/RECORD,,