trugs-folder 2.0.0__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.
Files changed (48) hide show
  1. trugs_folder-2.0.0/LICENSE +190 -0
  2. trugs_folder-2.0.0/NOTICE +11 -0
  3. trugs_folder-2.0.0/PKG-INFO +97 -0
  4. trugs_folder-2.0.0/README.md +65 -0
  5. trugs_folder-2.0.0/pyproject.toml +64 -0
  6. trugs_folder-2.0.0/setup.cfg +4 -0
  7. trugs_folder-2.0.0/src/trugs_folder/__init__.py +41 -0
  8. trugs_folder-2.0.0/src/trugs_folder/cli.py +1901 -0
  9. trugs_folder-2.0.0/src/trugs_folder/folder_check.py +488 -0
  10. trugs_folder-2.0.0/src/trugs_folder/folder_init.py +715 -0
  11. trugs_folder-2.0.0/src/trugs_folder/folder_map.py +476 -0
  12. trugs_folder-2.0.0/src/trugs_folder/folder_sync.py +563 -0
  13. trugs_folder-2.0.0/src/trugs_folder/renderer.py +933 -0
  14. trugs_folder-2.0.0/src/trugs_folder/tadd.py +102 -0
  15. trugs_folder-2.0.0/src/trugs_folder/tcd.py +121 -0
  16. trugs_folder-2.0.0/src/trugs_folder/tdelete.py +103 -0
  17. trugs_folder-2.0.0/src/trugs_folder/tdim.py +236 -0
  18. trugs_folder-2.0.0/src/trugs_folder/tfind.py +146 -0
  19. trugs_folder-2.0.0/src/trugs_folder/tget.py +89 -0
  20. trugs_folder-2.0.0/src/trugs_folder/tinit.py +162 -0
  21. trugs_folder-2.0.0/src/trugs_folder/tlink.py +180 -0
  22. trugs_folder-2.0.0/src/trugs_folder/tls.py +119 -0
  23. trugs_folder-2.0.0/src/trugs_folder/tmove.py +116 -0
  24. trugs_folder-2.0.0/src/trugs_folder/tsync.py +246 -0
  25. trugs_folder-2.0.0/src/trugs_folder/tunlink.py +102 -0
  26. trugs_folder-2.0.0/src/trugs_folder/tupdate.py +161 -0
  27. trugs_folder-2.0.0/src/trugs_folder/twatch.py +88 -0
  28. trugs_folder-2.0.0/src/trugs_folder/twhere.py +126 -0
  29. trugs_folder-2.0.0/src/trugs_folder/utils.py +350 -0
  30. trugs_folder-2.0.0/src/trugs_folder.egg-info/PKG-INFO +97 -0
  31. trugs_folder-2.0.0/src/trugs_folder.egg-info/SOURCES.txt +46 -0
  32. trugs_folder-2.0.0/src/trugs_folder.egg-info/dependency_links.txt +1 -0
  33. trugs_folder-2.0.0/src/trugs_folder.egg-info/entry_points.txt +2 -0
  34. trugs_folder-2.0.0/src/trugs_folder.egg-info/requires.txt +8 -0
  35. trugs_folder-2.0.0/src/trugs_folder.egg-info/top_level.txt +1 -0
  36. trugs_folder-2.0.0/tests/test_filesystem_core.py +288 -0
  37. trugs_folder-2.0.0/tests/test_filesystem_integration.py +283 -0
  38. trugs_folder-2.0.0/tests/test_filesystem_mutation.py +326 -0
  39. trugs_folder-2.0.0/tests/test_filesystem_nav.py +222 -0
  40. trugs_folder-2.0.0/tests/test_filesystem_utils.py +260 -0
  41. trugs_folder-2.0.0/tests/test_folder_check.py +693 -0
  42. trugs_folder-2.0.0/tests/test_folder_init.py +817 -0
  43. trugs_folder-2.0.0/tests/test_folder_map.py +862 -0
  44. trugs_folder-2.0.0/tests/test_folder_render.py +466 -0
  45. trugs_folder-2.0.0/tests/test_folder_sync.py +1360 -0
  46. trugs_folder-2.0.0/tests/test_infer_node_type_governance.py +97 -0
  47. trugs_folder-2.0.0/tests/test_renderer.py +1071 -0
  48. trugs_folder-2.0.0/tests/test_tinit_scan_edges.py +48 -0
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to the Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by the Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding any notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2026 TRUGS LLC
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
@@ -0,0 +1,11 @@
1
+ TRUGS Folder (trugs-folder) — TRUGS cartography reference tool
2
+ Copyright 2026 TRUGS LLC
3
+
4
+ Licensed under the Apache License, Version 2.0.
5
+
6
+ PATENT NOTICE
7
+
8
+ This license does not cover self-developing graph systems. Graph structures or substrates
9
+ that modify themselves during execution are the subject of U.S. patent
10
+ application 19/575,491. See https://github.com/Xepayac/XEPAYAC_LLC for
11
+ AGPL 3.0 and commercial licensing.
@@ -0,0 +1,97 @@
1
+ Metadata-Version: 2.4
2
+ Name: trugs-folder
3
+ Version: 2.0.0
4
+ Summary: TRUGS cartography reference tool — sync a filesystem with its TRUG graph and render ARCHITECTURE.md. Single `trug-a-folder` binary. Implements TRUGS 2.0 (core_v2.0.0).
5
+ Author: TRUGS LLC
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/TRUGS-LLC/TRUGS-TOOLS
8
+ Project-URL: Issues, https://github.com/TRUGS-LLC/TRUGS-TOOLS/issues
9
+ Project-URL: Documentation, https://github.com/TRUGS-LLC/TRUGS/blob/main/GETTING_STARTED.md
10
+ Project-URL: Changelog, https://github.com/TRUGS-LLC/TRUGS-TOOLS/blob/main/trugs-folder/CHANGELOG.md
11
+ Keywords: trugs,cli,graph,cartography,folder,architecture
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: Apache Software License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Topic :: Software Development :: Libraries
19
+ Classifier: Topic :: Software Development :: Code Generators
20
+ Requires-Python: >=3.11
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ License-File: NOTICE
24
+ Requires-Dist: trugs-tools>=2.0.0
25
+ Requires-Dist: trugs-store>=2.0.0
26
+ Requires-Dist: PyYAML>=6.0
27
+ Requires-Dist: jsonschema>=4.0
28
+ Provides-Extra: test
29
+ Requires-Dist: pytest>=7.0; extra == "test"
30
+ Requires-Dist: pytest-cov>=4.0; extra == "test"
31
+ Dynamic: license-file
32
+
33
+ # trugs-folder
34
+
35
+ **TRUGS cartography.** One binary, `trug-a-folder` — keep a directory tree and
36
+ its TRUG graph in sync, validate it against the folder governance rules, and
37
+ render a human-readable `ARCHITECTURE.md` from it. Implements TRUGS 2.0
38
+ (`core_v2.0.0`).
39
+
40
+ The idea: the folder *is* a graph. `folder.trug.json` holds one node per file,
41
+ typed by the governance vocabulary (code is `COMPONENT`, prose is `DOCUMENT`),
42
+ and the tool keeps that graph honest as the directory changes.
43
+
44
+ ## Install
45
+
46
+ ```bash
47
+ pip install trugs-folder
48
+ ```
49
+
50
+ ## Quickstart
51
+
52
+ ```bash
53
+ trug-a-folder init myproject --scan -d "My first mapped folder"
54
+ trug-a-folder check myproject
55
+ trug-a-folder render architecture myproject
56
+ trug-a-folder sync myproject # reconcile after files change
57
+ ```
58
+
59
+ New to TRUGS? The five-minute on-ramp:
60
+ **[GETTING_STARTED.md](https://github.com/TRUGS-LLC/TRUGS/blob/main/GETTING_STARTED.md)**
61
+
62
+ ## Command surface
63
+
64
+ Fourteen verbs on the `trug-a-folder` binary:
65
+
66
+ | verb | what it does |
67
+ |------|--------------|
68
+ | `init` | Initialize `folder.trug.json` in a directory |
69
+ | `check` | Validate against the governance rules |
70
+ | `sync` | Reconcile the graph with the filesystem |
71
+ | `render` | Render `ARCHITECTURE.md` from the graph |
72
+ | `info` | Show summary information about a TRUG file |
73
+ | `ls` | List directory contents with TRUG metadata |
74
+ | `where` | Search all folder graphs for a concept, node, or file |
75
+ | `find` | Query nodes by type / name / dimension |
76
+ | `add` | Add files to the graph |
77
+ | `mv` | Move/rename a node |
78
+ | `link` | Create or remove typed edges between nodes |
79
+ | `dim` | Manage dimensions |
80
+ | `export` | Export `folder.trug.json` from the database |
81
+ | `import` | Import `folder.trug.json` into the database |
82
+
83
+ Every verb documents examples and exit codes: `trug-a-folder <verb> --help`.
84
+
85
+ The language CLI — validating arbitrary TRUG graphs and compiling TRL — is the
86
+ sibling package [`trugs-tools`](https://github.com/TRUGS-LLC/TRUGS-TOOLS)
87
+ (binary: `trug`), which this package builds on.
88
+
89
+ ## Lineage
90
+
91
+ This package descends from the cartography half of `trugs-tools` 1.0.0; the
92
+ 2.0 release split it onto its own wheel. History is in
93
+ [CHANGELOG.md](CHANGELOG.md).
94
+
95
+ ## License
96
+
97
+ Apache-2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
@@ -0,0 +1,65 @@
1
+ # trugs-folder
2
+
3
+ **TRUGS cartography.** One binary, `trug-a-folder` — keep a directory tree and
4
+ its TRUG graph in sync, validate it against the folder governance rules, and
5
+ render a human-readable `ARCHITECTURE.md` from it. Implements TRUGS 2.0
6
+ (`core_v2.0.0`).
7
+
8
+ The idea: the folder *is* a graph. `folder.trug.json` holds one node per file,
9
+ typed by the governance vocabulary (code is `COMPONENT`, prose is `DOCUMENT`),
10
+ and the tool keeps that graph honest as the directory changes.
11
+
12
+ ## Install
13
+
14
+ ```bash
15
+ pip install trugs-folder
16
+ ```
17
+
18
+ ## Quickstart
19
+
20
+ ```bash
21
+ trug-a-folder init myproject --scan -d "My first mapped folder"
22
+ trug-a-folder check myproject
23
+ trug-a-folder render architecture myproject
24
+ trug-a-folder sync myproject # reconcile after files change
25
+ ```
26
+
27
+ New to TRUGS? The five-minute on-ramp:
28
+ **[GETTING_STARTED.md](https://github.com/TRUGS-LLC/TRUGS/blob/main/GETTING_STARTED.md)**
29
+
30
+ ## Command surface
31
+
32
+ Fourteen verbs on the `trug-a-folder` binary:
33
+
34
+ | verb | what it does |
35
+ |------|--------------|
36
+ | `init` | Initialize `folder.trug.json` in a directory |
37
+ | `check` | Validate against the governance rules |
38
+ | `sync` | Reconcile the graph with the filesystem |
39
+ | `render` | Render `ARCHITECTURE.md` from the graph |
40
+ | `info` | Show summary information about a TRUG file |
41
+ | `ls` | List directory contents with TRUG metadata |
42
+ | `where` | Search all folder graphs for a concept, node, or file |
43
+ | `find` | Query nodes by type / name / dimension |
44
+ | `add` | Add files to the graph |
45
+ | `mv` | Move/rename a node |
46
+ | `link` | Create or remove typed edges between nodes |
47
+ | `dim` | Manage dimensions |
48
+ | `export` | Export `folder.trug.json` from the database |
49
+ | `import` | Import `folder.trug.json` into the database |
50
+
51
+ Every verb documents examples and exit codes: `trug-a-folder <verb> --help`.
52
+
53
+ The language CLI — validating arbitrary TRUG graphs and compiling TRL — is the
54
+ sibling package [`trugs-tools`](https://github.com/TRUGS-LLC/TRUGS-TOOLS)
55
+ (binary: `trug`), which this package builds on.
56
+
57
+ ## Lineage
58
+
59
+ This package descends from the cartography half of `trugs-tools` 1.0.0; the
60
+ 2.0 release split it onto its own wheel. History is in
61
+ [CHANGELOG.md](CHANGELOG.md).
62
+
63
+ ## License
64
+
65
+ Apache-2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
@@ -0,0 +1,64 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "trugs-folder"
7
+ version = "2.0.0"
8
+ description = "TRUGS cartography reference tool — sync a filesystem with its TRUG graph and render ARCHITECTURE.md. Single `trug-a-folder` binary. Implements TRUGS 2.0 (core_v2.0.0)."
9
+ readme = "README.md"
10
+ license = { text = "Apache-2.0" }
11
+ requires-python = ">=3.11"
12
+ authors = [{ name = "TRUGS LLC" }]
13
+ keywords = ["trugs", "cli", "graph", "cartography", "folder", "architecture"]
14
+ classifiers = [
15
+ # A18 decision (AAA #2416, HITM 2026-06-11): 2.0 launches as Beta.
16
+ "Development Status :: 4 - Beta",
17
+ "Intended Audience :: Developers",
18
+ "License :: OSI Approved :: Apache Software License",
19
+ "Programming Language :: Python :: 3",
20
+ "Programming Language :: Python :: 3.11",
21
+ "Programming Language :: Python :: 3.12",
22
+ "Topic :: Software Development :: Libraries",
23
+ "Topic :: Software Development :: Code Generators",
24
+ ]
25
+ # T2 sits ABOVE T1: depends on the language core (trugs-tools) + the graph store
26
+ # (trugs-store). It NEVER depends on any T3 system package (trugs-start) — the
27
+ # A1/c2 tier-discipline invariant the AAA #2373 cleave exists to establish.
28
+ dependencies = [
29
+ "trugs-tools>=2.0.0",
30
+ "trugs-store>=2.0.0",
31
+ "PyYAML>=6.0",
32
+ "jsonschema>=4.0",
33
+ ]
34
+
35
+ [project.optional-dependencies]
36
+ test = [
37
+ "pytest>=7.0",
38
+ "pytest-cov>=4.0",
39
+ ]
40
+
41
+ [project.scripts]
42
+ trug-a-folder = "trugs_folder.cli:main"
43
+
44
+ [project.urls]
45
+ Homepage = "https://github.com/TRUGS-LLC/TRUGS-TOOLS"
46
+ Issues = "https://github.com/TRUGS-LLC/TRUGS-TOOLS/issues"
47
+ Documentation = "https://github.com/TRUGS-LLC/TRUGS/blob/main/GETTING_STARTED.md"
48
+ Changelog = "https://github.com/TRUGS-LLC/TRUGS-TOOLS/blob/main/trugs-folder/CHANGELOG.md"
49
+
50
+ [tool.setuptools]
51
+ package-dir = { "" = "src" }
52
+ # e8 (AAA #2416): dists carry the license + patent notice explicitly.
53
+ license-files = ["LICENSE", "NOTICE"]
54
+
55
+ [tool.setuptools.packages.find]
56
+ where = ["src"]
57
+ include = ["trugs_folder*"]
58
+
59
+ [tool.mypy]
60
+ python_version = "3.11"
61
+
62
+ [[tool.mypy.overrides]]
63
+ module = ["trugs_store", "trugs_store.*", "trugs_tools", "trugs_tools.*", "pydantic"]
64
+ ignore_missing_imports = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,41 @@
1
+ # Copyright 2026 TRUGS LLC
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ """Filesystem commands for TRUGS - graph-enriched folder operations."""
5
+
6
+ from trugs_folder.utils import load_graph, save_graph, validate_graph
7
+ from trugs_folder.tinit import tinit
8
+ from trugs_folder.tadd import tadd
9
+ from trugs_folder.tls import tls
10
+ from trugs_folder.tcd import tcd
11
+ from trugs_folder.tfind import tfind
12
+ from trugs_folder.tmove import tmove
13
+ from trugs_folder.tlink import tlink
14
+ from trugs_folder.tdim import tdim
15
+ from trugs_folder.twatch import twatch
16
+ from trugs_folder.tsync import tsync
17
+ from trugs_folder.folder_check import check_folder_trug, check_all
18
+ from trugs_folder.folder_init import init_folder_trug
19
+ from trugs_folder.folder_sync import sync_folder_trug
20
+ from trugs_folder.folder_map import map_folder_trugs
21
+
22
+ __all__ = [
23
+ "load_graph",
24
+ "save_graph",
25
+ "validate_graph",
26
+ "tinit",
27
+ "tadd",
28
+ "tls",
29
+ "tcd",
30
+ "tfind",
31
+ "tmove",
32
+ "tlink",
33
+ "tdim",
34
+ "twatch",
35
+ "tsync",
36
+ "check_folder_trug",
37
+ "check_all",
38
+ "init_folder_trug",
39
+ "sync_folder_trug",
40
+ "map_folder_trugs",
41
+ ]