iparq 0.4.0__py3-none-any.whl → 0.4.1__py3-none-any.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.
- iparq/__init__.py +1 -1
- {iparq-0.4.0.dist-info → iparq-0.4.1.dist-info}/METADATA +19 -22
- iparq-0.4.1.dist-info/RECORD +8 -0
- iparq-0.4.0.dist-info/RECORD +0 -8
- {iparq-0.4.0.dist-info → iparq-0.4.1.dist-info}/WHEEL +0 -0
- {iparq-0.4.0.dist-info → iparq-0.4.1.dist-info}/entry_points.txt +0 -0
- {iparq-0.4.0.dist-info → iparq-0.4.1.dist-info}/licenses/LICENSE +0 -0
iparq/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.4.
|
|
1
|
+
__version__ = "0.4.1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: iparq
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.1
|
|
4
4
|
Summary: Display version compression and bloom filter information about a parquet file
|
|
5
5
|
Author-email: MiguelElGallo <miguel.zurcher@gmail.com>
|
|
6
6
|
License-File: LICENSE
|
|
@@ -13,6 +13,7 @@ Provides-Extra: checks
|
|
|
13
13
|
Requires-Dist: mypy>=1.14.1; extra == 'checks'
|
|
14
14
|
Requires-Dist: ruff>=0.9.3; extra == 'checks'
|
|
15
15
|
Provides-Extra: test
|
|
16
|
+
Requires-Dist: pytest-cov>=4.0.0; extra == 'test'
|
|
16
17
|
Requires-Dist: pytest>=7.0; extra == 'test'
|
|
17
18
|
Description-Content-Type: text/markdown
|
|
18
19
|
|
|
@@ -24,6 +25,8 @@ Description-Content-Type: text/markdown
|
|
|
24
25
|
|
|
25
26
|
[](https://github.com/MiguelElGallo/iparq/actions/workflows/python-publish.yml)
|
|
26
27
|
|
|
28
|
+
[](https://codecov.io/gh/MiguelElGallo/iparq)
|
|
29
|
+
|
|
27
30
|

|
|
28
31
|
After reading [this blog](https://duckdb.org/2025/01/22/parquet-encodings.html), I began to wonder which Parquet version and compression methods the everyday tools we rely on actually use, only to find that there's no straightforward way to determine this. That curiosity and the difficulty of quickly discovering such details motivated me to create iparq (Information Parquet). My goal with iparq is to help users easily identify the specifics of the Parquet files generated by different engines, making it clear which features—like newer encodings or certain compression algorithms—the creator of the parquet is using.
|
|
29
32
|
|
|
@@ -138,27 +141,21 @@ When inspecting multiple files, each file's results are displayed with a header
|
|
|
138
141
|
|
|
139
142
|
```log
|
|
140
143
|
ParquetMetaModel(
|
|
141
|
-
created_by='
|
|
142
|
-
num_columns=
|
|
143
|
-
num_rows=
|
|
144
|
-
num_row_groups=
|
|
145
|
-
format_version='
|
|
146
|
-
serialized_size=
|
|
144
|
+
created_by='parquet-cpp-arrow version 14.0.2',
|
|
145
|
+
num_columns=3,
|
|
146
|
+
num_rows=3,
|
|
147
|
+
num_row_groups=1,
|
|
148
|
+
format_version='2.6',
|
|
149
|
+
serialized_size=2223
|
|
147
150
|
)
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
┃
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
│
|
|
154
|
-
│
|
|
155
|
-
│
|
|
156
|
-
|
|
157
|
-
│ 5 │ r │ 0 │ SNAPPY │ ✅ │
|
|
158
|
-
│ 6 │ r │ 0 │ SNAPPY │ ✅ │
|
|
159
|
-
│ 7 │ r │ 0 │ SNAPPY │ ✅ │
|
|
160
|
-
│ 8 │ r │ 0 │ SNAPPY │ ✅ │
|
|
161
|
-
│ 9 │ r │ 0 │ SNAPPY │ ✅ │
|
|
162
|
-
└───────────┴─────────────┴───────┴─────────────┴──────────────┘
|
|
151
|
+
Parquet Column Information
|
|
152
|
+
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━┓
|
|
153
|
+
┃ ┃ Column ┃ ┃ ┃ Bloom ┃ ┃ ┃
|
|
154
|
+
┃ Row Group ┃ Name ┃ Index ┃ Compress… ┃ Filter ┃ Min Value ┃ Max Value ┃
|
|
155
|
+
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━┩
|
|
156
|
+
│ 0 │ one │ 0 │ SNAPPY │ ✅ │ -1.0 │ 2.5 │
|
|
157
|
+
│ 0 │ two │ 1 │ SNAPPY │ ✅ │ bar │ foo │
|
|
158
|
+
│ 0 │ three │ 2 │ SNAPPY │ ✅ │ False │ True │
|
|
159
|
+
└───────────┴────────────┴───────┴───────────┴────────────┴───────────┴───────────┘
|
|
163
160
|
Compression codecs: {'SNAPPY'}
|
|
164
161
|
```
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
iparq/__init__.py,sha256=pMtTmSUht-XtbR_7Doz6bsQqopJJd8rZ8I8zy2HwwoA,22
|
|
2
|
+
iparq/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
iparq/source.py,sha256=HT76AP19e-TheGB5cHlGqsyJGvdsPVMbAYuSo2xH0Bk,15476
|
|
4
|
+
iparq-0.4.1.dist-info/METADATA,sha256=aKFzoI4pVaAa_D-fW-FeicRHO6PepqOfMuKBXySYS4I,6018
|
|
5
|
+
iparq-0.4.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
+
iparq-0.4.1.dist-info/entry_points.txt,sha256=vrE2lwvuheySWTOJdr_gh9AT47ck02WCHo0muRq5HS8,43
|
|
7
|
+
iparq-0.4.1.dist-info/licenses/LICENSE,sha256=apqXCIYD_rrtbJVE-Ex1-1X7N0cBwZTOm4KL3TEFmYA,1067
|
|
8
|
+
iparq-0.4.1.dist-info/RECORD,,
|
iparq-0.4.0.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
iparq/__init__.py,sha256=42STGor_9nKYXumfeV5tiyD_M8VdcddX7CEexmibPBk,22
|
|
2
|
-
iparq/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
iparq/source.py,sha256=HT76AP19e-TheGB5cHlGqsyJGvdsPVMbAYuSo2xH0Bk,15476
|
|
4
|
-
iparq-0.4.0.dist-info/METADATA,sha256=D6parmkBDsraB3C57YX9yistPxOYK-XHi_nBKJ2BGB0,6019
|
|
5
|
-
iparq-0.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
-
iparq-0.4.0.dist-info/entry_points.txt,sha256=vrE2lwvuheySWTOJdr_gh9AT47ck02WCHo0muRq5HS8,43
|
|
7
|
-
iparq-0.4.0.dist-info/licenses/LICENSE,sha256=apqXCIYD_rrtbJVE-Ex1-1X7N0cBwZTOm4KL3TEFmYA,1067
|
|
8
|
-
iparq-0.4.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|