dycw-utilities 0.176.3__py3-none-any.whl → 0.176.4__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.
- {dycw_utilities-0.176.3.dist-info → dycw_utilities-0.176.4.dist-info}/METADATA +2 -2
- {dycw_utilities-0.176.3.dist-info → dycw_utilities-0.176.4.dist-info}/RECORD +6 -6
- utilities/__init__.py +1 -1
- utilities/subprocess.py +8 -3
- {dycw_utilities-0.176.3.dist-info → dycw_utilities-0.176.4.dist-info}/WHEEL +0 -0
- {dycw_utilities-0.176.3.dist-info → dycw_utilities-0.176.4.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: dycw-utilities
|
|
3
|
-
Version: 0.176.
|
|
3
|
+
Version: 0.176.4
|
|
4
4
|
Summary: Miscellaneous Python utilities
|
|
5
5
|
Author: Derek Wan
|
|
6
6
|
Author-email: Derek Wan <d.wan@icloud.com>
|
|
@@ -10,7 +10,7 @@ Requires-Dist: tzlocal>=5.3.1,<6
|
|
|
10
10
|
Requires-Dist: whenever>=0.9.4,<1
|
|
11
11
|
Requires-Dist: coloredlogs>=15.0.1,<16 ; extra == 'logging'
|
|
12
12
|
Requires-Dist: dycw-pytest-only>=2.1.1,<3 ; extra == 'test'
|
|
13
|
-
Requires-Dist: hypothesis>=6.
|
|
13
|
+
Requires-Dist: hypothesis>=6.149.1,<7 ; extra == 'test'
|
|
14
14
|
Requires-Dist: pytest>=9.0.2,<10 ; extra == 'test'
|
|
15
15
|
Requires-Dist: pytest-asyncio>=1.3.0,<2 ; extra == 'test'
|
|
16
16
|
Requires-Dist: pytest-cov>=7.0.0,<8 ; extra == 'test'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
utilities/__init__.py,sha256=
|
|
1
|
+
utilities/__init__.py,sha256=SJhOje1TStT2FY-F-Dfs6lWe6hk-1K8sp3Q6dwJm87Y,60
|
|
2
2
|
utilities/altair.py,sha256=TLfRFbG9HwG7SLXoJ-v0r-t49ZaGgTQZD82cpjVi4vs,9085
|
|
3
3
|
utilities/asyncio.py,sha256=aJySVxBY0gqsIYnoNmH7-1r8djKuf4vSsU69VCD08t8,16772
|
|
4
4
|
utilities/atomicwrites.py,sha256=tPo6r-Rypd9u99u66B9z86YBPpnLrlHtwox_8Z7T34Y,5790
|
|
@@ -80,7 +80,7 @@ utilities/sqlalchemy.py,sha256=HQYpd7LFxdTF5WYVWYtCJeEBI71EJm7ytvCGyAH9B-U,37163
|
|
|
80
80
|
utilities/sqlalchemy_polars.py,sha256=JCGhB37raSR7fqeWV5dTsciRTMVzIdVT9YSqKT0piT0,13370
|
|
81
81
|
utilities/statsmodels.py,sha256=koyiBHvpMcSiBfh99wFUfSggLNx7cuAw3rwyfAhoKpQ,3410
|
|
82
82
|
utilities/string.py,sha256=shmBK87zZwzGyixuNuXCiUbqzfeZ9xlrFwz6JTaRvDk,582
|
|
83
|
-
utilities/subprocess.py,sha256=
|
|
83
|
+
utilities/subprocess.py,sha256=eGRRQF-OXDy2kMSy7dv4fUzcPizvRgGBxYvPh-QVqZo,53980
|
|
84
84
|
utilities/tempfile.py,sha256=4kRGd4hyINDX4hpcYMtwzDcd-4IKjpTWT0MnjnKD4hE,4221
|
|
85
85
|
utilities/testbook.py,sha256=j1KmaVbrX9VrbeMgtPh5gk55myAsn3dyRUn7jGbPbRk,1294
|
|
86
86
|
utilities/text.py,sha256=UKW6xtF4bb0i-Gu1jctJvvQmeXk6U6UYNqoEnCLdaOo,14102
|
|
@@ -97,7 +97,7 @@ utilities/warnings.py,sha256=un1LvHv70PU-LLv8RxPVmugTzDJkkGXRMZTE2-fTQHw,1771
|
|
|
97
97
|
utilities/whenever.py,sha256=F4ek0-OBWxHYrZdmoZt76N2RnNyKY5KrEHt7rqO4AQE,60183
|
|
98
98
|
utilities/zipfile.py,sha256=24lQc9ATcJxHXBPc_tBDiJk48pWyRrlxO2fIsFxU0A8,699
|
|
99
99
|
utilities/zoneinfo.py,sha256=tdIScrTB2-B-LH0ukb1HUXKooLknOfJNwHk10MuMYvA,3619
|
|
100
|
-
dycw_utilities-0.176.
|
|
101
|
-
dycw_utilities-0.176.
|
|
102
|
-
dycw_utilities-0.176.
|
|
103
|
-
dycw_utilities-0.176.
|
|
100
|
+
dycw_utilities-0.176.4.dist-info/WHEEL,sha256=RRVLqVugUmFOqBedBFAmA4bsgFcROUBiSUKlERi0Hcg,79
|
|
101
|
+
dycw_utilities-0.176.4.dist-info/entry_points.txt,sha256=cOGtKeJI0KXLSV7MJ8Dhc2G8jPgDcBDm53MVNJU4ycI,136
|
|
102
|
+
dycw_utilities-0.176.4.dist-info/METADATA,sha256=pJbc4nUEtf3VzoMYkgMGiVlgf1LAV6Yh9eVG-sG9ZVY,1398
|
|
103
|
+
dycw_utilities-0.176.4.dist-info/RECORD,,
|
utilities/__init__.py
CHANGED
utilities/subprocess.py
CHANGED
|
@@ -994,10 +994,15 @@ def _rsync_many_prepare(
|
|
|
994
994
|
case Path():
|
|
995
995
|
cp(src, temp_src / name)
|
|
996
996
|
case str():
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
997
|
+
try:
|
|
998
|
+
exists = Path(src).exists()
|
|
999
|
+
except OSError:
|
|
1000
1000
|
tee(temp_src / name, src)
|
|
1001
|
+
else:
|
|
1002
|
+
if exists:
|
|
1003
|
+
cp(src, temp_src / name)
|
|
1004
|
+
else:
|
|
1005
|
+
tee(temp_src / name, src)
|
|
1001
1006
|
case never:
|
|
1002
1007
|
assert_never(never)
|
|
1003
1008
|
cmds: list[list[str]] = [
|
|
File without changes
|
|
File without changes
|