pathpilot 0.4.2__tar.gz → 0.4.3__tar.gz
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.
- {pathpilot-0.4.2 → pathpilot-0.4.3}/PKG-INFO +5 -7
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/__init__.py +1 -1
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/kinds/_csv.py +1 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/kinds/_excel.py +10 -4
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pyproject.toml +5 -4
- {pathpilot-0.4.2 → pathpilot-0.4.3}/LICENSE +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/README.md +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/__init__.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/_utils.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/base/__init__.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/base/_decorators.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/base/core.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/base/df_dispatch_file.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/kinds/__init__.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/kinds/_parquet.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/kinds/_pickle.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/kinds/_sqlite.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/kinds/_text.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/kinds/_zip.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_file/utils.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_folder/__init__.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_folder/backup.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_folder/folder/__init__.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_folder/folder/_contents/__init__.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_folder/folder/_contents/base.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_folder/folder/_contents/files.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_folder/folder/_contents/subfolders.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_folder/folder/core.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_folder/utils.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/_utils.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/config.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/core.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/decorators.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/exceptions.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/path.py +0 -0
- {pathpilot-0.4.2 → pathpilot-0.4.3}/pathpilot/utils.py +0 -0
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pathpilot
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Library that facilitates file and folder manipulation in Python.
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
7
7
|
Author: Zachary Einck
|
|
8
8
|
Author-email: zacharyeinck@gmail.com
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.11,<4.0
|
|
10
10
|
Classifier: License :: OSI Approved :: MIT License
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
15
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
15
|
Classifier: Programming Language :: Python :: 3.14
|
|
19
16
|
Requires-Dist: XlsxWriter
|
|
20
17
|
Requires-Dist: cachegrab (>=0.2.2)
|
|
21
|
-
Requires-Dist: clockwork (>=0.
|
|
18
|
+
Requires-Dist: clockwork (>=0.6.0)
|
|
19
|
+
Requires-Dist: fastexcel
|
|
22
20
|
Requires-Dist: numpy
|
|
23
|
-
Requires-Dist: oddments (>=0.
|
|
21
|
+
Requires-Dist: oddments (>=0.9.0)
|
|
24
22
|
Requires-Dist: pandas
|
|
25
23
|
Requires-Dist: polars
|
|
26
24
|
Project-URL: Homepage, https://github.com/zteinck/pathpilot
|
|
@@ -854,7 +854,7 @@ class ExcelFile(DfDispatchFile):
|
|
|
854
854
|
if (
|
|
855
855
|
isinstance(k, str)
|
|
856
856
|
and odd.column_name_is_datelike(k)
|
|
857
|
-
and not
|
|
857
|
+
and not pd.api.types.is_timedelta64_dtype(df[k])
|
|
858
858
|
):
|
|
859
859
|
datelike_columns.add(k)
|
|
860
860
|
|
|
@@ -928,8 +928,10 @@ class ExcelFile(DfDispatchFile):
|
|
|
928
928
|
datetime_columns = set()
|
|
929
929
|
|
|
930
930
|
for k in list(datelike_columns):
|
|
931
|
-
if
|
|
932
|
-
|
|
931
|
+
if (
|
|
932
|
+
pd.api.types.is_datetime64_any_dtype(df[k])
|
|
933
|
+
or df[k].isna().all()
|
|
934
|
+
):
|
|
933
935
|
continue
|
|
934
936
|
|
|
935
937
|
fmt = date_formats.get(k)
|
|
@@ -1325,7 +1327,11 @@ class ExcelFile(DfDispatchFile):
|
|
|
1325
1327
|
|
|
1326
1328
|
|
|
1327
1329
|
def _read_with_pandas(self, **kwargs):
|
|
1328
|
-
|
|
1330
|
+
defaults = {
|
|
1331
|
+
'keep_default_na': False,
|
|
1332
|
+
'na_values': [''],
|
|
1333
|
+
}
|
|
1334
|
+
params = defaults | kwargs
|
|
1329
1335
|
return pd.read_excel(self.path, **params)
|
|
1330
1336
|
|
|
1331
1337
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "pathpilot"
|
|
3
|
-
version = "0.4.
|
|
3
|
+
version = "0.4.3"
|
|
4
4
|
description = "Library that facilitates file and folder manipulation in Python."
|
|
5
5
|
authors = ["Zachary Einck <zacharyeinck@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -9,14 +9,15 @@ repository = "https://github.com/zteinck/pathpilot"
|
|
|
9
9
|
homepage = "https://github.com/zteinck/pathpilot"
|
|
10
10
|
|
|
11
11
|
[tool.poetry.dependencies]
|
|
12
|
-
python = "^3.
|
|
13
|
-
clockwork = ">=0.
|
|
12
|
+
python = "^3.11"
|
|
13
|
+
clockwork = ">=0.6.0"
|
|
14
14
|
cachegrab = ">=0.2.2"
|
|
15
|
-
oddments = ">=0.
|
|
15
|
+
oddments = ">=0.9.0"
|
|
16
16
|
polars = "*"
|
|
17
17
|
pandas = "*"
|
|
18
18
|
numpy = "*"
|
|
19
19
|
XlsxWriter = "*"
|
|
20
|
+
fastexcel = "*"
|
|
20
21
|
|
|
21
22
|
[build-system]
|
|
22
23
|
requires = ["poetry-core"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|