fabricatio 0.5.0.dev1__tar.gz → 0.5.1.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.5.0.dev1 → fabricatio-0.5.1.dev0}/PKG-INFO +13 -16
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/README.md +12 -15
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/minor/hello_fabricatio.py +2 -8
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/yue/compose.py +3 -13
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/pyproject.toml +19 -6
- fabricatio-0.5.1.dev0/packages/fabricatio-yue/python/fabricatio_yue/actions/compose.py +16 -0
- fabricatio-0.5.1.dev0/packages/fabricatio-yue/python/fabricatio_yue/cli.py +60 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/python/fabricatio_yue/models/segment.py +11 -8
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/pyproject.toml +1 -1
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/python/fabricatio/actions/__init__.py +5 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/uv.lock +12 -3
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/.github/workflows/build-package.yaml +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/.github/workflows/ruff.yaml +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/.github/workflows/tests.yaml +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/.gitignore +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/.readthedocs.yaml +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/Cargo.lock +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/Cargo.toml +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/LICENSE +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/Makefile +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/assets/band.png +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/assets/logo/16.svg +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/assets/logo/400.svg +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/assets/logo/64.svg +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/docs/Makefile +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/docs/source/conf.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/docs/source/configuration.rst +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/docs/source/contributing.rst +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/docs/source/development.rst +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/docs/source/index.rst +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/docs/source/installation.rst +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/docs/source/usage.rst +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/anki_deck/.gitignore +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/anki_deck/deck_gen.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/correct/correct.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/correct/correct_loop.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/extract_and_inject/.gitignore +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/extract_and_inject/article_rag.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/extract_and_inject/ask.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/extract_and_inject/chunk_article.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/extract_and_inject/extract_and_inject.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/extract_article/extract.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/llm_usages/llm_usage.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/make_a_rating/rating.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/make_diary/commits.json +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/make_diary/diary.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/minor/write_a_poem.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/propose_task/.gitignore +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/propose_task/propose.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/reviewer/censor.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/reviewer/review.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/rules/.gitignore +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/rules/draft_ruleset.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/search_bibtex/.gitignore +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/search_bibtex/search.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/simple_chat/chat.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/simple_rag/simple_rag.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/task_handle/handle_task.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/write_article/.gitignore +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/write_article/article_rag.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/write_article/post_process.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/write_article/write_article.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/write_outline/.gitignore +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/write_outline/write_outline.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/write_outline/write_outline_corrected.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/extra/scripts/tdown +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-actions/LICENSE +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-actions/README.md +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-actions/pyproject.toml +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-actions/python/fabricatio_actions/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-actions/python/fabricatio_actions/actions/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-actions/python/fabricatio_actions/actions/fs.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-actions/python/fabricatio_actions/actions/output.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-actions/python/fabricatio_actions/models/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-actions/python/fabricatio_actions/models/generic.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-actions/python/fabricatio_actions/py.typed +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/.gitignore +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/LICENSE +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/README.md +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/pyproject.toml +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/python/fabricatio_digest/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/python/fabricatio_digest/actions/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/python/fabricatio_digest/capabilities/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/python/fabricatio_digest/capabilities/digest.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/python/fabricatio_digest/config.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/python/fabricatio_digest/models/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/python/fabricatio_digest/models/tasklist.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/python/fabricatio_digest/py.typed +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/python/fabricatio_digest/workflows/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/python/tests/tests.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/LICENSE +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/README.md +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/pyproject.toml +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/python/fabricatio_improve/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/python/fabricatio_improve/actions/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/python/fabricatio_improve/capabilities/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/python/fabricatio_improve/capabilities/correct.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/python/fabricatio_improve/capabilities/review.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/python/fabricatio_improve/config.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/python/fabricatio_improve/models/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/python/fabricatio_improve/models/improve.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/python/fabricatio_improve/models/kwargs_types.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/python/fabricatio_improve/models/problem.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/python/fabricatio_improve/py.typed +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-improve/python/fabricatio_improve/workflows/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-judge/LICENSE +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-judge/README.md +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-judge/pyproject.toml +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-judge/python/fabricatio_judge/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-judge/python/fabricatio_judge/capabilities/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-judge/python/fabricatio_judge/capabilities/advanced_judge.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-judge/python/fabricatio_judge/models/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-judge/python/fabricatio_judge/models/advanced_judge.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-judge/python/fabricatio_judge/py.typed +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/.gitignore +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/LICENSE +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/README.md +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/pyproject.toml +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/python/fabricatio_question/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/python/fabricatio_question/actions/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/python/fabricatio_question/capabilities/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/python/fabricatio_question/capabilities/questioning.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/python/fabricatio_question/config.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/python/fabricatio_question/models/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/python/fabricatio_question/models/questions.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/python/fabricatio_question/py.typed +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/python/fabricatio_question/workflows/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-question/python/tests/tests.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/LICENSE +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/README.md +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/pyproject.toml +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/python/fabricatio_rule/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/python/fabricatio_rule/actions/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/python/fabricatio_rule/actions/rules.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/python/fabricatio_rule/capabilities/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/python/fabricatio_rule/capabilities/censor.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/python/fabricatio_rule/capabilities/check.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/python/fabricatio_rule/config.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/python/fabricatio_rule/models/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/python/fabricatio_rule/models/kwargs_types.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/python/fabricatio_rule/models/patch.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/python/fabricatio_rule/models/rule.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-rule/python/fabricatio_rule/py.typed +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/.gitignore +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/LICENSE +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/README.md +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/pyproject.toml +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/python/fabricatio_tagging/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/python/fabricatio_tagging/actions/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/python/fabricatio_tagging/capabilities/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/python/fabricatio_tagging/capabilities/tagging.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/python/fabricatio_tagging/config.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/python/fabricatio_tagging/models/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/python/fabricatio_tagging/py.typed +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/python/fabricatio_tagging/workflows/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-tagging/python/tests/tests.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/.gitignore +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/LICENSE +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/README.md +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/python/fabricatio_yue/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/python/fabricatio_yue/actions/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/python/fabricatio_yue/capabilities/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/python/fabricatio_yue/capabilities/genre.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/python/fabricatio_yue/capabilities/lyricize.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/python/fabricatio_yue/config.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/python/fabricatio_yue/models/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/python/fabricatio_yue/py.typed +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/python/fabricatio_yue/top_200_tags.json +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/python/fabricatio_yue/workflows/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-yue/python/tests/tests.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/python/fabricatio/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/python/fabricatio/capabilities/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/python/fabricatio/models/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/python/fabricatio/py.typed +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/python/fabricatio/toolboxes/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/python/fabricatio/toolboxes/arithmetic.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/python/fabricatio/toolboxes/fs.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/python/fabricatio/workflows/__init__.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/python/tests/test_minor_integration.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/src/bin/tdown.rs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/src/lib.rs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/subpackages.py +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/as_prompt.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/binary-exploitation-ctf-solver.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/chap_summary.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/check_string.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/claude-xml.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/clean-up-code.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/co_validation.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/code_string.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/create_json_obj.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/cryptography-ctf-solver.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/dependencies.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/digest.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/dispatch_task.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/document-the-code.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/draft_rating_criteria.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/draft_rating_manual.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/draft_rating_weights_klee.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/draft_tool_usage_code.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/extract.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/extract_criteria_from_reasons.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/extract_reasons_from_examples.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/find-security-vulnerabilities.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/fix-bugs.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/fix_troubled_obj.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/fix_troubled_string.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/generate_anki_card_back_side.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/generate_anki_card_front_side.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/generate_anki_card_template.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/generate_anki_card_template_generation_requirements.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/generate_anki_deck_metadata.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/generate_anki_model_generation_requirements.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/generate_anki_model_name.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/generic_string.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/improve-performance.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/liststr.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/lyricize.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/make_choice.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/make_judgment.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/mapping.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/pathstr.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/rate_fine_grind.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/refactor.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/refined_query.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/research_content_summary.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/retrieved_display.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/reverse-engineering-ctf-solver.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/review_string.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/rule_requirement.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/ruleset_requirement_breakdown.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/select_genre.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/selection.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/tagging.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/task_briefing.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/web-ctf-solver.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/write-git-commit.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/write-github-pull-request.hbs +0 -0
- {fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/templates/built-in/write-github-readme.hbs +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fabricatio
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.1.dev0
|
4
4
|
Classifier: License :: OSI Approved :: MIT License
|
5
5
|
Classifier: Programming Language :: Rust
|
6
6
|
Classifier: Programming Language :: Python :: 3.12
|
@@ -119,35 +119,32 @@ make bdist
|
|
119
119
|
### Basic Example
|
120
120
|
|
121
121
|
```python
|
122
|
-
|
123
|
-
|
122
|
+
"""Example of a simple hello world program using fabricatio."""
|
123
|
+
|
124
124
|
from typing import Any
|
125
125
|
|
126
|
+
from fabricatio import Action, Event, Role, Task, WorkFlow, logger
|
127
|
+
|
126
128
|
|
127
129
|
class Hello(Action):
|
128
|
-
|
130
|
+
"""Action that says hello."""
|
131
|
+
|
129
132
|
output_key: str = "task_output"
|
130
133
|
|
131
|
-
async def _execute(self,
|
134
|
+
async def _execute(self, **_) -> Any:
|
132
135
|
ret = "Hello fabricatio!"
|
133
136
|
logger.info("executing talk action")
|
134
137
|
return ret
|
135
138
|
|
139
|
+
"""Main function."""
|
136
140
|
|
137
|
-
async def main() -> None:
|
138
|
-
Role(
|
139
|
-
name="talker",
|
140
|
-
description="talker role",
|
141
|
-
registry={Event.quick_instantiate("talk"): WorkFlow(name="talk", steps=(Hello,))}
|
142
|
-
)
|
143
141
|
|
144
|
-
|
145
|
-
|
146
|
-
|
142
|
+
(Role()
|
143
|
+
.register_workflow(Event.quick_instantiate("talk"), WorkFlow(name="talk", steps=(Hello,)))
|
144
|
+
.dispatch())
|
147
145
|
|
146
|
+
assert Task(name="say hello").delegate_blocking("talk") == "Hello fabricatio!"
|
148
147
|
|
149
|
-
if __name__ == "__main__":
|
150
|
-
asyncio.run(main())
|
151
148
|
```
|
152
149
|
|
153
150
|
### Examples
|
@@ -67,35 +67,32 @@ make bdist
|
|
67
67
|
### Basic Example
|
68
68
|
|
69
69
|
```python
|
70
|
-
|
71
|
-
|
70
|
+
"""Example of a simple hello world program using fabricatio."""
|
71
|
+
|
72
72
|
from typing import Any
|
73
73
|
|
74
|
+
from fabricatio import Action, Event, Role, Task, WorkFlow, logger
|
75
|
+
|
74
76
|
|
75
77
|
class Hello(Action):
|
76
|
-
|
78
|
+
"""Action that says hello."""
|
79
|
+
|
77
80
|
output_key: str = "task_output"
|
78
81
|
|
79
|
-
async def _execute(self,
|
82
|
+
async def _execute(self, **_) -> Any:
|
80
83
|
ret = "Hello fabricatio!"
|
81
84
|
logger.info("executing talk action")
|
82
85
|
return ret
|
83
86
|
|
87
|
+
"""Main function."""
|
84
88
|
|
85
|
-
async def main() -> None:
|
86
|
-
Role(
|
87
|
-
name="talker",
|
88
|
-
description="talker role",
|
89
|
-
registry={Event.quick_instantiate("talk"): WorkFlow(name="talk", steps=(Hello,))}
|
90
|
-
)
|
91
89
|
|
92
|
-
|
93
|
-
|
94
|
-
|
90
|
+
(Role()
|
91
|
+
.register_workflow(Event.quick_instantiate("talk"), WorkFlow(name="talk", steps=(Hello,)))
|
92
|
+
.dispatch())
|
95
93
|
|
94
|
+
assert Task(name="say hello").delegate_blocking("talk") == "Hello fabricatio!"
|
96
95
|
|
97
|
-
if __name__ == "__main__":
|
98
|
-
asyncio.run(main())
|
99
96
|
```
|
100
97
|
|
101
98
|
### Examples
|
@@ -20,12 +20,6 @@ class Hello(Action):
|
|
20
20
|
"""Main function."""
|
21
21
|
|
22
22
|
|
23
|
-
Role(
|
24
|
-
name="talker",
|
25
|
-
description="talker role",
|
26
|
-
registry={Event.quick_instantiate("talk"): WorkFlow(name="talk", steps=(Hello,))},
|
27
|
-
)
|
23
|
+
(Role().register_workflow(Event.quick_instantiate("talk"), WorkFlow(name="talk", steps=(Hello,))).dispatch())
|
28
24
|
|
29
|
-
|
30
|
-
if __name__ == "__main__":
|
31
|
-
task.delegate_blocking("talk")
|
25
|
+
logger.success(task.delegate_blocking("talk"))
|
@@ -1,19 +1,9 @@
|
|
1
1
|
"""Example of using the library."""
|
2
2
|
|
3
|
-
from
|
4
|
-
|
5
|
-
from fabricatio import
|
6
|
-
from fabricatio.capabilities import Lyricize
|
3
|
+
from fabricatio import Event, Role, Task, WorkFlow
|
4
|
+
from fabricatio.actions import Compose
|
5
|
+
from fabricatio.models import Song
|
7
6
|
from fabricatio_core.utils import ok
|
8
|
-
from fabricatio_yue.models.segment import Song
|
9
|
-
|
10
|
-
|
11
|
-
class Compose(Action, Lyricize):
|
12
|
-
"""Compose a song."""
|
13
|
-
|
14
|
-
async def _execute(self, req: str, output: Path, **cxt) -> Song:
|
15
|
-
return ok(await self.lyricize(req)).save_to(output)
|
16
|
-
|
17
7
|
|
18
8
|
(
|
19
9
|
Role()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "fabricatio-yue"
|
3
|
-
version = "0.
|
3
|
+
version = "0.2.0-dev1"
|
4
4
|
description = "An extension of fabricatio, provide capability to compose lyrics that can be used in music generation with YuE."
|
5
5
|
readme = "README.md"
|
6
6
|
license = { file = "LICENSE" }
|
@@ -29,6 +29,12 @@ dev = [
|
|
29
29
|
"pytest",
|
30
30
|
]
|
31
31
|
|
32
|
+
[project.optional-dependencies]
|
33
|
+
cli = [
|
34
|
+
"questionary>=2.1.0",
|
35
|
+
"typer-slim[standard]>=0.15.2",
|
36
|
+
]
|
37
|
+
|
32
38
|
|
33
39
|
[build-system]
|
34
40
|
requires = ["hatchling"]
|
@@ -41,16 +47,23 @@ sources = ["python"]
|
|
41
47
|
url = "https://mirrors.bfsu.edu.cn/pypi/web/simple"
|
42
48
|
default = true
|
43
49
|
|
44
|
-
[
|
45
|
-
|
46
|
-
|
47
|
-
[[tool.uv.index]]
|
48
|
-
url = "https://mirrors.huaweicloud.com/repository/pypi/simple"
|
50
|
+
[tool.uv.sources]
|
51
|
+
fabricatio = { workspace = true }
|
49
52
|
|
50
53
|
[project.urls]
|
51
54
|
Homepage = "https://github.com/Whth/fabricatio"
|
52
55
|
Repository = "https://github.com/Whth/fabricatio"
|
53
56
|
Issues = "https://github.com/Whth/fabricatio/issues"
|
54
57
|
|
58
|
+
[[tool.uv.index]]
|
59
|
+
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
|
60
|
+
|
61
|
+
[[tool.uv.index]]
|
62
|
+
url = "https://mirrors.huaweicloud.com/repository/pypi/simple"
|
63
|
+
|
55
64
|
[[tool.uv.index]]
|
56
65
|
url = "https://mirrors.aliyun.com/pypi/simple/"
|
66
|
+
|
67
|
+
|
68
|
+
[project.scripts]
|
69
|
+
yuek = "fabricatio_yue.cli:main"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"""Compose action for creating songs."""
|
2
|
+
|
3
|
+
from pathlib import Path
|
4
|
+
|
5
|
+
from fabricatio import Action
|
6
|
+
from fabricatio.capabilities import Lyricize
|
7
|
+
from fabricatio_core.utils import ok
|
8
|
+
|
9
|
+
from fabricatio_yue.models.segment import Song
|
10
|
+
|
11
|
+
|
12
|
+
class Compose(Action, Lyricize):
|
13
|
+
"""Compose a song."""
|
14
|
+
|
15
|
+
async def _execute(self, req: str, output: Path, **cxt) -> Song:
|
16
|
+
return ok(await self.lyricize(req)).save_to(output)
|
@@ -0,0 +1,60 @@
|
|
1
|
+
"""Command-line interface for Fabricatio Yue song composition."""
|
2
|
+
|
3
|
+
from importlib.util import find_spec
|
4
|
+
|
5
|
+
from fabricatio_core.decorators import precheck_package
|
6
|
+
|
7
|
+
if not find_spec("typer"):
|
8
|
+
raise ModuleNotFoundError(
|
9
|
+
"Please install fabricatio-yue with 'pip install fabricatio-yue[cli]' or 'uv tool install fabricatio-yue[cli]'"
|
10
|
+
)
|
11
|
+
|
12
|
+
from pathlib import Path
|
13
|
+
|
14
|
+
from typer import Option, Typer
|
15
|
+
|
16
|
+
app = Typer(
|
17
|
+
name="yuek",
|
18
|
+
help="Compose lyrics with Fabricatio!",
|
19
|
+
epilog="For more information, visit: https://github.com/Whth/fabricatio",
|
20
|
+
short_help="Fabricatio Yue CLI for song composition",
|
21
|
+
)
|
22
|
+
|
23
|
+
|
24
|
+
@app.command()
|
25
|
+
@precheck_package(
|
26
|
+
"questionary",
|
27
|
+
"Please install fabricatio-yue with 'pip install fabricatio-yue[cli]' or 'uv tool install fabricatio-yue[cli]'",
|
28
|
+
)
|
29
|
+
def compose(
|
30
|
+
requirement: str = Option(None, "-r", "--requirement", help="Song requirement/prompt"),
|
31
|
+
output: Path = Option(Path("song"), "-o", "--output", help="Output file folder"),
|
32
|
+
) -> None:
|
33
|
+
"""Compose a song based on your requirements."""
|
34
|
+
from fabricatio import Event, Role, Task, WorkFlow
|
35
|
+
from fabricatio_core.utils import ok
|
36
|
+
from questionary import text
|
37
|
+
|
38
|
+
from fabricatio_yue.actions.compose import Compose
|
39
|
+
|
40
|
+
Role().register_workflow(
|
41
|
+
Event.quick_instantiate(ns := "compose"), WorkFlow(steps=(Compose().to_task_output(),))
|
42
|
+
).dispatch()
|
43
|
+
|
44
|
+
ok(
|
45
|
+
Task(name="compose song")
|
46
|
+
.update_init_context(
|
47
|
+
req=(
|
48
|
+
requirement
|
49
|
+
or ok(text("What kind of song would you like to compose?").ask(), "No requirement provided!")
|
50
|
+
),
|
51
|
+
output=output,
|
52
|
+
)
|
53
|
+
.delegate_blocking(ns),
|
54
|
+
"Failed to compose song!",
|
55
|
+
)
|
56
|
+
|
57
|
+
|
58
|
+
def main() -> None:
|
59
|
+
"""Entry point for the CLI application."""
|
60
|
+
app()
|
@@ -87,7 +87,7 @@ class Song(SketchedAble, WithBriefing):
|
|
87
87
|
@property
|
88
88
|
def briefing(self) -> str:
|
89
89
|
"""Generate a briefing of the song including its genre tags and duration."""
|
90
|
-
return f"# {self.name}\n>{self.description}\n\nDuration: {self.duration} s.\n\n{self.block(
|
90
|
+
return f"# {self.name}\n>{self.description}\n\nDuration: {self.duration} s.\n\n{self.block(' '.join(self.genres), 'genres')} \n\n---\n"
|
91
91
|
|
92
92
|
def save_to(self, parent_dir: str | Path) -> Self:
|
93
93
|
"""Save the song to a directory.
|
@@ -103,7 +103,10 @@ class Song(SketchedAble, WithBriefing):
|
|
103
103
|
|
104
104
|
logger.info(f"Saving song to {file_path.as_posix()}")
|
105
105
|
|
106
|
-
out = f"{self.briefing}\n" + "\n".join(
|
106
|
+
out = f"{self.briefing}\n" + "\n".join(
|
107
|
+
f"## Section {i}. {seg.section_type.capitalize()}\n\n{self._wrapp(seg)}"
|
108
|
+
for i, seg in enumerate(self.segments)
|
109
|
+
)
|
107
110
|
|
108
111
|
file_path.write_text(out, encoding="utf-8")
|
109
112
|
|
@@ -112,12 +115,12 @@ class Song(SketchedAble, WithBriefing):
|
|
112
115
|
def _wrapp(self, segment: Segment) -> str:
|
113
116
|
return (
|
114
117
|
f"Duration: {segment.duration} s.\n\n"
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
f"Lyrics:{self.block(segment.assemble, 'lyrics')}"
|
118
|
+
+ (
|
119
|
+
f"Extra Genres: {self.block(' '.join(segment.extra_genres), 'genres')}\n"
|
120
|
+
f"Assembled Genres: {self.block(' '.join(self.genres + segment.extra_genres), 'genres')}"
|
121
|
+
)
|
122
|
+
if segment.extra_genres
|
123
|
+
else "" + f"Lyrics:{self.block(segment.assemble, 'lyrics')}"
|
121
124
|
)
|
122
125
|
|
123
126
|
@staticmethod
|
@@ -322,7 +322,7 @@ wheels = [
|
|
322
322
|
|
323
323
|
[[package]]
|
324
324
|
name = "fabricatio"
|
325
|
-
version = "0.5.
|
325
|
+
version = "0.5.1.dev0"
|
326
326
|
source = { editable = "." }
|
327
327
|
dependencies = [
|
328
328
|
{ name = "fabricatio-core" },
|
@@ -534,7 +534,7 @@ dev = [{ name = "pytest" }]
|
|
534
534
|
|
535
535
|
[[package]]
|
536
536
|
name = "fabricatio-core"
|
537
|
-
version = "0.1.6
|
537
|
+
version = "0.1.6"
|
538
538
|
source = { editable = "packages/fabricatio-core" }
|
539
539
|
dependencies = [
|
540
540
|
{ name = "asyncio" },
|
@@ -795,7 +795,7 @@ provides-extras = ["full", "rag", "qa", "workflows"]
|
|
795
795
|
|
796
796
|
[[package]]
|
797
797
|
name = "fabricatio-yue"
|
798
|
-
version = "0.
|
798
|
+
version = "0.2.0.dev1"
|
799
799
|
source = { editable = "packages/fabricatio-yue" }
|
800
800
|
dependencies = [
|
801
801
|
{ name = "fabricatio-core" },
|
@@ -804,6 +804,12 @@ dependencies = [
|
|
804
804
|
{ name = "ujson" },
|
805
805
|
]
|
806
806
|
|
807
|
+
[package.optional-dependencies]
|
808
|
+
cli = [
|
809
|
+
{ name = "questionary" },
|
810
|
+
{ name = "typer-slim", extra = ["standard"] },
|
811
|
+
]
|
812
|
+
|
807
813
|
[package.dev-dependencies]
|
808
814
|
dev = [
|
809
815
|
{ name = "pytest" },
|
@@ -814,8 +820,11 @@ requires-dist = [
|
|
814
820
|
{ name = "fabricatio-core", editable = "packages/fabricatio-core" },
|
815
821
|
{ name = "more-itertools", specifier = ">=10.7.0" },
|
816
822
|
{ name = "pydantic", specifier = ">=2.11.5" },
|
823
|
+
{ name = "questionary", marker = "extra == 'cli'", specifier = ">=2.1.0" },
|
824
|
+
{ name = "typer-slim", extras = ["standard"], marker = "extra == 'cli'", specifier = ">=0.15.2" },
|
817
825
|
{ name = "ujson", specifier = ">=5.10.0" },
|
818
826
|
]
|
827
|
+
provides-extras = ["cli"]
|
819
828
|
|
820
829
|
[package.metadata.requires-dev]
|
821
830
|
dev = [{ name = "pytest" }]
|
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.5.0.dev1 → fabricatio-0.5.1.dev0}/examples/extract_and_inject/chunk_article.py
RENAMED
File without changes
|
{fabricatio-0.5.0.dev1 → fabricatio-0.5.1.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
|
{fabricatio-0.5.0.dev1 → fabricatio-0.5.1.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
|
{fabricatio-0.5.0.dev1 → fabricatio-0.5.1.dev0}/packages/fabricatio-digest/python/tests/tests.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
|