fabricatio 0.2.5.dev0__cp312-cp312-win_amd64.whl → 0.2.5.dev1__cp312-cp312-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
fabricatio/__init__.py CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  from importlib.util import find_spec
4
4
 
5
+ from fabricatio._rust import BibManager
5
6
  from fabricatio._rust_instances import template_manager
6
7
  from fabricatio.actions.article import ExtractArticleEssence, GenerateArticleProposal, GenerateOutline
7
8
  from fabricatio.actions.output import DumpFinalizedOutput
@@ -22,6 +23,7 @@ from fabricatio.workflows.articles import WriteOutlineWorkFlow
22
23
  __all__ = [
23
24
  "Action",
24
25
  "ArticleEssence",
26
+ "BibManager",
25
27
  "Capture",
26
28
  "CodeBlockCapture",
27
29
  "DumpFinalizedOutput",
Binary file
fabricatio/_rust.pyi CHANGED
@@ -51,3 +51,11 @@ def blake3_hash(content: bytes) -> str:
51
51
  Returns:
52
52
  str: The BLAKE3 hash of the data.
53
53
  """
54
+
55
+ class BibManager:
56
+ """BibManager class for managing BibTeX files."""
57
+ def __init__(self, path: str) -> None:
58
+ """Initialize the BibManager with the given path."""
59
+
60
+ def get_cite_key(self, title: str) -> str:
61
+ """Get the cite key for the given title."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fabricatio
3
- Version: 0.2.5.dev0
3
+ Version: 0.2.5.dev1
4
4
  Classifier: License :: OSI Approved :: MIT License
5
5
  Classifier: Programming Language :: Rust
6
6
  Classifier: Programming Language :: Python :: 3.12
@@ -1,6 +1,6 @@
1
- fabricatio-0.2.5.dev0.dist-info/METADATA,sha256=l9b8k3MoqoNyI7GkF5IpDd1nhwb1ybmqXflut5G-m6A,8895
2
- fabricatio-0.2.5.dev0.dist-info/WHEEL,sha256=tpW5AN9B-9qsM9WW2FXG2r193YXiqexDadpKp0A2daI,96
3
- fabricatio-0.2.5.dev0.dist-info/licenses/LICENSE,sha256=do7J7EiCGbq0QPbMAL_FqLYufXpHnCnXBOuqVPwSV8Y,1088
1
+ fabricatio-0.2.5.dev1.dist-info/METADATA,sha256=ZLLyJSXQ3FHaY9mDJimVw5UweT66Y8VPZPpXat_QDfE,8895
2
+ fabricatio-0.2.5.dev1.dist-info/WHEEL,sha256=tpW5AN9B-9qsM9WW2FXG2r193YXiqexDadpKp0A2daI,96
3
+ fabricatio-0.2.5.dev1.dist-info/licenses/LICENSE,sha256=do7J7EiCGbq0QPbMAL_FqLYufXpHnCnXBOuqVPwSV8Y,1088
4
4
  fabricatio/actions/article.py,sha256=PFO7QJw0SXryReA2kGJgd35NeIxCodpudNQxlXNg8xA,2785
5
5
  fabricatio/actions/output.py,sha256=RWXulsfN_qrCFik0B6lGwXf6MMtgK3CaF1ENbK0l85o,684
6
6
  fabricatio/actions/rag.py,sha256=lZfw9SZ8oxbWPK_bvWsEpVkWJbGP8HUnlNbxLh11Wdg,821
@@ -33,9 +33,9 @@ fabricatio/toolboxes/fs.py,sha256=xOhmb1PcCBbc5V9EQtr624DKe0M4QzajA5dz_0cu1fI,68
33
33
  fabricatio/toolboxes/__init__.py,sha256=KBJi5OG_pExscdlM7Bnt_UF43j4I3Lv6G71kPVu4KQU,395
34
34
  fabricatio/workflows/articles.py,sha256=RebdC_BzSXC-xsck5I9ccC_XIgfhtoeM8FZuhtVDn3U,580
35
35
  fabricatio/workflows/rag.py,sha256=-YYp2tlE9Vtfgpg6ROpu6QVO8j8yVSPa6yDzlN3qVxs,520
36
- fabricatio/_rust.pyi,sha256=0wCqtwWkVxxoqprvk8T27T8QYKIAKHS7xgsmdMNjQKc,1756
36
+ fabricatio/_rust.pyi,sha256=6_NhURTCDSdwtRTzE-BdpT3hba_rJIepG2MkxaSp45w,2041
37
37
  fabricatio/_rust_instances.py,sha256=dl0-yZ4UvT5g20tQgnPJpmqtkjFGXNG_YK4eLfi_ugQ,279
38
- fabricatio/__init__.py,sha256=tLyQcHKnV3OVWY2_WzBlhLxOv3VCSCm8p8TCYLbu8Mk,1870
39
- fabricatio/_rust.cp312-win_amd64.pyd,sha256=kLXP2Sk186x2L2weatQKDxVz5FPste2GqNVVyIobqjQ,1275904
40
- fabricatio-0.2.5.dev0.data/scripts/tdown.exe,sha256=zzziaIIK9hVEk8Ar9J3yJV_HCU0mKA_7OAEH0jXkcIM,3392000
41
- fabricatio-0.2.5.dev0.dist-info/RECORD,,
38
+ fabricatio/__init__.py,sha256=22KLRAVoJZUrK7gsDjU1NfiLCnZtV-qgx6TO2YMbuH8,1930
39
+ fabricatio/_rust.cp312-win_amd64.pyd,sha256=JbRTn8xg3PKWis_zWjwp9nbw-CZEgUIHVobzX5hIKcU,1605120
40
+ fabricatio-0.2.5.dev1.data/scripts/tdown.exe,sha256=g9tmfFFTTrlKVgBXDn0OZ8RaGfGh-gG2YPm4S7My5So,3392000
41
+ fabricatio-0.2.5.dev1.dist-info/RECORD,,