python-gdb 0.1.0__cp315-abi3.abi3t-win_amd64.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.
- pygdb/__init__.py +60 -0
- pygdb/_native.pyd +0 -0
- pygdb/gdb.py +641 -0
- pygdb/gdb_reader.py +1368 -0
- pygdb/grd_reader.py +292 -0
- pygdb/lzrw1.py +323 -0
- pygdb/registry.py +104 -0
- python_gdb-0.1.0.dist-info/METADATA +183 -0
- python_gdb-0.1.0.dist-info/RECORD +12 -0
- python_gdb-0.1.0.dist-info/WHEEL +5 -0
- python_gdb-0.1.0.dist-info/licenses/LICENSE +21 -0
- python_gdb-0.1.0.dist-info/sboms/pygdb-native.cyclonedx.json +572 -0
pygdb/__init__.py
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"""
|
|
2
|
+
pygdb: a clean-room Python reader for Geosoft's proprietary `.gdb`
|
|
3
|
+
("Geosoft Database") and sibling `.grd` grid file formats.
|
|
4
|
+
|
|
5
|
+
This package is an independent, third-party implementation produced by
|
|
6
|
+
reverse-engineering the on-disk format using only publicly available
|
|
7
|
+
information (vendor-published open-source code/docs, independent
|
|
8
|
+
third-party readers, and byte-level analysis of real, publicly
|
|
9
|
+
downloaded sample files). It has no affiliation with, and is not
|
|
10
|
+
endorsed by, Geosoft Inc., Seequent, or Bentley Systems -- see
|
|
11
|
+
docs/provenance/ for the full research trail behind this
|
|
12
|
+
implementation.
|
|
13
|
+
|
|
14
|
+
Reading only: writing/mutating `.gdb` or `.grd` files is out of scope.
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
from .gdb import GDB, CompressionInfo
|
|
18
|
+
from .gdb_reader import (
|
|
19
|
+
BlobHeader,
|
|
20
|
+
ChannelRecord,
|
|
21
|
+
GDBParseWarning,
|
|
22
|
+
LineRecord,
|
|
23
|
+
check_magic,
|
|
24
|
+
find_blob,
|
|
25
|
+
find_channel_table,
|
|
26
|
+
find_line_table,
|
|
27
|
+
header_fields,
|
|
28
|
+
iter_blobs,
|
|
29
|
+
read_blob_values,
|
|
30
|
+
read_channels,
|
|
31
|
+
read_lines,
|
|
32
|
+
)
|
|
33
|
+
from .grd_reader import GrdHeader, GRDParseWarning, read_grd
|
|
34
|
+
from .lzrw1 import LZRW1DecodeError
|
|
35
|
+
from .registry import find_coordinate_systems
|
|
36
|
+
|
|
37
|
+
__all__ = [
|
|
38
|
+
"GDB",
|
|
39
|
+
"BlobHeader",
|
|
40
|
+
"ChannelRecord",
|
|
41
|
+
"CompressionInfo",
|
|
42
|
+
"GDBParseWarning",
|
|
43
|
+
"GRDParseWarning",
|
|
44
|
+
"GrdHeader",
|
|
45
|
+
"LZRW1DecodeError",
|
|
46
|
+
"LineRecord",
|
|
47
|
+
"check_magic",
|
|
48
|
+
"find_blob",
|
|
49
|
+
"find_channel_table",
|
|
50
|
+
"find_coordinate_systems",
|
|
51
|
+
"find_line_table",
|
|
52
|
+
"header_fields",
|
|
53
|
+
"iter_blobs",
|
|
54
|
+
"read_blob_values",
|
|
55
|
+
"read_channels",
|
|
56
|
+
"read_grd",
|
|
57
|
+
"read_lines",
|
|
58
|
+
]
|
|
59
|
+
|
|
60
|
+
__version__ = "0.1.0"
|
pygdb/_native.pyd
ADDED
|
Binary file
|