fabricatio 0.3.15.dev4__tar.gz → 0.4.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 (188) hide show
  1. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/.github/workflows/tests.yaml +39 -39
  2. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/.gitignore +172 -172
  3. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/Cargo.lock +112 -1413
  4. fabricatio-0.4.0/Cargo.toml +19 -0
  5. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/LICENSE +21 -21
  6. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/Makefile +31 -27
  7. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/PKG-INFO +168 -161
  8. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/README.md +151 -148
  9. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/correct/correct.py +32 -32
  10. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/correct/correct_loop.py +30 -30
  11. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/extract_and_inject/.gitignore +3 -3
  12. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/extract_and_inject/article_rag.py +33 -33
  13. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/extract_and_inject/ask.py +57 -57
  14. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/extract_and_inject/chunk_article.py +40 -40
  15. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/extract_and_inject/extract_and_inject.py +66 -66
  16. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/extract_article/extract.py +33 -33
  17. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/llm_usages/llm_usage.py +54 -54
  18. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/make_a_rating/rating.py +141 -141
  19. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/make_diary/diary.py +90 -90
  20. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/minor/hello_fabricatio.py +31 -31
  21. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/minor/write_a_poem.py +40 -40
  22. fabricatio-0.4.0/examples/propose_task/.gitignore +2 -0
  23. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/propose_task/propose.py +49 -49
  24. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/reviewer/censor.py +32 -32
  25. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/reviewer/review.py +31 -31
  26. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/rules/.gitignore +2 -2
  27. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/rules/draft_ruleset.py +59 -59
  28. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/search_bibtex/search.py +11 -11
  29. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/simple_chat/chat.py +45 -45
  30. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/simple_rag/simple_rag.py +65 -65
  31. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/task_handle/handle_task.py +112 -112
  32. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/write_article/.gitignore +3 -3
  33. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/write_article/article_rag.py +83 -83
  34. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/write_article/post_process.py +12 -12
  35. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/write_article/write_article.py +273 -273
  36. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/write_outline/.gitignore +1 -1
  37. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/write_outline/write_outline.py +28 -28
  38. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/write_outline/write_outline_corrected.py +38 -38
  39. fabricatio-0.4.0/packages/fabricatio-actions/pyproject.toml +18 -0
  40. fabricatio-0.4.0/packages/fabricatio-actions/python/fabricatio_actions/__init__.py +7 -0
  41. {fabricatio-0.3.15.dev4/python/fabricatio → fabricatio-0.4.0/packages/fabricatio-actions/python/fabricatio_actions}/actions/__init__.py +1 -1
  42. {fabricatio-0.3.15.dev4/python/fabricatio → fabricatio-0.4.0/packages/fabricatio-actions/python/fabricatio_actions}/actions/fs.py +25 -25
  43. {fabricatio-0.3.15.dev4/python/fabricatio → fabricatio-0.4.0/packages/fabricatio-actions/python/fabricatio_actions}/actions/output.py +248 -248
  44. fabricatio-0.4.0/packages/fabricatio-actions/python/fabricatio_actions/models/generic.py +20 -0
  45. fabricatio-0.4.0/packages/fabricatio-actions/python/fabricatio_actions/py.typed +0 -0
  46. fabricatio-0.4.0/packages/fabricatio-improve/README.md +0 -0
  47. fabricatio-0.4.0/packages/fabricatio-improve/pyproject.toml +19 -0
  48. fabricatio-0.4.0/packages/fabricatio-improve/python/fabricatio_improve/__init__.py +8 -0
  49. {fabricatio-0.3.15.dev4/python/fabricatio → fabricatio-0.4.0/packages/fabricatio-improve/python/fabricatio_improve}/capabilities/correct.py +229 -228
  50. {fabricatio-0.3.15.dev4/python/fabricatio → fabricatio-0.4.0/packages/fabricatio-improve/python/fabricatio_improve}/capabilities/review.py +114 -114
  51. fabricatio-0.4.0/packages/fabricatio-improve/python/fabricatio_improve/models/improve.py +68 -0
  52. fabricatio-0.4.0/packages/fabricatio-improve/python/fabricatio_improve/models/kwargs_types.py +34 -0
  53. {fabricatio-0.3.15.dev4/python/fabricatio/models/extra → fabricatio-0.4.0/packages/fabricatio-improve/python/fabricatio_improve/models}/problem.py +104 -165
  54. fabricatio-0.4.0/packages/fabricatio-improve/python/fabricatio_improve/py.typed +0 -0
  55. fabricatio-0.4.0/packages/fabricatio-judge/README.md +0 -0
  56. fabricatio-0.4.0/packages/fabricatio-judge/pyproject.toml +18 -0
  57. fabricatio-0.4.0/packages/fabricatio-judge/python/fabricatio_judge/__init__.py +8 -0
  58. {fabricatio-0.3.15.dev4/python/fabricatio → fabricatio-0.4.0/packages/fabricatio-judge/python/fabricatio_judge}/capabilities/advanced_judge.py +20 -20
  59. {fabricatio-0.3.15.dev4/python/fabricatio/models/extra → fabricatio-0.4.0/packages/fabricatio-judge/python/fabricatio_judge/models}/advanced_judge.py +32 -32
  60. fabricatio-0.4.0/packages/fabricatio-judge/python/fabricatio_judge/py.typed +0 -0
  61. fabricatio-0.4.0/packages/fabricatio-rule/README.md +0 -0
  62. fabricatio-0.4.0/packages/fabricatio-rule/pyproject.toml +26 -0
  63. fabricatio-0.4.0/packages/fabricatio-rule/python/fabricatio_rule/__init__.py +0 -0
  64. fabricatio-0.4.0/packages/fabricatio-rule/python/fabricatio_rule/actions/__init__.py +1 -0
  65. {fabricatio-0.3.15.dev4/python/fabricatio → fabricatio-0.4.0/packages/fabricatio-rule/python/fabricatio_rule}/actions/rules.py +9 -9
  66. fabricatio-0.4.0/packages/fabricatio-rule/python/fabricatio_rule/capabilities/__init__.py +0 -0
  67. {fabricatio-0.3.15.dev4/python/fabricatio → fabricatio-0.4.0/packages/fabricatio-rule/python/fabricatio_rule}/capabilities/censor.py +105 -105
  68. {fabricatio-0.3.15.dev4/python/fabricatio → fabricatio-0.4.0/packages/fabricatio-rule/python/fabricatio_rule}/capabilities/check.py +212 -212
  69. fabricatio-0.4.0/packages/fabricatio-rule/python/fabricatio_rule/models/__init__.py +0 -0
  70. fabricatio-0.4.0/packages/fabricatio-rule/python/fabricatio_rule/models/kwargs_types.py +27 -0
  71. fabricatio-0.3.15.dev4/python/fabricatio/models/extra/patches.py → fabricatio-0.4.0/packages/fabricatio-rule/python/fabricatio_rule/models/patch.py +17 -20
  72. {fabricatio-0.3.15.dev4/python/fabricatio/models/extra → fabricatio-0.4.0/packages/fabricatio-rule/python/fabricatio_rule/models}/rule.py +53 -52
  73. fabricatio-0.4.0/packages/fabricatio-rule/python/fabricatio_rule/py.typed +0 -0
  74. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/pyproject.toml +48 -14
  75. fabricatio-0.4.0/python/fabricatio/__init__.py +28 -0
  76. fabricatio-0.4.0/python/fabricatio/py.typed +0 -0
  77. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/python/fabricatio/toolboxes/__init__.py +15 -15
  78. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/python/fabricatio/toolboxes/arithmetic.py +62 -62
  79. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/python/fabricatio/toolboxes/fs.py +31 -31
  80. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/python/fabricatio/workflows/__init__.py +1 -1
  81. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/python/fabricatio/workflows/rag.py +12 -11
  82. fabricatio-0.4.0/src/lib.rs +10 -0
  83. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/as_prompt.hbs +2 -2
  84. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/chap_summary.hbs +31 -31
  85. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/co_validation.hbs +7 -7
  86. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/create_json_obj.hbs +25 -25
  87. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/draft_rating_criteria.hbs +41 -41
  88. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/draft_rating_manual.hbs +36 -36
  89. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/draft_rating_weights_klee.hbs +37 -37
  90. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/extract.hbs +5 -5
  91. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/extract_criteria_from_reasons.hbs +50 -50
  92. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/extract_reasons_from_examples.hbs +40 -40
  93. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/fix_troubled_string.hbs +18 -18
  94. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/generic_string.hbs +29 -29
  95. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/liststr.hbs +24 -24
  96. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/pathstr.hbs +2 -2
  97. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/rate_fine_grind.hbs +14 -14
  98. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/refined_query.hbs +47 -47
  99. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/research_content_summary.hbs +17 -17
  100. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/retrieved_display.hbs +4 -4
  101. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/review_string.hbs +21 -21
  102. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/rule_requirement.hbs +6 -6
  103. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/ruleset_requirement_breakdown.hbs +18 -18
  104. fabricatio-0.4.0/uv.lock +1836 -0
  105. fabricatio-0.3.15.dev4/Cargo.toml +0 -48
  106. fabricatio-0.3.15.dev4/build.rs +0 -17
  107. fabricatio-0.3.15.dev4/examples/propose_task/.gitignore +0 -2
  108. fabricatio-0.3.15.dev4/proto/tei.proto +0 -203
  109. fabricatio-0.3.15.dev4/python/fabricatio/__init__.py +0 -29
  110. fabricatio-0.3.15.dev4/python/fabricatio/actions/article.py +0 -415
  111. fabricatio-0.3.15.dev4/python/fabricatio/actions/article_rag.py +0 -407
  112. fabricatio-0.3.15.dev4/python/fabricatio/actions/rag.py +0 -96
  113. fabricatio-0.3.15.dev4/python/fabricatio/capabilities/__init__.py +0 -1
  114. fabricatio-0.3.15.dev4/python/fabricatio/capabilities/advanced_rag.py +0 -61
  115. fabricatio-0.3.15.dev4/python/fabricatio/capabilities/extract.py +0 -74
  116. fabricatio-0.3.15.dev4/python/fabricatio/capabilities/persist.py +0 -103
  117. fabricatio-0.3.15.dev4/python/fabricatio/capabilities/propose.py +0 -65
  118. fabricatio-0.3.15.dev4/python/fabricatio/capabilities/rag.py +0 -264
  119. fabricatio-0.3.15.dev4/python/fabricatio/capabilities/rating.py +0 -404
  120. fabricatio-0.3.15.dev4/python/fabricatio/capabilities/task.py +0 -113
  121. fabricatio-0.3.15.dev4/python/fabricatio/decorators.py +0 -253
  122. fabricatio-0.3.15.dev4/python/fabricatio/emitter.py +0 -177
  123. fabricatio-0.3.15.dev4/python/fabricatio/fs/__init__.py +0 -35
  124. fabricatio-0.3.15.dev4/python/fabricatio/fs/curd.py +0 -153
  125. fabricatio-0.3.15.dev4/python/fabricatio/fs/readers.py +0 -61
  126. fabricatio-0.3.15.dev4/python/fabricatio/journal.py +0 -12
  127. fabricatio-0.3.15.dev4/python/fabricatio/models/action.py +0 -263
  128. fabricatio-0.3.15.dev4/python/fabricatio/models/adv_kwargs_types.py +0 -63
  129. fabricatio-0.3.15.dev4/python/fabricatio/models/extra/__init__.py +0 -1
  130. fabricatio-0.3.15.dev4/python/fabricatio/models/extra/aricle_rag.py +0 -286
  131. fabricatio-0.3.15.dev4/python/fabricatio/models/extra/article_base.py +0 -486
  132. fabricatio-0.3.15.dev4/python/fabricatio/models/extra/article_essence.py +0 -101
  133. fabricatio-0.3.15.dev4/python/fabricatio/models/extra/article_main.py +0 -286
  134. fabricatio-0.3.15.dev4/python/fabricatio/models/extra/article_outline.py +0 -46
  135. fabricatio-0.3.15.dev4/python/fabricatio/models/extra/article_proposal.py +0 -52
  136. fabricatio-0.3.15.dev4/python/fabricatio/models/extra/rag.py +0 -98
  137. fabricatio-0.3.15.dev4/python/fabricatio/models/generic.py +0 -812
  138. fabricatio-0.3.15.dev4/python/fabricatio/models/kwargs_types.py +0 -121
  139. fabricatio-0.3.15.dev4/python/fabricatio/models/role.py +0 -99
  140. fabricatio-0.3.15.dev4/python/fabricatio/models/task.py +0 -310
  141. fabricatio-0.3.15.dev4/python/fabricatio/models/tool.py +0 -328
  142. fabricatio-0.3.15.dev4/python/fabricatio/models/usages.py +0 -791
  143. fabricatio-0.3.15.dev4/python/fabricatio/parser.py +0 -114
  144. fabricatio-0.3.15.dev4/python/fabricatio/rust.pyi +0 -846
  145. fabricatio-0.3.15.dev4/python/fabricatio/utils.py +0 -156
  146. fabricatio-0.3.15.dev4/python/fabricatio/workflows/articles.py +0 -24
  147. fabricatio-0.3.15.dev4/src/bib_tools.rs +0 -164
  148. fabricatio-0.3.15.dev4/src/config.rs +0 -583
  149. fabricatio-0.3.15.dev4/src/event.rs +0 -260
  150. fabricatio-0.3.15.dev4/src/hash.rs +0 -17
  151. fabricatio-0.3.15.dev4/src/hbs_helpers.rs +0 -27
  152. fabricatio-0.3.15.dev4/src/language.rs +0 -126
  153. fabricatio-0.3.15.dev4/src/lib.rs +0 -34
  154. fabricatio-0.3.15.dev4/src/macro_utils/Cargo.toml +0 -13
  155. fabricatio-0.3.15.dev4/src/macro_utils/src/lib.rs +0 -65
  156. fabricatio-0.3.15.dev4/src/tei_client.rs +0 -77
  157. fabricatio-0.3.15.dev4/src/templates.rs +0 -217
  158. fabricatio-0.3.15.dev4/src/typst_conversion/Cargo.toml +0 -11
  159. fabricatio-0.3.15.dev4/src/typst_conversion/src/lib.rs +0 -74
  160. fabricatio-0.3.15.dev4/src/typst_tools.rs +0 -210
  161. fabricatio-0.3.15.dev4/src/word_split.rs +0 -86
  162. fabricatio-0.3.15.dev4/uv.lock +0 -1917
  163. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/.github/workflows/build-package.yaml +0 -0
  164. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/.github/workflows/ruff.yaml +0 -0
  165. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/make_diary/commits.json +0 -0
  166. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/examples/search_bibtex/.gitignore +0 -0
  167. /fabricatio-0.3.15.dev4/python/fabricatio/py.typed → /fabricatio-0.4.0/packages/fabricatio-actions/README.md +0 -0
  168. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/binary-exploitation-ctf-solver.hbs +0 -0
  169. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/check_string.hbs +0 -0
  170. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/claude-xml.hbs +0 -0
  171. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/clean-up-code.hbs +0 -0
  172. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/cryptography-ctf-solver.hbs +0 -0
  173. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/dependencies.hbs +0 -0
  174. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/document-the-code.hbs +0 -0
  175. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/draft_tool_usage_code.hbs +0 -0
  176. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/find-security-vulnerabilities.hbs +0 -0
  177. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/fix-bugs.hbs +0 -0
  178. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/fix_troubled_obj.hbs +0 -0
  179. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/improve-performance.hbs +0 -0
  180. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/make_choice.hbs +0 -0
  181. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/make_judgment.hbs +0 -0
  182. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/refactor.hbs +0 -0
  183. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/reverse-engineering-ctf-solver.hbs +0 -0
  184. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/task_briefing.hbs +0 -0
  185. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/web-ctf-solver.hbs +0 -0
  186. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/write-git-commit.hbs +0 -0
  187. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/write-github-pull-request.hbs +0 -0
  188. {fabricatio-0.3.15.dev4 → fabricatio-0.4.0}/templates/built-in/write-github-readme.hbs +0 -0
@@ -1,39 +1,39 @@
1
- name: Tests
2
-
3
- on:
4
- push:
5
- branches:
6
- - master
7
- pull_request:
8
- branches:
9
- - master
10
-
11
- jobs:
12
- test:
13
- runs-on: ${{ matrix.os }}
14
- strategy:
15
- matrix:
16
- os: [ windows-latest, ubuntu-latest ]
17
- steps:
18
- - name: Checkout repository
19
- uses: actions/checkout@v4
20
-
21
- - name: Install the latest version of uv
22
- uses: astral-sh/setup-uv@v6.0.1
23
- with:
24
- version: "latest"
25
-
26
- - name: Install nightly rust
27
- run: |
28
- rustup default nightly
29
-
30
- - name: Install deps
31
- run: |
32
- uv sync --no-install-project --all-extras --index https://pypi.org/simple
33
- make dev
34
- - name: Test
35
- run: |
36
- uvx --with-editable . pytest tests
37
-
38
-
39
-
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ branches:
9
+ - master
10
+
11
+ jobs:
12
+ test:
13
+ runs-on: ${{ matrix.os }}
14
+ strategy:
15
+ matrix:
16
+ os: [ windows-latest, ubuntu-latest ]
17
+ steps:
18
+ - name: Checkout repository
19
+ uses: actions/checkout@v4
20
+
21
+ - name: Install the latest version of uv
22
+ uses: astral-sh/setup-uv@v6.0.1
23
+ with:
24
+ version: "latest"
25
+
26
+ - name: Install nightly rust
27
+ run: |
28
+ rustup default nightly
29
+
30
+ - name: Install deps
31
+ run: |
32
+ uv sync --no-install-project --all-extras --index https://pypi.org/simple
33
+ make dev
34
+ - name: Test
35
+ run: |
36
+ uvx --with-editable . pytest tests
37
+
38
+
39
+
@@ -1,172 +1,172 @@
1
- ### Python template
2
- # Byte-compiled / optimized / DLL files
3
- __pycache__/
4
- *.py[cod]
5
- *$py.class
6
-
7
- # C extensions
8
- *.so
9
-
10
- # Distribution / packaging
11
- .Python
12
- build/
13
- develop-eggs/
14
- dist/
15
- downloads/
16
- eggs/
17
- .eggs/
18
- lib/
19
- lib64/
20
- parts/
21
- sdist/
22
- var/
23
- wheels/
24
- share/python-wheels/
25
- *.egg-info/
26
- .installed.cfg
27
- *.egg
28
- MANIFEST
29
-
30
- # PyInstaller
31
- # Usually these files are written by a python script from a template
32
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
- *.manifest
34
- *.spec
35
-
36
- # Installer logs
37
- pip-log.txt
38
- pip-delete-this-directory.txt
39
-
40
- # Unit test / coverage reports
41
- htmlcov/
42
- .tox/
43
- .nox/
44
- .coverage
45
- .coverage.*
46
- .cache
47
- nosetests.xml
48
- coverage.xml
49
- *.cover
50
- *.py,cover
51
- .hypothesis/
52
- .pytest_cache/
53
- cover/
54
-
55
- # Translations
56
- *.mo
57
- *.pot
58
-
59
- # Django stuff:
60
- *.log
61
- local_settings.py
62
- db.sqlite3
63
- db.sqlite3-journal
64
-
65
- # Flask stuff:
66
- instance/
67
- .webassets-cache
68
-
69
- # Scrapy stuff:
70
- .scrapy
71
-
72
- # Sphinx documentation
73
- docs/_build/
74
-
75
- # PyBuilder
76
- .pybuilder/
77
- target/
78
-
79
- # Jupyter Notebook
80
- .ipynb_checkpoints
81
-
82
- # IPython
83
- profile_default/
84
- ipython_config.py
85
-
86
- # pyenv
87
- # For a library or package, you might want to ignore these files since the code is
88
- # intended to run in multiple environments; otherwise, check them in:
89
- # .python-version
90
-
91
- # pipenv
92
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
- # install all needed dependencies.
96
- #Pipfile.lock
97
-
98
- # poetry
99
- # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
100
- # This is especially recommended for binary packages to ensure reproducibility, and is more
101
- # commonly ignored for libraries.
102
- # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
103
- #poetry.lock
104
-
105
- # pdm
106
- # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
107
- #pdm.lock
108
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
109
- # in version control.
110
- # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
111
- .pdm.toml
112
- .pdm-python
113
- .pdm-build/
114
-
115
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
116
- __pypackages__/
117
-
118
- # Celery stuff
119
- celerybeat-schedule
120
- celerybeat.pid
121
-
122
- # SageMath parsed files
123
- *.sage.py
124
-
125
- # Environments
126
- .env
127
- .venv
128
- env/
129
- venv/
130
- ENV/
131
- env.bak/
132
- venv.bak/
133
-
134
- # Spyder project settings
135
- .spyderproject
136
- .spyproject
137
-
138
- # Rope project settings
139
- .ropeproject
140
-
141
- # mkdocs documentation
142
- /site
143
-
144
- # mypy
145
- .mypy_cache/
146
- .dmypy.json
147
- dmypy.json
148
-
149
- # Pyre type checker
150
- .pyre/
151
-
152
- # pytype static type analyzer
153
- .pytype/
154
-
155
- # Cython debug symbols
156
- cython_debug/
157
-
158
- # PyCharm
159
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
160
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
161
- # and can be added to the global gitignore or merged into this file. For a more nuclear
162
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
163
- .idea/
164
- *playground*
165
-
166
- extra/scripts/*
167
- output/
168
- .vscode/
169
- templates/customed
170
- *.typ
171
- /src/tei.rs
172
- .python-version
1
+ ### Python template
2
+ # Byte-compiled / optimized / DLL files
3
+ __pycache__/
4
+ *.py[cod]
5
+ *$py.class
6
+
7
+ # C extensions
8
+ *.so
9
+
10
+ # Distribution / packaging
11
+ .Python
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .nox/
44
+ .coverage
45
+ .coverage.*
46
+ .cache
47
+ nosetests.xml
48
+ coverage.xml
49
+ *.cover
50
+ *.py,cover
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ #Pipfile.lock
97
+
98
+ # poetry
99
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
103
+ #poetry.lock
104
+
105
+ # pdm
106
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
107
+ #pdm.lock
108
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
109
+ # in version control.
110
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
111
+ .pdm.toml
112
+ .pdm-python
113
+ .pdm-build/
114
+
115
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
116
+ __pypackages__/
117
+
118
+ # Celery stuff
119
+ celerybeat-schedule
120
+ celerybeat.pid
121
+
122
+ # SageMath parsed files
123
+ *.sage.py
124
+
125
+ # Environments
126
+ .env
127
+ .venv
128
+ env/
129
+ venv/
130
+ ENV/
131
+ env.bak/
132
+ venv.bak/
133
+
134
+ # Spyder project settings
135
+ .spyderproject
136
+ .spyproject
137
+
138
+ # Rope project settings
139
+ .ropeproject
140
+
141
+ # mkdocs documentation
142
+ /site
143
+
144
+ # mypy
145
+ .mypy_cache/
146
+ .dmypy.json
147
+ dmypy.json
148
+
149
+ # Pyre type checker
150
+ .pyre/
151
+
152
+ # pytype static type analyzer
153
+ .pytype/
154
+
155
+ # Cython debug symbols
156
+ cython_debug/
157
+
158
+ # PyCharm
159
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
160
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
161
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
162
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
163
+ .idea/
164
+ *playground*
165
+
166
+ *.exe
167
+ output/
168
+ .vscode/
169
+ templates/customed
170
+ *.typ
171
+ tei.rs
172
+ .python-version