DeepFabric 4.10.1__py3-none-any.whl → 4.12.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 +624 -33
- deepfabric/cloud_upload.py +1 -1
- deepfabric/config.py +14 -5
- deepfabric/config_manager.py +6 -1
- deepfabric/constants.py +1 -1
- deepfabric/dataset_manager.py +264 -62
- deepfabric/generator.py +687 -82
- deepfabric/graph.py +202 -2
- deepfabric/graph_pruner.py +122 -0
- deepfabric/llm/retry_handler.py +28 -9
- deepfabric/progress.py +42 -0
- deepfabric/topic_inspector.py +237 -0
- deepfabric/topic_manager.py +54 -2
- deepfabric/topic_model.py +26 -0
- deepfabric/tree.py +81 -41
- deepfabric/tui.py +448 -349
- deepfabric/utils.py +4 -1
- {deepfabric-4.10.1.dist-info → deepfabric-4.12.0.dist-info}/METADATA +3 -1
- {deepfabric-4.10.1.dist-info → deepfabric-4.12.0.dist-info}/RECORD +22 -20
- {deepfabric-4.10.1.dist-info → deepfabric-4.12.0.dist-info}/licenses/LICENSE +1 -1
- {deepfabric-4.10.1.dist-info → deepfabric-4.12.0.dist-info}/WHEEL +0 -0
- {deepfabric-4.10.1.dist-info → deepfabric-4.12.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.12.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,34 @@ 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=
|
|
9
|
-
deepfabric/config_manager.py,sha256=
|
|
10
|
-
deepfabric/constants.py,sha256=
|
|
6
|
+
deepfabric/cli.py,sha256=cCJfGg6mhLgyldDekvq7OgmxBc4Ou74UT0MWLftJ0Sw,89114
|
|
7
|
+
deepfabric/cloud_upload.py,sha256=Xu7xOycBnX0Jb7AhNBWEdEcAlxw5pXfKQQR4xcwD0BU,27819
|
|
8
|
+
deepfabric/config.py,sha256=ISJpay7CJvDoY48ydvsZJnc25-omwHr-mLrKYR9Tr3g,34235
|
|
9
|
+
deepfabric/config_manager.py,sha256=WH_usbD6JQ20K5xh9PzoT8oThAsnc2ywyfMy_06VuvM,9511
|
|
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=eOc5GsH0b7nojPztnxyHKvRPl3Q1MpC4Xi7AIx7Rcq0,32717
|
|
18
|
+
deepfabric/graph_pruner.py,sha256=bA8JhA70zI7dUX6Y6tiw6BtOMI3X3tdnwY1g6OTrMCw,3443
|
|
18
19
|
deepfabric/hf_hub.py,sha256=hw2CWqZ3CzyAzMo552VPZKVWtuv-j0TQ2_gV5K0AUto,7670
|
|
19
20
|
deepfabric/kaggle_hub.py,sha256=CXVO1Lv3IRhdO0bp9_IQr6nUs-v5jOWi5k4EwPkbJmw,7927
|
|
20
21
|
deepfabric/loader.py,sha256=YNTGZZE-POjR0BIlx6WCT4bIzf0T4lW_fQl7ev9UFqE,18584
|
|
21
22
|
deepfabric/metrics.py,sha256=txqmXDM_r6cWPjdnnEjoA5xJkCHxFrjKWTpihE_jimA,6129
|
|
22
|
-
deepfabric/progress.py,sha256=
|
|
23
|
+
deepfabric/progress.py,sha256=_CWiNNBWLlNkBn-16NJnqb0DYQSzwveFaLLwOlqi-x0,10697
|
|
23
24
|
deepfabric/prompts.py,sha256=pAFkw_0WAcYdzjqkHgywyLiSEdDlRdZwmyykUC307Gk,13872
|
|
24
25
|
deepfabric/schemas.py,sha256=ebSwaXCu3lwshFGEhOhuAAUQA3deaYWXUcoRaeslqLc,37880
|
|
25
26
|
deepfabric/stream_simulator.py,sha256=GzvAxWxHVsuTwgXlqwXNfrTUDn6sND2kJOoQuYg88FA,3028
|
|
26
|
-
deepfabric/
|
|
27
|
-
deepfabric/
|
|
28
|
-
deepfabric/
|
|
29
|
-
deepfabric/
|
|
27
|
+
deepfabric/topic_inspector.py,sha256=AmoVgPMbjgN_Xpd_i8Z8j7M6zrW5yAGCeGBrRF6YEeo,8435
|
|
28
|
+
deepfabric/topic_manager.py,sha256=5OLXUo7H98ukyHss8NL0S-mxySntlQky5fBbbxj2BA0,13837
|
|
29
|
+
deepfabric/topic_model.py,sha256=GzxnlWhgYnAOgundlQrDxOHtaahC7bPX32nVhl-bWvM,2510
|
|
30
|
+
deepfabric/tree.py,sha256=m3QlGjO1UFe_c4naBEAU96n6guOJaPTnDBn2IZRibB0,16870
|
|
31
|
+
deepfabric/tui.py,sha256=-sXa-FC1bl-AwpXKAQTt4wxpdJEwhokJGk-V4kwa1c8,55612
|
|
30
32
|
deepfabric/update_checker.py,sha256=AUa9iUdkGNzu7tWkQRxIlF19YRmKLetwxu-Ys2ONS8Y,5145
|
|
31
|
-
deepfabric/utils.py,sha256=
|
|
33
|
+
deepfabric/utils.py,sha256=CZSijqXHuyqStlBLvfJLnnaNTB7c8sXXaMq0RgcwkoU,12544
|
|
32
34
|
deepfabric/validation.py,sha256=D6H_L_0mDtiI0s6DLXxkR1BickOw7HGM2al8u2xhKZk,4355
|
|
33
35
|
deepfabric/evaluation/__init__.py,sha256=7xMLmYXaNC1U7qf88S9fMxWTABoDRiOcimSYfCt_PSo,1224
|
|
34
36
|
deepfabric/evaluation/evaluator.py,sha256=qNowle5v2ukDJ11igNOCParlBfXT8QUeOvXx6sSJ_Ug,34480
|
|
@@ -56,7 +58,7 @@ deepfabric/llm/client.py,sha256=7__p0KsN9y8wbqpnlHnVOe92quoQs7K2qd_mrU-l2w0,4678
|
|
|
56
58
|
deepfabric/llm/errors.py,sha256=b25V4iJHkdAgem2ufJkPuornkesyVgQVPQHWttigB54,4293
|
|
57
59
|
deepfabric/llm/rate_limit_config.py,sha256=-skBR8PbEMzsPGeAaiYYFuHAY48AGkl7DIVklijUI-c,8339
|
|
58
60
|
deepfabric/llm/rate_limit_detector.py,sha256=hbp35snCAkn7uBsPaeq7-8XNBngFH1ecS3scRSKP_y4,9960
|
|
59
|
-
deepfabric/llm/retry_handler.py,sha256=
|
|
61
|
+
deepfabric/llm/retry_handler.py,sha256=yMJTOFxgUcgPQBg5x3HI_D3SstWuvEyKfvyVMXLkyYE,10291
|
|
60
62
|
deepfabric/spin/__init__.py,sha256=N-dtk39Ua2-SZOaJVjKVbIJujNNtshLZMbrBteSVZxE,202
|
|
61
63
|
deepfabric/spin/client.py,sha256=sVvgebxF8PoR880tW2ZQKIjfHR-XcoXP6Mp-uhnsQEc,8551
|
|
62
64
|
deepfabric/spin/models.py,sha256=uMGRSw0DtgXdb0bg1TUGiCf5M4cdGocHVsH-G4nx-wo,852
|
|
@@ -69,8 +71,8 @@ deepfabric/training/api_key_prompt.py,sha256=pSIMX3eDGyV9x_r7MHE4TyIsIB2SqYb8gKC
|
|
|
69
71
|
deepfabric/training/callback.py,sha256=5zdifbHA2PWILHl2cVFyO65aW7cGAQhcvDqm3s8_I0Q,13221
|
|
70
72
|
deepfabric/training/dataset_utils.py,sha256=klx8DoawEwuMigBDP-RpMAfe7FvYxRbhj599MErxBr4,7313
|
|
71
73
|
deepfabric/training/metrics_sender.py,sha256=ZCyvMv5hRu8XJnQYVGXJ9wh7HEMJ0l3Ktyi8_etOpZs,10833
|
|
72
|
-
deepfabric-4.
|
|
73
|
-
deepfabric-4.
|
|
74
|
-
deepfabric-4.
|
|
75
|
-
deepfabric-4.
|
|
76
|
-
deepfabric-4.
|
|
74
|
+
deepfabric-4.12.0.dist-info/METADATA,sha256=sqyIyrdJi-4bgYy5S0cyum3u0F0SVqV-64X4tJjJres,20607
|
|
75
|
+
deepfabric-4.12.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
76
|
+
deepfabric-4.12.0.dist-info/entry_points.txt,sha256=zatevils13hfs8x29_vmUyivQ6rTtq7hE2RBusZw1Fo,50
|
|
77
|
+
deepfabric-4.12.0.dist-info/licenses/LICENSE,sha256=OvJLTvm6YMMZmVsIiQYJI9zK9KoeeVbNZXPqQApENUM,11349
|
|
78
|
+
deepfabric-4.12.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
|