csv-detective 0.8.1.dev1482__py3-none-any.whl → 0.8.1.dev1491__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.
csv_detective/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- from .explore_csv import routine, routine_minio, validate_then_detect # noqa
2
- from .output.example import create_example_csv_file # noqa
1
+ from csv_detective.explore_csv import routine, routine_minio, validate_then_detect # noqa
2
+ from csv_detective.output.example import create_example_csv_file # noqa
3
3
 
4
4
  __version__ = '0.8.1.dev'
csv_detective/cli.py CHANGED
@@ -4,7 +4,7 @@ Command line client for csv_detective
4
4
 
5
5
  import argparse
6
6
  import json
7
- from .explore_csv import routine
7
+ from csv_detective.explore_csv import routine
8
8
 
9
9
 
10
10
  def run():
@@ -7,12 +7,12 @@ from typing import Optional, Union
7
7
 
8
8
  import pandas as pd
9
9
 
10
- from .detection.formats import detect_formats
11
- from .output import generate_output, generate_table_schema
12
- from .parsing.load import load_file
13
- from .s3_utils import download_from_minio, upload_to_minio
14
- from .utils import display_logs_depending_process_time, is_url
15
- from .validate import validate
10
+ from csv_detective.detection.formats import detect_formats
11
+ from csv_detective.output import generate_output, generate_table_schema
12
+ from csv_detective.parsing.load import load_file
13
+ from csv_detective.s3_utils import download_from_minio, upload_to_minio
14
+ from csv_detective.utils import display_logs_depending_process_time, is_url
15
+ from csv_detective.validate import validate
16
16
 
17
17
  logging.basicConfig(level=logging.INFO)
18
18
 
csv_detective/validate.py CHANGED
@@ -4,7 +4,7 @@ from typing import Optional, Union
4
4
  import pandas as pd
5
5
 
6
6
  from csv_detective.load_tests import return_all_tests
7
- from .parsing.load import load_file
7
+ from csv_detective.parsing.load import load_file
8
8
 
9
9
  logging.basicConfig(level=logging.INFO)
10
10
 
@@ -6,7 +6,7 @@
6
6
  - Refactor repo metadata and requirements [#120](https://github.com/datagouv/csv-detective/pull/120) [#122](https://github.com/datagouv/csv-detective/pull/122)
7
7
  - Better URL detection [#121](https://github.com/datagouv/csv-detective/pull/121)
8
8
  - For big files, analyse on sample then validate on whole file [#124](https://github.com/datagouv/csv-detective/pull/124)
9
- - Fix imports [#125](https://github.com/datagouv/csv-detective/pull/125) [#126](https://github.com/datagouv/csv-detective/pull/126)
9
+ - Fix imports [#125](https://github.com/datagouv/csv-detective/pull/125) [#126](https://github.com/datagouv/csv-detective/pull/126) [#127](https://github.com/datagouv/csv-detective/pull/127)
10
10
 
11
11
  ## 0.8.0 (2025-05-20)
12
12
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: csv_detective
3
- Version: 0.8.1.dev1482
3
+ Version: 0.8.1.dev1491
4
4
  Summary: Detect tabular files column content
5
5
  Home-page: https://github.com/datagouv/csv_detective
6
6
  Author: Etalab
@@ -1,10 +1,10 @@
1
- csv_detective/__init__.py,sha256=fxctDlEyUexNk_ePriWu6V05xZEeirMV0v_StnEZ8vQ,165
2
- csv_detective/cli.py,sha256=itooHtpyfC6DUsL_DchPKe1xo7m0MYJIp1L4R8eqoTk,1401
3
- csv_detective/explore_csv.py,sha256=YxXgaUqUNdAGsU8bC-cs_TVvSza4wc4aMJQjWRkRT5s,9144
1
+ csv_detective/__init__.py,sha256=TwRP1gozmEmweSbK-lqihSsb-EqmCFSKUnJXz2x-dHE,191
2
+ csv_detective/cli.py,sha256=VNztFz2nc90E3zkghF8PYtXTEZ6TrBSCQMi9v1ljkJs,1414
3
+ csv_detective/explore_csv.py,sha256=VEeAJaz3FPOmGmQ-Yuf3FuSRRPULM03FrTf3qwZX52s,9222
4
4
  csv_detective/load_tests.py,sha256=GILvfkd4OVI-72mA4nzbPlZqgcXZ4wznOhGfZ1ucWkM,2385
5
5
  csv_detective/s3_utils.py,sha256=1cIVdQUYY2ovErbMwp72Gqtqx2bkB8nfVhn-QaOFTT0,1451
6
6
  csv_detective/utils.py,sha256=-tIs9yV7RJPGj65lQ7LjRGch6Iws9UeuIPQsd2uUUJM,1025
7
- csv_detective/validate.py,sha256=4e7f8bNXPU9GqNx4QXXiaoINyotozbL52JB6psVAjyY,2631
7
+ csv_detective/validate.py,sha256=d_4Phmjk6Y0Z0YYVw4vpoZy8E79K370reGgkpzx1mcQ,2644
8
8
  csv_detective/detect_fields/__init__.py,sha256=7Tz0Niaz0BboA3YVsp_6WPA6ywciwDN4-lOy_Ie_0Y8,976
9
9
  csv_detective/detect_fields/FR/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  csv_detective/detect_fields/FR/geo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -143,10 +143,10 @@ csv_detective/parsing/csv.py,sha256=11mibDnJhIjykXLGZvA5ZEU5U7KgxIrbyO6BNv6jlro,
143
143
  csv_detective/parsing/excel.py,sha256=AslE2S1e67o8yTIAIhp-lAnJ6-XqeBBRz1-VMFqhZBM,7055
144
144
  csv_detective/parsing/load.py,sha256=u6fbGFZsL2GwPQRzhAXgt32JpUur7vbQdErREHxNJ-w,3661
145
145
  csv_detective/parsing/text.py,sha256=_TprGi0gHZlRsafizI3dqQhBehZW4BazqxmypMcAZ-o,1824
146
- csv_detective-0.8.1.dev1482.data/data/share/csv_detective/CHANGELOG.md,sha256=0kXmJeSwiHMY4mSOOtaZJ739S_Aj4ojWAzsJXYR_T98,8857
147
- csv_detective-0.8.1.dev1482.data/data/share/csv_detective/LICENSE,sha256=A1dQrzxyxRHRih02KwibWj1khQyF7GeA6SqdOU87Gk4,1088
148
- csv_detective-0.8.1.dev1482.data/data/share/csv_detective/README.md,sha256=gKLFmC8kuCCywS9eAhMak_JNriUWWNOsBKleAu5TIEY,8501
149
- csv_detective-0.8.1.dev1482.dist-info/licenses/LICENSE,sha256=A1dQrzxyxRHRih02KwibWj1khQyF7GeA6SqdOU87Gk4,1088
146
+ csv_detective-0.8.1.dev1491.data/data/share/csv_detective/CHANGELOG.md,sha256=cfs5oHz9y-jeXsxyJ8tImHbpUVxtRdLmB03om8a0rco,8916
147
+ csv_detective-0.8.1.dev1491.data/data/share/csv_detective/LICENSE,sha256=A1dQrzxyxRHRih02KwibWj1khQyF7GeA6SqdOU87Gk4,1088
148
+ csv_detective-0.8.1.dev1491.data/data/share/csv_detective/README.md,sha256=gKLFmC8kuCCywS9eAhMak_JNriUWWNOsBKleAu5TIEY,8501
149
+ csv_detective-0.8.1.dev1491.dist-info/licenses/LICENSE,sha256=A1dQrzxyxRHRih02KwibWj1khQyF7GeA6SqdOU87Gk4,1088
150
150
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
151
151
  tests/test_example.py,sha256=JeHxSK0IVDcSrOhSZlNGSQv4JAc_r6mzvJM8PfmLTMw,2018
152
152
  tests/test_fields.py,sha256=d2tNvjtal6ZbO646x1GDbp_CGgp-EIcdg2SgMG72J6E,10270
@@ -154,8 +154,8 @@ tests/test_file.py,sha256=FWVtYHlD5uU7tPeYsqlQg6O4lpU8Ct35vddkbzhvvjA,8508
154
154
  tests/test_labels.py,sha256=Nkr645bUewrj8hjNDKr67FQ6Sy_TID6f3E5Kfkl231M,464
155
155
  tests/test_structure.py,sha256=bv-tjgXohvQAxwmxzH0BynFpK2TyPjcxvtIAmIRlZmA,1393
156
156
  tests/test_validation.py,sha256=CTGonR6htxcWF9WH8MxumDD8cF45Y-G4hm94SM4lFjU,3246
157
- csv_detective-0.8.1.dev1482.dist-info/METADATA,sha256=xigKiWIsWZoH2rUZ0JGfvKW7eGm72SFQ1d7uFzWQcKs,10443
158
- csv_detective-0.8.1.dev1482.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
159
- csv_detective-0.8.1.dev1482.dist-info/entry_points.txt,sha256=JjweTReFqKJmuvkegzlew2j3D5pZzfxvbEGOtGVGmaY,56
160
- csv_detective-0.8.1.dev1482.dist-info/top_level.txt,sha256=M0Nv646VHo-49zWjPkwo2C48UmtfddV8_9mEZeIxy8Q,20
161
- csv_detective-0.8.1.dev1482.dist-info/RECORD,,
157
+ csv_detective-0.8.1.dev1491.dist-info/METADATA,sha256=x0WDskrI4p-HHHSGpBBXmYgF010VKmFUG59dadKSXYI,10443
158
+ csv_detective-0.8.1.dev1491.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
159
+ csv_detective-0.8.1.dev1491.dist-info/entry_points.txt,sha256=JjweTReFqKJmuvkegzlew2j3D5pZzfxvbEGOtGVGmaY,56
160
+ csv_detective-0.8.1.dev1491.dist-info/top_level.txt,sha256=M0Nv646VHo-49zWjPkwo2C48UmtfddV8_9mEZeIxy8Q,20
161
+ csv_detective-0.8.1.dev1491.dist-info/RECORD,,