csv-detective 0.10.1.dev2576__py3-none-any.whl → 0.10.1.dev2581__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/formats/datetime_aware.py +5 -1
- csv_detective/formats/datetime_naive.py +2 -0
- {csv_detective-0.10.1.dev2576.dist-info → csv_detective-0.10.1.dev2581.dist-info}/METADATA +1 -1
- {csv_detective-0.10.1.dev2576.dist-info → csv_detective-0.10.1.dev2581.dist-info}/RECORD +6 -6
- {csv_detective-0.10.1.dev2576.dist-info → csv_detective-0.10.1.dev2581.dist-info}/WHEEL +0 -0
- {csv_detective-0.10.1.dev2576.dist-info → csv_detective-0.10.1.dev2581.dist-info}/entry_points.txt +0 -0
|
@@ -12,7 +12,9 @@ pat = (
|
|
|
12
12
|
+ r"(T|\s)(0\d|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])(.\d{1,6})"
|
|
13
13
|
+ r"?(([+-](0\d|1[0-9]|2[0-3]):([0-5][0-9]))|Z)$"
|
|
14
14
|
)
|
|
15
|
-
|
|
15
|
+
# date_casting is very (too?) good at finding date(time)s where there sometimes is just a number
|
|
16
|
+
# this prefix check asserts we only consider strings that have a somewhat fine structure trying to cast
|
|
17
|
+
prefix = r"^\d{2}[-/:]?\d{2}"
|
|
16
18
|
|
|
17
19
|
|
|
18
20
|
def _is(val):
|
|
@@ -41,6 +43,8 @@ _test_values = {
|
|
|
41
43
|
"2000-12-21 10:20:10.1Z",
|
|
42
44
|
"2024-12-19T10:53:36.428000+00:00",
|
|
43
45
|
"1996/06/22 10:20:10 GMT",
|
|
46
|
+
"12/31/2022 12:00:00-04:00",
|
|
47
|
+
"12:00:00-04:00 12/31/2022",
|
|
44
48
|
],
|
|
45
49
|
False: [
|
|
46
50
|
"2021-06-22T30:20:10",
|
|
@@ -33,8 +33,8 @@ csv_detective/formats/data/iso_country_code_alpha3.txt,sha256=aYqKSohgXuBtcIBfF5
|
|
|
33
33
|
csv_detective/formats/data/iso_country_code_numeric.txt,sha256=2GtEhuporsHYV-pU4q9kfXU5iOtfW5C0GYBTTKQtnnA,1004
|
|
34
34
|
csv_detective/formats/date.py,sha256=X4ohXaFO8cXPJktUSumc3bfdlbDIWEYTG8S9ugVRcsE,2730
|
|
35
35
|
csv_detective/formats/date_fr.py,sha256=3hTw5RommrhcgECFRSt9KgyB9zyi1j4W3UygEHmRgoE,502
|
|
36
|
-
csv_detective/formats/datetime_aware.py,sha256=
|
|
37
|
-
csv_detective/formats/datetime_naive.py,sha256=
|
|
36
|
+
csv_detective/formats/datetime_aware.py,sha256=DhDaJE-ILzSJr9EH2c-t0ZSfWlUOXwzK_MXYbSnj-bE,1877
|
|
37
|
+
csv_detective/formats/datetime_naive.py,sha256=2eN7XFs6rRAovMjB-cThZJkbnek1bK16qYP8crJtCqI,1655
|
|
38
38
|
csv_detective/formats/datetime_rfc822.py,sha256=l-SLb34hSuHxC2JQ-9SD-nG38JqzoozwUZiGtoybb0A,601
|
|
39
39
|
csv_detective/formats/departement.py,sha256=UP9UF23BFq_-mIS8N10K5XkoCXwPmDeSoa_7lCAkI4w,768
|
|
40
40
|
csv_detective/formats/email.py,sha256=Qen2EBDYY5TtWXwxrrTGWRrbIybz0ySlVpl4ZRk8pzA,517
|
|
@@ -86,7 +86,7 @@ csv_detective/parsing/load.py,sha256=f-8aKiNpy_47qg4Lq-UZUR4NNrbJ_-KEGvcUQZ8cmb0
|
|
|
86
86
|
csv_detective/parsing/text.py,sha256=uz8wfmNTQnOd_4fjrIZ_5rxmFmgrg343hJh2szB73Hc,1770
|
|
87
87
|
csv_detective/utils.py,sha256=RJ_zFOJ1DRY8HtDrKPiCdNk5gU6-KwOrOKOyfSkBZZY,1118
|
|
88
88
|
csv_detective/validate.py,sha256=CjZXhhDP-n6wGgEqbwrGRqebU8L5bidwnvQp-TbnvFA,5424
|
|
89
|
-
csv_detective-0.10.1.
|
|
90
|
-
csv_detective-0.10.1.
|
|
91
|
-
csv_detective-0.10.1.
|
|
92
|
-
csv_detective-0.10.1.
|
|
89
|
+
csv_detective-0.10.1.dev2581.dist-info/WHEEL,sha256=z-mOpxbJHqy3cq6SvUThBZdaLGFZzdZPtgWLcP2NKjQ,79
|
|
90
|
+
csv_detective-0.10.1.dev2581.dist-info/entry_points.txt,sha256=1J86TQNCanjsLMboAufdEUla03qEQaC9QmVGYgt2FCQ,57
|
|
91
|
+
csv_detective-0.10.1.dev2581.dist-info/METADATA,sha256=t7kro2nQ_nqJ4k_ZwY1c4lwwiWaiAfRtbXT-V3c8kkw,11064
|
|
92
|
+
csv_detective-0.10.1.dev2581.dist-info/RECORD,,
|
|
File without changes
|
{csv_detective-0.10.1.dev2576.dist-info → csv_detective-0.10.1.dev2581.dist-info}/entry_points.txt
RENAMED
|
File without changes
|