jpk-reader-rs 0.0.1__cp313-cp313-win_amd64.whl → 0.0.2__cp313-cp313-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.
@@ -0,0 +1,46 @@
1
+ from typing import Optional
2
+ import pyarrow
3
+
4
+ class QIMapReader:
5
+ """A JPK QI Map data (`.jpk-qi-data`) reader."""
6
+
7
+ def __init__(self, path: str) -> None: ...
8
+ def len(self) -> int:
9
+ """
10
+ Returns:
11
+ int: Number of files in the archive.
12
+ """
13
+
14
+ def files(self) -> list[str]:
15
+ """Get all files names in the archive.
16
+
17
+ Returns:
18
+ list[str]: Sorted list of file names.
19
+ """
20
+
21
+ def all_data(self) -> pyarrow.RecordBatch:
22
+ """Gets all data from the file.
23
+
24
+ Returns:
25
+ pyarrow.RecordBatch: All file data.
26
+
27
+ Raises:
28
+ RuntimeError: If the file can not be read.
29
+ """
30
+
31
+ def all_metadata(
32
+ self,
33
+ ) -> dict[tuple[str, Optional[int], Optional[int]], dict[str, str]]:
34
+ """Get all metadata from the file.
35
+
36
+ Returns:
37
+ dict[tuple[str, Optional[int], Optional[int]], dict[str, str]]: Dictionary keyed by the property type.
38
+ Keys are of the form `(type, index, segment)`:
39
+ + ("dataset", None, None)
40
+ + ("shared_data", None, None)
41
+ + ("index", int, None)
42
+ + ("segment", int, int)
43
+
44
+ Raises:
45
+ RuntimeError: If the file can not be read.
46
+ """
jpk_reader_rs/py.typed ADDED
File without changes
@@ -1,8 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jpk-reader-rs
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
7
7
  Requires-Dist: pyarrow
8
8
  Requires-Python: >=3.8
9
+ Project-URL: Homepage, https://github.com/bicarlsen/jpk_reader
10
+ Project-URL: Issues, https://github.com/bicarlsen/jpk_reader/issues
11
+ Project-URL: Source, https://github.com/bicarlsen/jpk_reader
@@ -0,0 +1,7 @@
1
+ jpk_reader_rs\__init__.py,sha256=qT0kJn-e5hKbyKm_axi4ZclmRDIt2hvErqcsvSMXKCo,135
2
+ jpk_reader_rs\__init__.pyi,sha256=OOUI2YGXO0ZoX6AhZ-WKquE9dvcPFklLx17oNMly65s,1306
3
+ jpk_reader_rs\jpk_reader_rs.cp313-win_amd64.pyd,sha256=XHhLDs8zj0yP_Wt340oec0OfXP4SGN5f4yIJi4uA1fg,2000896
4
+ jpk_reader_rs\py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ jpk_reader_rs-0.0.2.dist-info\METADATA,sha256=txQe9B_D-27E8Er5SlC3BS687CmtiwZlu7uDgWymibk,477
6
+ jpk_reader_rs-0.0.2.dist-info\WHEEL,sha256=n_BmF69IyGtioVWE9c3M_zsEfe6-xMZy1v5HCL_6qE0,97
7
+ jpk_reader_rs-0.0.2.dist-info\RECORD,,
@@ -1,5 +0,0 @@
1
- jpk_reader_rs\__init__.py,sha256=qT0kJn-e5hKbyKm_axi4ZclmRDIt2hvErqcsvSMXKCo,135
2
- jpk_reader_rs\jpk_reader_rs.cp313-win_amd64.pyd,sha256=6G3y2y59jgfa9egIyP7NR4m_hAbtLp5xkmDI7u0crHA,1920512
3
- jpk_reader_rs-0.0.1.dist-info\METADATA,sha256=1Dh-xud-Q3cdn0TeOfl5tiaXeaCEBZ1PKV2bNFEdWpA,285
4
- jpk_reader_rs-0.0.1.dist-info\WHEEL,sha256=n_BmF69IyGtioVWE9c3M_zsEfe6-xMZy1v5HCL_6qE0,97
5
- jpk_reader_rs-0.0.1.dist-info\RECORD,,