framework-py 0.1.0.dev16__py3-none-any.whl → 0.1.0.dev17__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.
- framework/_pages.py +5 -1
- framework/create.py +5 -1
- framework/hooks.py +6 -1
- framework/scaffold.py +3 -1
- {framework_py-0.1.0.dev16.dist-info → framework_py-0.1.0.dev17.dist-info}/METADATA +1 -1
- {framework_py-0.1.0.dev16.dist-info → framework_py-0.1.0.dev17.dist-info}/RECORD +8 -8
- {framework_py-0.1.0.dev16.dist-info → framework_py-0.1.0.dev17.dist-info}/WHEEL +0 -0
- {framework_py-0.1.0.dev16.dist-info → framework_py-0.1.0.dev17.dist-info}/licenses/LICENSE +0 -0
framework/_pages.py
CHANGED
|
@@ -36,7 +36,11 @@ class _Remote:
|
|
|
36
36
|
|
|
37
37
|
def _git(top: Path, *args: str) -> subprocess.CompletedProcess[str]:
|
|
38
38
|
return subprocess.run(
|
|
39
|
-
["git", "-C", str(top), *args],
|
|
39
|
+
["git", "-C", str(top), *args],
|
|
40
|
+
capture_output=True,
|
|
41
|
+
encoding="utf-8",
|
|
42
|
+
errors="replace",
|
|
43
|
+
check=False,
|
|
40
44
|
)
|
|
41
45
|
|
|
42
46
|
|
framework/create.py
CHANGED
|
@@ -403,7 +403,11 @@ def _git_init(root: Path) -> None:
|
|
|
403
403
|
|
|
404
404
|
def git(*args: str) -> subprocess.CompletedProcess[str]:
|
|
405
405
|
return subprocess.run(
|
|
406
|
-
["git", "-C", str(root), *args],
|
|
406
|
+
["git", "-C", str(root), *args],
|
|
407
|
+
capture_output=True,
|
|
408
|
+
encoding="utf-8",
|
|
409
|
+
errors="replace",
|
|
410
|
+
check=False,
|
|
407
411
|
)
|
|
408
412
|
|
|
409
413
|
from framework.hooks import git_hooks_install, outer_repository
|
framework/hooks.py
CHANGED
|
@@ -132,8 +132,13 @@ def _hook_name(name: str) -> str:
|
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
def _git(root: Path, *args: str) -> subprocess.CompletedProcess[str]:
|
|
135
|
+
# git writes paths as UTF-8, whatever the locale (cp1252 on Windows)
|
|
135
136
|
return subprocess.run(
|
|
136
|
-
["git", "-C", str(root), *args],
|
|
137
|
+
["git", "-C", str(root), *args],
|
|
138
|
+
capture_output=True,
|
|
139
|
+
encoding="utf-8",
|
|
140
|
+
errors="replace",
|
|
141
|
+
check=False,
|
|
137
142
|
)
|
|
138
143
|
|
|
139
144
|
|
framework/scaffold.py
CHANGED
|
@@ -268,7 +268,9 @@ def _create_private_folders(root: Path, config: dict[str, Any]) -> list[str]:
|
|
|
268
268
|
def _git(*args: str) -> str | None:
|
|
269
269
|
if shutil.which("git") is None:
|
|
270
270
|
return None
|
|
271
|
-
result = subprocess.run(
|
|
271
|
+
result = subprocess.run(
|
|
272
|
+
["git", *args], capture_output=True, encoding="utf-8", errors="replace", check=False
|
|
273
|
+
)
|
|
272
274
|
return result.stdout.strip() if result.returncode == 0 else None
|
|
273
275
|
|
|
274
276
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: framework-py
|
|
3
|
-
Version: 0.1.0.
|
|
3
|
+
Version: 0.1.0.dev17
|
|
4
4
|
Summary: Structured data science projects: a data catalog, integrity tracking, caching, outputs, and AI guardrails
|
|
5
5
|
Project-URL: Homepage, https://framework.pub
|
|
6
6
|
Project-URL: Source, https://github.com/frameworktools/framework-py
|
|
@@ -10,7 +10,7 @@ framework/_gitignore.py,sha256=U4bkdGwXzt-IfGtoH2K5-Yg43I51w45rflRxQLcWqPQ,6628
|
|
|
10
10
|
framework/_identifiers.py,sha256=1jarqO2hG9E-GAv8rCKfc-f27NKLJFtAligUj7beEak,5951
|
|
11
11
|
framework/_keychain.py,sha256=9QW8dFDhgy0knWCCu9blttIe_nCG0UhdY77wrVa1h6M,2798
|
|
12
12
|
framework/_log.py,sha256=ZgLaWbjiXK7Cybd_mWGURb4OOGaAAYsB6NkR15W3nnk,1160
|
|
13
|
-
framework/_pages.py,sha256=
|
|
13
|
+
framework/_pages.py,sha256=DFVXarSAYu7V_O3o1hjzYvI5Qa59KqG4GPnDvNTztrA,12561
|
|
14
14
|
framework/_paths.py,sha256=tek8DAVJBkWHcumkabwMTp-APadaTzHe8IgHi2l7xpw,3456
|
|
15
15
|
framework/_private.py,sha256=wc3W6WivkFsfGoR6AJFS4khy17nLzC9zQaPrW_kMVLE,14641
|
|
16
16
|
framework/_secretservice.py,sha256=zv5UvEekQic466qRmVpLG_hfEkisikHfab8e6kyzS2k,2450
|
|
@@ -29,7 +29,7 @@ framework/cloud.py,sha256=lP1cMvo2ftH_fOhLams2bPvP1_AFKWgS7_m4wSTl9UI,63864
|
|
|
29
29
|
framework/config_home.py,sha256=iSb0VuENgNOSnsZ_v53xFqjRiGgrB7OzZbHbyDOqKzs,8265
|
|
30
30
|
framework/connections.py,sha256=EUkWtuQKW7X-BLJOKXzSbVTSNE6raxjV_GuIELjAOSY,32439
|
|
31
31
|
framework/console.py,sha256=zQ0LuFDcxe1W1kuc5E1bJ03h8d3cvwFoqDT8dAJQyN0,1267
|
|
32
|
-
framework/create.py,sha256=
|
|
32
|
+
framework/create.py,sha256=eLg6gCSIEWpiQfRhIRdqXXFIuR9bvEA-aF-dEvk-KRA,52506
|
|
33
33
|
framework/data.py,sha256=5EwVKFwXABIhbEuf2MsvS8v_yJJ27upG0itSYA6N5mo,31557
|
|
34
34
|
framework/db.py,sha256=Wruez2V352xA3gjk5RcUi_0zncFsDwTs9Gwa2hXBY3Y,8099
|
|
35
35
|
framework/display.py,sha256=0FuKUt67uf5h1WjD4bwzoruc2XAN4y_j3mz_f5FskhE,5334
|
|
@@ -37,7 +37,7 @@ framework/dotenv.py,sha256=6YQVR8d0CnHXHAYxvP3E4Am4Ei9mzqN2g63w_ft7qa0,4642
|
|
|
37
37
|
framework/errors.py,sha256=M0bQwnaBH_DE5n5QgHp_0S-SEwMeUxh9Kbx7n2wrVzw,1201
|
|
38
38
|
framework/features.py,sha256=abwC9XCdC0Mm-WFBN-Qw7ztBiFm_mWLqftl7MTNWjc8,7595
|
|
39
39
|
framework/global_config.py,sha256=fYLaxN_6Wc2xrIASn77dWkvGR3uuX-111bvfFPB82A4,11036
|
|
40
|
-
framework/hooks.py,sha256=
|
|
40
|
+
framework/hooks.py,sha256=7FbEWBeMaI0QG7lW1myc3KjVmHd92MqhNjuFoTv1OFQ,21204
|
|
41
41
|
framework/integrity.py,sha256=2hXk95tlNGs6HVTFA0AqcPWQg2AiO6Hy0APMIXHpCTU,586
|
|
42
42
|
framework/notebooks.py,sha256=nBPDgZOSPZzTHaYvvXgyC_P2KXo7Zv471h47cvYOirA,21008
|
|
43
43
|
framework/outputs.py,sha256=8CcKKedgR8rrgIgQP96l5x-geEGOoCnGIW3Ywq19oYc,27200
|
|
@@ -46,7 +46,7 @@ framework/project.py,sha256=1aMzfqLZVkxdImyG3ZQcI-ayfV7Rc3Lrqv1JCsY0GVI,5719
|
|
|
46
46
|
framework/publish_bundle.py,sha256=0vOrLZXSbdV2Fl05smq-2-04Fsts0na3rB_Y0mCOcuY,28802
|
|
47
47
|
framework/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
48
48
|
framework/quarto.py,sha256=FkzXmjd4gngH7CY3g6qs1UZOhU57_TFcn29tc-E6Aqo,17653
|
|
49
|
-
framework/scaffold.py,sha256=
|
|
49
|
+
framework/scaffold.py,sha256=tmNoe2SyGZxY20hTszymUzBo71Ht_cg9F_J8hbjicsY,14750
|
|
50
50
|
framework/scratch.py,sha256=idxthUR5BIMX7FIGS7KzIuhOrO3-HKLbBsV8It3EEE4,3890
|
|
51
51
|
framework/security.py,sha256=-x66bSIIE_xOzkTf5Ojt7xIECKuAIpKVJZ5TtIGrwys,51147
|
|
52
52
|
framework/settings.py,sha256=Sb2YyE53aYLWPj423P-pQVCvRpLsiHydgZh2K0luTQQ,23893
|
|
@@ -126,7 +126,7 @@ framework/templates/stubs/notebook-default.qmd,sha256=8Js1S2BcHYeQWmJS-kt31gBvIj
|
|
|
126
126
|
framework/templates/stubs/notebook-minimal.qmd,sha256=2U2k8judffhrh_6m6r6OAbQBCYEtViAjeKRBqBYCJTM,178
|
|
127
127
|
framework/templates/stubs/notebook-revealjs.qmd,sha256=_ztT_gHoudpB5DIjlbvtB5zQ8163DeV8xbWcT-HgJrI,409
|
|
128
128
|
framework/templates/stubs/script-default.py,sha256=vbWqgW0_rHot17mQC3tYb92g_9L-cbTOeL3y99BRrSk,216
|
|
129
|
-
framework_py-0.1.0.
|
|
130
|
-
framework_py-0.1.0.
|
|
131
|
-
framework_py-0.1.0.
|
|
132
|
-
framework_py-0.1.0.
|
|
129
|
+
framework_py-0.1.0.dev17.dist-info/METADATA,sha256=dh3sEc67dRGs34ulNrNPgs2ScsB4lrGDcMf56o2dATI,4281
|
|
130
|
+
framework_py-0.1.0.dev17.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
131
|
+
framework_py-0.1.0.dev17.dist-info/licenses/LICENSE,sha256=giOOgSwALkZimC7uhLZQK8Untez641bLW1-2-Cjvmq0,1072
|
|
132
|
+
framework_py-0.1.0.dev17.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|