fabricatio 0.2.5.dev0__cp312-cp312-manylinux_2_34_x86_64.whl → 0.2.5.dev1__cp312-cp312-manylinux_2_34_x86_64.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",
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=hYyS_mlomk3WIboZy4hbyhandjMTT4emhueuOj__okY,8623
2
- fabricatio-0.2.5.dev0.dist-info/WHEEL,sha256=RIvmwLDYujv60MYBx2jxyP4vdn1DD7X0kBgz1TQvZuc,108
3
- fabricatio-0.2.5.dev0.dist-info/licenses/LICENSE,sha256=yDZaTLnOi03bi3Dk6f5IjhLUc5old2yOsihHWU0z-i0,1067
1
+ fabricatio-0.2.5.dev1.dist-info/METADATA,sha256=PsgnEb4yQ2DY_hhyF2y3h0smp-IZwa49GxJb0Mftekc,8623
2
+ fabricatio-0.2.5.dev1.dist-info/WHEEL,sha256=RIvmwLDYujv60MYBx2jxyP4vdn1DD7X0kBgz1TQvZuc,108
3
+ fabricatio-0.2.5.dev1.dist-info/licenses/LICENSE,sha256=yDZaTLnOi03bi3Dk6f5IjhLUc5old2yOsihHWU0z-i0,1067
4
4
  fabricatio/decorators.py,sha256=cJHsxxbnMhc4SzPl4454CPLuDP3H0qbTrzV_U2rLPrs,6372
5
5
  fabricatio/core.py,sha256=MaEKZ6DDmbdScAY-7F1gwGA6fr7ADX6Mz5rNVi2msFA,6277
6
6
  fabricatio/models/generic.py,sha256=dP5rNf13Yo-Zy0WpmunsDYOxNbJF3RpFcVBTrYaHnvc,12197
@@ -22,7 +22,7 @@ fabricatio/fs/curd.py,sha256=DjaL8_lROZVcPghC0U1u7mklLWFxbO9Vz1LWqp6aLl0,4010
22
22
  fabricatio/fs/__init__.py,sha256=kfE2e_ijOQtDND_GUBGWDEwtgcP5pYAymCgT0H3qh6M,521
23
23
  fabricatio/config.py,sha256=niQ2_IfIQXc6JV4Ff7Z3uGn2SdCEmdGne1lozKikp00,13641
24
24
  fabricatio/journal.py,sha256=bzxZay48ZWI0VIkkDXm4Wc_Cc9lBQYa2VGx3Hxy_PtA,753
25
- fabricatio/__init__.py,sha256=mB73H_mejtED3VE4RG1VuTsoxc1k7Ef_QN6Cb1CqOio,1812
25
+ fabricatio/__init__.py,sha256=kr86hyEDgUbxl1KmWTJqmW1R-aeC8Hd4KFp-2HFr0LM,1870
26
26
  fabricatio/actions/output.py,sha256=0sKfU8C9y326IcgZMLeEoZZH3iMpgFGOLGoi9wYZz1U,663
27
27
  fabricatio/actions/rag.py,sha256=tP1uKLq7mo19YhsJzFbGYryrcMx6xcvBc3n_Wzh0hjg,796
28
28
  fabricatio/actions/article.py,sha256=-WKVYu1HrQOL5nyBraCvRG2bfbkTa_ylH_PyFSI6iLs,2704
@@ -35,7 +35,7 @@ fabricatio/capabilities/rating.py,sha256=ZBlWbecHTAtRhO1beO4fWX3IfwjeyAYSvpXGIRh
35
35
  fabricatio/capabilities/review.py,sha256=rsUlKZzURibM33UxuqjgPgxlHcA1vEGvCb-sIeZO9Do,5725
36
36
  fabricatio/capabilities/propose.py,sha256=oW9QKpY2mDkVPEvgsgqxXxDR2ylVqN5TEL8E0Wh_vJI,1714
37
37
  fabricatio/capabilities/task.py,sha256=BISAFbMgBI4udW0otE3-iyq0RXc05YN_30N0yI5qLxQ,4504
38
- fabricatio/_rust.pyi,sha256=clhcURuiB9zlFo4m3VyoWQ8Xs4tvg6KNHXpF-ok9h4o,1703
39
- fabricatio/_rust.cpython-312-x86_64-linux-gnu.so,sha256=JsfCkTEzex81lyhlL97CY5t5CNzjnV4d1SJ8MjYgK-4,1351336
40
- fabricatio-0.2.5.dev0.data/scripts/tdown,sha256=EP2gMfsbKrPyWPCx4itYrQqbhVaVpbCxoufK3IbXrTs,4568208
41
- fabricatio-0.2.5.dev0.dist-info/RECORD,,
38
+ fabricatio/_rust.pyi,sha256=tKI4o5ZsxcW4k-O5etU5s60TzjRgJArYxR2YUk7sqkE,1980
39
+ fabricatio/_rust.cpython-312-x86_64-linux-gnu.so,sha256=1ySWosE-ZFyYk7EHHNApJ54x4Q5QgUY4aRrb92LgyLQ,1684256
40
+ fabricatio-0.2.5.dev1.data/scripts/tdown,sha256=EP2gMfsbKrPyWPCx4itYrQqbhVaVpbCxoufK3IbXrTs,4568208
41
+ fabricatio-0.2.5.dev1.dist-info/RECORD,,