DeepFabric 4.10.1__py3-none-any.whl → 4.11.0__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.
- deepfabric/cli.py +83 -27
- deepfabric/cloud_upload.py +1 -1
- deepfabric/config.py +6 -4
- deepfabric/constants.py +1 -1
- deepfabric/dataset_manager.py +264 -62
- deepfabric/generator.py +687 -82
- deepfabric/graph.py +25 -1
- deepfabric/llm/retry_handler.py +28 -9
- deepfabric/progress.py +42 -0
- deepfabric/topic_manager.py +22 -2
- deepfabric/topic_model.py +26 -0
- deepfabric/tree.py +41 -16
- deepfabric/tui.py +448 -349
- deepfabric/utils.py +4 -1
- {deepfabric-4.10.1.dist-info → deepfabric-4.11.0.dist-info}/METADATA +3 -1
- {deepfabric-4.10.1.dist-info → deepfabric-4.11.0.dist-info}/RECORD +19 -19
- {deepfabric-4.10.1.dist-info → deepfabric-4.11.0.dist-info}/licenses/LICENSE +1 -1
- {deepfabric-4.10.1.dist-info → deepfabric-4.11.0.dist-info}/WHEEL +0 -0
- {deepfabric-4.10.1.dist-info → deepfabric-4.11.0.dist-info}/entry_points.txt +0 -0
deepfabric/utils.py
CHANGED
|
@@ -324,7 +324,10 @@ def check_dir_writable(path: str, path_description: str) -> tuple[bool, str | No
|
|
|
324
324
|
return False, f"{path_description} cannot be created (root does not exist): {path}"
|
|
325
325
|
|
|
326
326
|
if not os.access(ancestor, os.W_OK):
|
|
327
|
-
return
|
|
327
|
+
return (
|
|
328
|
+
False,
|
|
329
|
+
f"{path_description} cannot be created (no write access to {ancestor}): {path}",
|
|
330
|
+
)
|
|
328
331
|
|
|
329
332
|
return True, None
|
|
330
333
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: DeepFabric
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.11.0
|
|
4
4
|
Summary: Curate High Quality Datasets, Train, Evaluate and Ship
|
|
5
5
|
Author-email: DeepFabric Team <oss@alwaysfurther.ai>
|
|
6
6
|
License-File: LICENSE
|
|
@@ -29,9 +29,11 @@ Requires-Dist: transformers==5.0.0
|
|
|
29
29
|
Provides-Extra: dev
|
|
30
30
|
Requires-Dist: bandit>=1.7.10; extra == 'dev'
|
|
31
31
|
Requires-Dist: mermaid-py>=0.2.0; extra == 'dev'
|
|
32
|
+
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
|
|
32
33
|
Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
|
|
33
34
|
Requires-Dist: pytest-httpx>=0.30.0; extra == 'dev'
|
|
34
35
|
Requires-Dist: pytest-mock>=3.10.0; extra == 'dev'
|
|
36
|
+
Requires-Dist: pytest-rerunfailures>=14.0; extra == 'dev'
|
|
35
37
|
Requires-Dist: pytest>=7.0.0; extra == 'dev'
|
|
36
38
|
Requires-Dist: requests-mock>=1.11.0; extra == 'dev'
|
|
37
39
|
Requires-Dist: ruff>=0.1.0; extra == 'dev'
|
|
@@ -3,32 +3,32 @@ deepfabric/__main__.py,sha256=Ojx6VFnAWx4wY52VehsWhW85IaEmPb8FP_sGvOk628g,113
|
|
|
3
3
|
deepfabric/auth.py,sha256=7UEvk84XPx7wiXj0QfhIH_MJ5BlI7wQHodwgd4LPO80,12977
|
|
4
4
|
deepfabric/builders.py,sha256=2-tJh0_yzGqcBn8qRy3ocd5qIhBciwLsGPiqP1PK75w,10821
|
|
5
5
|
deepfabric/builders_agent.py,sha256=youDxc8tWJF0DbA3Al-6zcswx68gcI7z9Gz7hPsDTJo,28326
|
|
6
|
-
deepfabric/cli.py,sha256=
|
|
7
|
-
deepfabric/cloud_upload.py,sha256=
|
|
8
|
-
deepfabric/config.py,sha256=
|
|
6
|
+
deepfabric/cli.py,sha256=rVKzUcMUWTDQnpS_Si7FzrqdQbKAN-X2Sd1ks1__Wtw,70777
|
|
7
|
+
deepfabric/cloud_upload.py,sha256=Xu7xOycBnX0Jb7AhNBWEdEcAlxw5pXfKQQR4xcwD0BU,27819
|
|
8
|
+
deepfabric/config.py,sha256=ru2eUEyHjrGdf822rn1eo179W8OxIC2YXbqUZnMRQ7Q,34006
|
|
9
9
|
deepfabric/config_manager.py,sha256=c0N4Rb0P970khoiKgpN1ULDYV0bZEYIbec45cSfg92c,9334
|
|
10
|
-
deepfabric/constants.py,sha256=
|
|
10
|
+
deepfabric/constants.py,sha256=2DIJeIP2bqwvHjCXaZ0FKIx_8l7rf5yWSULN4Amd6_A,2846
|
|
11
11
|
deepfabric/dataset.py,sha256=bZfx35A-dt0kMflgskU9Ge-NLVesq8xNKHsrxTnNn6Q,9740
|
|
12
|
-
deepfabric/dataset_manager.py,sha256=
|
|
12
|
+
deepfabric/dataset_manager.py,sha256=3BC1fyECMxMvDkdx9POyUv1Lg98fFPAb3gAD8Z73Sn0,36151
|
|
13
13
|
deepfabric/error_codes.py,sha256=HGGWsahUTI8UG996C74X-XgNuaPX8RHo4gOidlaJql4,17630
|
|
14
14
|
deepfabric/exceptions.py,sha256=pEg4YFQaDEWtBoJaSkxsJJoBBp2-6EE3M7m5H7R6i_8,1586
|
|
15
15
|
deepfabric/factory.py,sha256=OCqo3w-eiYNWvK_I_egDZuWj192kf18yD3SPj8rrPxU,753
|
|
16
|
-
deepfabric/generator.py,sha256=
|
|
17
|
-
deepfabric/graph.py,sha256=
|
|
16
|
+
deepfabric/generator.py,sha256=9H_bDoGJYSxL9OSbEi7eUWk7RvhL1ofLaWvV8Z2AxWE,97072
|
|
17
|
+
deepfabric/graph.py,sha256=mq__qIgMMm3YvRWTTz_ypaoX5g8iSVbdnpEEtDBe0xk,26675
|
|
18
18
|
deepfabric/hf_hub.py,sha256=hw2CWqZ3CzyAzMo552VPZKVWtuv-j0TQ2_gV5K0AUto,7670
|
|
19
19
|
deepfabric/kaggle_hub.py,sha256=CXVO1Lv3IRhdO0bp9_IQr6nUs-v5jOWi5k4EwPkbJmw,7927
|
|
20
20
|
deepfabric/loader.py,sha256=YNTGZZE-POjR0BIlx6WCT4bIzf0T4lW_fQl7ev9UFqE,18584
|
|
21
21
|
deepfabric/metrics.py,sha256=txqmXDM_r6cWPjdnnEjoA5xJkCHxFrjKWTpihE_jimA,6129
|
|
22
|
-
deepfabric/progress.py,sha256=
|
|
22
|
+
deepfabric/progress.py,sha256=_CWiNNBWLlNkBn-16NJnqb0DYQSzwveFaLLwOlqi-x0,10697
|
|
23
23
|
deepfabric/prompts.py,sha256=pAFkw_0WAcYdzjqkHgywyLiSEdDlRdZwmyykUC307Gk,13872
|
|
24
24
|
deepfabric/schemas.py,sha256=ebSwaXCu3lwshFGEhOhuAAUQA3deaYWXUcoRaeslqLc,37880
|
|
25
25
|
deepfabric/stream_simulator.py,sha256=GzvAxWxHVsuTwgXlqwXNfrTUDn6sND2kJOoQuYg88FA,3028
|
|
26
|
-
deepfabric/topic_manager.py,sha256=
|
|
27
|
-
deepfabric/topic_model.py,sha256=
|
|
28
|
-
deepfabric/tree.py,sha256=
|
|
29
|
-
deepfabric/tui.py,sha256
|
|
26
|
+
deepfabric/topic_manager.py,sha256=Q025z4Ri61nGrBlxdBEaSLcay_uJIo-Zr_rOoonj5gY,12109
|
|
27
|
+
deepfabric/topic_model.py,sha256=GzxnlWhgYnAOgundlQrDxOHtaahC7bPX32nVhl-bWvM,2510
|
|
28
|
+
deepfabric/tree.py,sha256=mMfHTvlBbe0x3cCLiiP6zdi-reBr-Tk54Hd0rrWt2J4,16578
|
|
29
|
+
deepfabric/tui.py,sha256=-sXa-FC1bl-AwpXKAQTt4wxpdJEwhokJGk-V4kwa1c8,55612
|
|
30
30
|
deepfabric/update_checker.py,sha256=AUa9iUdkGNzu7tWkQRxIlF19YRmKLetwxu-Ys2ONS8Y,5145
|
|
31
|
-
deepfabric/utils.py,sha256=
|
|
31
|
+
deepfabric/utils.py,sha256=CZSijqXHuyqStlBLvfJLnnaNTB7c8sXXaMq0RgcwkoU,12544
|
|
32
32
|
deepfabric/validation.py,sha256=D6H_L_0mDtiI0s6DLXxkR1BickOw7HGM2al8u2xhKZk,4355
|
|
33
33
|
deepfabric/evaluation/__init__.py,sha256=7xMLmYXaNC1U7qf88S9fMxWTABoDRiOcimSYfCt_PSo,1224
|
|
34
34
|
deepfabric/evaluation/evaluator.py,sha256=qNowle5v2ukDJ11igNOCParlBfXT8QUeOvXx6sSJ_Ug,34480
|
|
@@ -56,7 +56,7 @@ deepfabric/llm/client.py,sha256=7__p0KsN9y8wbqpnlHnVOe92quoQs7K2qd_mrU-l2w0,4678
|
|
|
56
56
|
deepfabric/llm/errors.py,sha256=b25V4iJHkdAgem2ufJkPuornkesyVgQVPQHWttigB54,4293
|
|
57
57
|
deepfabric/llm/rate_limit_config.py,sha256=-skBR8PbEMzsPGeAaiYYFuHAY48AGkl7DIVklijUI-c,8339
|
|
58
58
|
deepfabric/llm/rate_limit_detector.py,sha256=hbp35snCAkn7uBsPaeq7-8XNBngFH1ecS3scRSKP_y4,9960
|
|
59
|
-
deepfabric/llm/retry_handler.py,sha256=
|
|
59
|
+
deepfabric/llm/retry_handler.py,sha256=yMJTOFxgUcgPQBg5x3HI_D3SstWuvEyKfvyVMXLkyYE,10291
|
|
60
60
|
deepfabric/spin/__init__.py,sha256=N-dtk39Ua2-SZOaJVjKVbIJujNNtshLZMbrBteSVZxE,202
|
|
61
61
|
deepfabric/spin/client.py,sha256=sVvgebxF8PoR880tW2ZQKIjfHR-XcoXP6Mp-uhnsQEc,8551
|
|
62
62
|
deepfabric/spin/models.py,sha256=uMGRSw0DtgXdb0bg1TUGiCf5M4cdGocHVsH-G4nx-wo,852
|
|
@@ -69,8 +69,8 @@ deepfabric/training/api_key_prompt.py,sha256=pSIMX3eDGyV9x_r7MHE4TyIsIB2SqYb8gKC
|
|
|
69
69
|
deepfabric/training/callback.py,sha256=5zdifbHA2PWILHl2cVFyO65aW7cGAQhcvDqm3s8_I0Q,13221
|
|
70
70
|
deepfabric/training/dataset_utils.py,sha256=klx8DoawEwuMigBDP-RpMAfe7FvYxRbhj599MErxBr4,7313
|
|
71
71
|
deepfabric/training/metrics_sender.py,sha256=ZCyvMv5hRu8XJnQYVGXJ9wh7HEMJ0l3Ktyi8_etOpZs,10833
|
|
72
|
-
deepfabric-4.
|
|
73
|
-
deepfabric-4.
|
|
74
|
-
deepfabric-4.
|
|
75
|
-
deepfabric-4.
|
|
76
|
-
deepfabric-4.
|
|
72
|
+
deepfabric-4.11.0.dist-info/METADATA,sha256=woNg0duKMI2zC-qTA2bFWyQVmViRMShb6r2l2s9uz0Y,20607
|
|
73
|
+
deepfabric-4.11.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
74
|
+
deepfabric-4.11.0.dist-info/entry_points.txt,sha256=zatevils13hfs8x29_vmUyivQ6rTtq7hE2RBusZw1Fo,50
|
|
75
|
+
deepfabric-4.11.0.dist-info/licenses/LICENSE,sha256=OvJLTvm6YMMZmVsIiQYJI9zK9KoeeVbNZXPqQApENUM,11349
|
|
76
|
+
deepfabric-4.11.0.dist-info/RECORD,,
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright 2025
|
|
189
|
+
Copyright 2025 Always Further, Inc
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
|
File without changes
|
|
File without changes
|