pye57 0.4.6__cp311-cp311-macosx_11_0_arm64.whl → 0.4.13__cp311-cp311-macosx_11_0_arm64.whl
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.
Potentially problematic release.
This version of pye57 might be problematic. Click here for more details.
- pye57/.dylibs/libxerces-c-3.2.dylib +0 -0
- pye57/__version__.py +1 -1
- pye57/libe57.cpython-311-darwin.so +0 -0
- pye57/libxerces-c-3.2.dylib +0 -0
- pye57/scan_header.py +9 -1
- {pye57-0.4.6.dist-info → pye57-0.4.13.dist-info}/METADATA +13 -3
- pye57-0.4.13.dist-info/RECORD +14 -0
- {pye57-0.4.6.dist-info → pye57-0.4.13.dist-info}/WHEEL +1 -1
- pye57-0.4.6.dist-info/RECORD +0 -13
- {pye57-0.4.6.dist-info → pye57-0.4.13.dist-info}/LICENSE +0 -0
- {pye57-0.4.6.dist-info → pye57-0.4.13.dist-info}/top_level.txt +0 -0
|
Binary file
|
pye57/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.4.
|
|
1
|
+
__version__ = "0.4.13"
|
|
Binary file
|
|
Binary file
|
pye57/scan_header.py
CHANGED
|
@@ -5,6 +5,10 @@ from pye57 import libe57
|
|
|
5
5
|
from pye57.utils import get_fields, get_node
|
|
6
6
|
|
|
7
7
|
class ScanHeader:
|
|
8
|
+
"""Provides summary statistics for an individual lidar scan in an E57 file.
|
|
9
|
+
|
|
10
|
+
Including the number of points, bounds and pose of the scan.
|
|
11
|
+
"""
|
|
8
12
|
def __init__(self, scan_node):
|
|
9
13
|
self.node = scan_node
|
|
10
14
|
points = self.node["points"]
|
|
@@ -29,7 +33,11 @@ class ScanHeader:
|
|
|
29
33
|
|
|
30
34
|
@property
|
|
31
35
|
def rotation(self) -> np.array:
|
|
32
|
-
|
|
36
|
+
try:
|
|
37
|
+
rotation = self.node["pose"]["rotation"]
|
|
38
|
+
q = Quaternion([e.value() for e in rotation])
|
|
39
|
+
except KeyError:
|
|
40
|
+
q = Quaternion()
|
|
33
41
|
return q.elements
|
|
34
42
|
|
|
35
43
|
@property
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pye57
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.13
|
|
4
4
|
Summary: Python .e57 files reader/writer
|
|
5
5
|
Home-page: https://www.github.com/davidcaron/pye57
|
|
6
6
|
Author: David Caron
|
|
7
7
|
Author-email: dcaron05@gmail.com
|
|
8
|
+
Maintainer: Graham Knapp
|
|
9
|
+
Maintainer-email: graham.knapp@gmail.com
|
|
8
10
|
License: MIT
|
|
9
11
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
12
|
Classifier: Programming Language :: Python
|
|
@@ -21,7 +23,7 @@ License-File: LICENSE
|
|
|
21
23
|
Requires-Dist: numpy
|
|
22
24
|
Requires-Dist: pyquaternion
|
|
23
25
|
Provides-Extra: test
|
|
24
|
-
Requires-Dist: pytest
|
|
26
|
+
Requires-Dist: pytest; extra == "test"
|
|
25
27
|
|
|
26
28
|
|
|
27
29
|
# pye57
|
|
@@ -94,10 +96,12 @@ translation_x = scan_0["pose"]["translation"]["x"]
|
|
|
94
96
|
|
|
95
97
|
## Installation
|
|
96
98
|
|
|
97
|
-
On linux Windows or
|
|
99
|
+
On linux, Windows or Apple Silicon:
|
|
98
100
|
|
|
99
101
|
`python -m pip install pye57`
|
|
100
102
|
|
|
103
|
+
On macOS with Intel CPU you can try to build from source (advanced users):
|
|
104
|
+
|
|
101
105
|
## Building from source (for developers)
|
|
102
106
|
|
|
103
107
|
### Cloning the repository with required submodule
|
|
@@ -126,6 +130,12 @@ To get xerces-c, you can either build from source or if you're using conda:
|
|
|
126
130
|
|
|
127
131
|
`conda install -y xerces-c`
|
|
128
132
|
|
|
133
|
+
### Dependencies on MacOS
|
|
134
|
+
|
|
135
|
+
To get xerces-c, run:
|
|
136
|
+
|
|
137
|
+
`bash ./scripts/install_xerces_c.sh`
|
|
138
|
+
|
|
129
139
|
### Run `pip install` from the repo source
|
|
130
140
|
|
|
131
141
|
```Bash
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
pye57/libxerces-c-3.2.dylib,sha256=ES2sOYwO71UsNQPiqrpguzECXyBt0PW2B2NvZiCef2c,3905272
|
|
2
|
+
pye57/exception.py,sha256=hjNBnDf-PJrBLU7E8aAlWll0aovVITwjJoN9ex4Lx3o,47
|
|
3
|
+
pye57/__init__.py,sha256=p-yo66Eblp6mIVKaupuS1E3BQGCNZrI96ApqoFusOi8,92
|
|
4
|
+
pye57/__version__.py,sha256=ARFl7G-gCe12exBb-FIsJnbsUD5V9okxkHUUdQqb0RA,23
|
|
5
|
+
pye57/e57.py,sha256=q0lsfI19sreOx3YIEFn-lWDaSStezPGwn5lUzxgh20Q,18528
|
|
6
|
+
pye57/libe57.cpython-311-darwin.so,sha256=0k22_CffqmI1TuPNm03cO9aofrW2xOflYoJ8fIcuvHI,1900832
|
|
7
|
+
pye57/utils.py,sha256=LvBz7-LW3E9WNGu7c2aurqrXi-iCdorY-VLAEcTKGbU,4181
|
|
8
|
+
pye57/scan_header.py,sha256=qO1NhT917ST1uLCl2Hq5lbqkh2343VbyHvTWxjkWxXo,6082
|
|
9
|
+
pye57/.dylibs/libxerces-c-3.2.dylib,sha256=u5lsUzuGenGIJ-d5NFxZIZQRSsqLBXipDhWkOZVC_fQ,3923408
|
|
10
|
+
pye57-0.4.13.dist-info/RECORD,,
|
|
11
|
+
pye57-0.4.13.dist-info/LICENSE,sha256=fk66gXDC1OVruix0TJ6tGGH6vaP_VOzBPETZ3xxnMsY,1050
|
|
12
|
+
pye57-0.4.13.dist-info/WHEEL,sha256=mwPAERQasYsuLWc5e89A1OSRHqktA0UqM3ofQd0UnOQ,109
|
|
13
|
+
pye57-0.4.13.dist-info/top_level.txt,sha256=xD9HDzQ3BfGMuz1kI2uNKUR0KXcR-RtNEKigrkh48Nk,6
|
|
14
|
+
pye57-0.4.13.dist-info/METADATA,sha256=PAl5fzaMcTzinT_cjctdTkmNbhB9wIl0W-7TCprwDHY,4455
|
pye57-0.4.6.dist-info/RECORD
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
pye57-0.4.6.dist-info/RECORD,,
|
|
2
|
-
pye57-0.4.6.dist-info/LICENSE,sha256=fk66gXDC1OVruix0TJ6tGGH6vaP_VOzBPETZ3xxnMsY,1050
|
|
3
|
-
pye57-0.4.6.dist-info/WHEEL,sha256=VFPj2aIV--QubzKz0pALSb7fwxrNDlPWhSkNPu-4wiI,109
|
|
4
|
-
pye57-0.4.6.dist-info/top_level.txt,sha256=xD9HDzQ3BfGMuz1kI2uNKUR0KXcR-RtNEKigrkh48Nk,6
|
|
5
|
-
pye57-0.4.6.dist-info/METADATA,sha256=ugu4wF-0rwwN6douKnGcPT9GygAZSbanvMHDUlCnalI,4216
|
|
6
|
-
pye57/exception.py,sha256=hjNBnDf-PJrBLU7E8aAlWll0aovVITwjJoN9ex4Lx3o,47
|
|
7
|
-
pye57/__init__.py,sha256=p-yo66Eblp6mIVKaupuS1E3BQGCNZrI96ApqoFusOi8,92
|
|
8
|
-
pye57/__version__.py,sha256=bbBpXE_PBbo_SaI807mDML0QJywD0_ufCDPgAMlDHaE,22
|
|
9
|
-
pye57/e57.py,sha256=q0lsfI19sreOx3YIEFn-lWDaSStezPGwn5lUzxgh20Q,18528
|
|
10
|
-
pye57/libe57.cpython-311-darwin.so,sha256=I9-Oaw5QML8zJDIoAaJ0XSaRknV7ojOdD97mXvtc6_E,1900832
|
|
11
|
-
pye57/utils.py,sha256=LvBz7-LW3E9WNGu7c2aurqrXi-iCdorY-VLAEcTKGbU,4181
|
|
12
|
-
pye57/scan_header.py,sha256=fSr8qd8FPesL5TC23B0UjM6AK0mmzZ_u4ZGvvBgNWUg,5825
|
|
13
|
-
pye57/.dylibs/libxerces-c-3.2.dylib,sha256=CqIux5S-akLnxjQ180cSOCd-SQT9FGHnDvtIhfwtNsE,3927616
|
|
File without changes
|
|
File without changes
|