fabricatio 0.4.0__tar.gz → 0.4.0.dev0__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.
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/PKG-INFO +1 -1
- fabricatio-0.4.0.dev0/packages/fabricatio-actions/LICENSE +21 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-actions/pyproject.toml +2 -1
- fabricatio-0.4.0.dev0/packages/fabricatio-improve/LICENSE +21 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-improve/pyproject.toml +2 -1
- fabricatio-0.4.0.dev0/packages/fabricatio-judge/LICENSE +21 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-judge/pyproject.toml +2 -1
- fabricatio-0.4.0.dev0/packages/fabricatio-rule/LICENSE +21 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/pyproject.toml +2 -1
- fabricatio-0.4.0.dev0/publish_subpackages.py +51 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/pyproject.toml +1 -1
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/.github/workflows/build-package.yaml +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/.github/workflows/ruff.yaml +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/.github/workflows/tests.yaml +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/.gitignore +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/Cargo.lock +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/Cargo.toml +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/LICENSE +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/Makefile +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/README.md +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/correct/correct.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/correct/correct_loop.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/extract_and_inject/.gitignore +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/extract_and_inject/article_rag.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/extract_and_inject/ask.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/extract_and_inject/chunk_article.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/extract_and_inject/extract_and_inject.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/extract_article/extract.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/llm_usages/llm_usage.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/make_a_rating/rating.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/make_diary/commits.json +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/make_diary/diary.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/minor/hello_fabricatio.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/minor/write_a_poem.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/propose_task/.gitignore +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/propose_task/propose.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/reviewer/censor.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/reviewer/review.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/rules/.gitignore +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/rules/draft_ruleset.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/search_bibtex/.gitignore +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/search_bibtex/search.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/simple_chat/chat.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/simple_rag/simple_rag.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/task_handle/handle_task.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/write_article/.gitignore +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/write_article/article_rag.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/write_article/post_process.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/write_article/write_article.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/write_outline/.gitignore +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/write_outline/write_outline.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/write_outline/write_outline_corrected.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-actions/README.md +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-actions/python/fabricatio_actions/__init__.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-actions/python/fabricatio_actions/actions/__init__.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-actions/python/fabricatio_actions/actions/fs.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-actions/python/fabricatio_actions/actions/output.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-actions/python/fabricatio_actions/models/generic.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-actions/python/fabricatio_actions/py.typed +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-improve/README.md +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-improve/python/fabricatio_improve/__init__.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-improve/python/fabricatio_improve/capabilities/correct.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-improve/python/fabricatio_improve/capabilities/review.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-improve/python/fabricatio_improve/models/improve.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-improve/python/fabricatio_improve/models/kwargs_types.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-improve/python/fabricatio_improve/models/problem.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-improve/python/fabricatio_improve/py.typed +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-judge/README.md +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-judge/python/fabricatio_judge/__init__.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-judge/python/fabricatio_judge/capabilities/advanced_judge.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-judge/python/fabricatio_judge/models/advanced_judge.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-judge/python/fabricatio_judge/py.typed +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/README.md +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/python/fabricatio_rule/__init__.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/python/fabricatio_rule/actions/__init__.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/python/fabricatio_rule/actions/rules.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/python/fabricatio_rule/capabilities/__init__.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/python/fabricatio_rule/capabilities/censor.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/python/fabricatio_rule/capabilities/check.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/python/fabricatio_rule/models/__init__.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/python/fabricatio_rule/models/kwargs_types.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/python/fabricatio_rule/models/patch.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/python/fabricatio_rule/models/rule.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/python/fabricatio_rule/py.typed +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/python/fabricatio/__init__.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/python/fabricatio/py.typed +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/python/fabricatio/toolboxes/__init__.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/python/fabricatio/toolboxes/arithmetic.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/python/fabricatio/toolboxes/fs.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/python/fabricatio/workflows/__init__.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/python/fabricatio/workflows/rag.py +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/src/lib.rs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/as_prompt.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/binary-exploitation-ctf-solver.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/chap_summary.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/check_string.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/claude-xml.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/clean-up-code.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/co_validation.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/create_json_obj.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/cryptography-ctf-solver.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/dependencies.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/document-the-code.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/draft_rating_criteria.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/draft_rating_manual.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/draft_rating_weights_klee.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/draft_tool_usage_code.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/extract.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/extract_criteria_from_reasons.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/extract_reasons_from_examples.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/find-security-vulnerabilities.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/fix-bugs.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/fix_troubled_obj.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/fix_troubled_string.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/generic_string.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/improve-performance.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/liststr.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/make_choice.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/make_judgment.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/pathstr.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/rate_fine_grind.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/refactor.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/refined_query.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/research_content_summary.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/retrieved_display.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/reverse-engineering-ctf-solver.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/review_string.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/rule_requirement.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/ruleset_requirement_breakdown.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/task_briefing.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/web-ctf-solver.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/write-git-commit.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/write-github-pull-request.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/write-github-readme.hbs +0 -0
- {fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/uv.lock +0 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 Whth Yotta
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 Whth Yotta
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 Whth Yotta
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2025 Whth Yotta
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import subprocess
|
2
|
+
import sys
|
3
|
+
import tomllib
|
4
|
+
from pathlib import Path
|
5
|
+
|
6
|
+
ROOT_DIR = Path("packages") # Default root directory
|
7
|
+
|
8
|
+
|
9
|
+
def main():
|
10
|
+
root_dir = Path(sys.argv[1]) if len(sys.argv) > 1 else ROOT_DIR
|
11
|
+
|
12
|
+
for entry in root_dir.iterdir():
|
13
|
+
if not entry.is_dir():
|
14
|
+
continue
|
15
|
+
|
16
|
+
pyproject_path = entry / "pyproject.toml"
|
17
|
+
if not pyproject_path.is_file():
|
18
|
+
continue
|
19
|
+
|
20
|
+
print(f"\n🔍 Checking project: {entry.name}")
|
21
|
+
|
22
|
+
try:
|
23
|
+
with pyproject_path.open("rb") as f:
|
24
|
+
config = tomllib.load(f)
|
25
|
+
build_backend = config.get("build-system", {}).get("build-backend", "")
|
26
|
+
except Exception as e:
|
27
|
+
print(f"⚠️ Failed to parse pyproject.toml in {entry.name}: {e}")
|
28
|
+
continue
|
29
|
+
|
30
|
+
print(f"📦 Build backend: {build_backend}")
|
31
|
+
|
32
|
+
if build_backend == "maturin":
|
33
|
+
# The following line was present in the original code but is not valid Python.
|
34
|
+
# It appears to be a comment or a command meant for manual execution for a specific package.
|
35
|
+
# uvx --directory .\packages\fabricatio-core\ maturin publish --skip-existing
|
36
|
+
command = ["uvx", "--directory", entry.as_posix(), "maturin", "publish", "--skip-existing"]
|
37
|
+
else:
|
38
|
+
command = ["uv", "publish", str(entry)] # Assuming uv publish expects the path to the package dir
|
39
|
+
|
40
|
+
print(f"🚀 Running command: {' '.join(command)}")
|
41
|
+
|
42
|
+
try:
|
43
|
+
subprocess.run(command, check=True, cwd=entry if build_backend != "maturin" else None)
|
44
|
+
except subprocess.CalledProcessError as e:
|
45
|
+
print(f"❌ Publishing failed for {entry.name}: {e}")
|
46
|
+
except FileNotFoundError:
|
47
|
+
print(f"❌ Command 'uv' not found. Make sure it's installed and in your PATH.")
|
48
|
+
|
49
|
+
|
50
|
+
if __name__ == "__main__":
|
51
|
+
main()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/extract_and_inject/extract_and_inject.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/examples/write_outline/write_outline_corrected.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/packages/fabricatio-rule/python/fabricatio_rule/py.typed
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/binary-exploitation-ctf-solver.hbs
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/extract_criteria_from_reasons.hbs
RENAMED
File without changes
|
{fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/extract_reasons_from_examples.hbs
RENAMED
File without changes
|
{fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/find-security-vulnerabilities.hbs
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/reverse-engineering-ctf-solver.hbs
RENAMED
File without changes
|
File without changes
|
File without changes
|
{fabricatio-0.4.0 → fabricatio-0.4.0.dev0}/templates/built-in/ruleset_requirement_breakdown.hbs
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|