sas2parquet 0.1.5__py3-none-any.whl → 0.1.6__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.
sas2parquet/convert.py CHANGED
@@ -386,8 +386,14 @@ def main():
386
386
  print(f"\n🗂 Processing: {rel}")
387
387
 
388
388
  # Mirror structure under parquetdata/ (which lives next to sasdata/)
389
- pqf = (PARQUET_INPUT_DIR / rel).with_suffix('.parquet')
390
389
 
390
+ if rel.parent == Path("."):
391
+ pqf = (PARQUET_INPUT_DIR / rel.name).with_suffix(".parquet")
392
+ else:
393
+ parquet_dirs = [f"{p}_parquet" for p in rel.parent.parts]
394
+ pqf = (PARQUET_INPUT_DIR.joinpath(*parquet_dirs) / rel.name).with_suffix(".parquet")
395
+
396
+
391
397
  reconvert_file_ultimate(sas, pqf)
392
398
  print("-"*60)
393
399
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sas2parquet
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: SAS → Parquet Hybrid Converter & Validator
5
5
  License-File: LICENSE
6
6
  Author: Zaman Ziabakhshganji
@@ -0,0 +1,8 @@
1
+ sas2parquet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ sas2parquet/cli.py,sha256=Gap4-lrHE3a-tOTRljqmRP6uX-epLFHnOYN0pdffU-g,879
3
+ sas2parquet/convert.py,sha256=ukR3HYJDd2iP8OIWeSG7JfEU9fFEtsVlrI5nmLlrTbk,15003
4
+ sas2parquet-0.1.6.dist-info/METADATA,sha256=9PRULg9IC02oxnQUvtdRjnmWz5JYcQ2NnhYQ9P7rWSI,3786
5
+ sas2parquet-0.1.6.dist-info/WHEEL,sha256=3ny-bZhpXrU6vSQ1UPG34FoxZBp3lVcvK0LkgUz6VLk,88
6
+ sas2parquet-0.1.6.dist-info/entry_points.txt,sha256=pg57h0xD_3R9ZC_YfxLLfu_2p1JNhF8xDNS6v7kiSBY,52
7
+ sas2parquet-0.1.6.dist-info/licenses/LICENSE,sha256=ouRycIMUGF1zCj49-ijn1wIlTNknZEoLwAHUp0ifH-g,1066
8
+ sas2parquet-0.1.6.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- sas2parquet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- sas2parquet/cli.py,sha256=Gap4-lrHE3a-tOTRljqmRP6uX-epLFHnOYN0pdffU-g,879
3
- sas2parquet/convert.py,sha256=bHfdtaI1sSeCSHKqARuuvbwgrNfnH1G_odKSEmVbNrI,14736
4
- sas2parquet-0.1.5.dist-info/METADATA,sha256=nJNYKUGDINBS4M0Et6r2NRruczmd_v1NepPi5xdTHnU,3786
5
- sas2parquet-0.1.5.dist-info/WHEEL,sha256=3ny-bZhpXrU6vSQ1UPG34FoxZBp3lVcvK0LkgUz6VLk,88
6
- sas2parquet-0.1.5.dist-info/entry_points.txt,sha256=pg57h0xD_3R9ZC_YfxLLfu_2p1JNhF8xDNS6v7kiSBY,52
7
- sas2parquet-0.1.5.dist-info/licenses/LICENSE,sha256=ouRycIMUGF1zCj49-ijn1wIlTNknZEoLwAHUp0ifH-g,1066
8
- sas2parquet-0.1.5.dist-info/RECORD,,