MCPcopy Create free account

hub / github.com/7toCR/paper2patent / functions

Functions113 in github.com/7toCR/paper2patent

↓ 10 callersFunctionensure_list
(value: Any, placeholder: str)
skills/paper2patent/scripts/generate_patent_docx.py:68
↓ 8 callersFunctionadd_python_docx_body
(document: Any, values: list[str])
skills/paper2patent/scripts/generate_patent_docx.py:598
↓ 8 callersFunctionas_paragraphs
(value: Any)
skills/paper2patent/scripts/export_patent_pdf.py:78
↓ 8 callersFunctionbody_paragraphs
(values: list[str])
skills/paper2patent/scripts/generate_patent_docx.py:116
↓ 8 callersFunctiongeneration_spec
(asset: dict[str, Any])
skills/paper2patent/scripts/generate_patent_drawings.py:194
↓ 8 callersMethodparagraph
(self, text: str, font: Any | None = None, first_indent: bool = True)
skills/paper2patent/scripts/export_patent_pdf.py:203
↓ 7 callersFunctionas_paragraphs
(value: Any)
skills/paper2patent/scripts/generate_patent_docx.py:49
↓ 7 callersFunctionas_paragraphs
(value: Any)
skills/paper2patent/scripts/generate_patent_drawings.py:42
↓ 7 callersMethodheading
(self, text: str)
skills/paper2patent/scripts/export_patent_pdf.py:216
↓ 6 callersFunctionadd_python_docx_paragraph
( document: Any, text: str, size_pt: int = 12, bold: bool = False, align: Any | None = Non
skills/paper2patent/scripts/generate_patent_docx.py:553
↓ 6 callersFunctionadd_python_docx_section_heading
(document: Any, text: str)
skills/paper2patent/scripts/generate_patent_docx.py:576
↓ 6 callersFunctioncanvas_length
(content_length: int)
skills/paper2patent/scripts/generate_patent_drawings.py:122
↓ 6 callersFunctioncentered_offset
(canvas_length_value: int, content_length: int)
skills/paper2patent/scripts/generate_patent_drawings.py:126
↓ 6 callersFunctionnode_index
(nodes: list[str], keyword: str)
skills/paper2patent/scripts/generate_patent_drawings.py:456
↓ 6 callersFunctionparagraph
( text: str, style: str | None = None, align: str | None = None, bold: bool = False, size:
skills/paper2patent/scripts/generate_patent_docx.py:88
↓ 6 callersFunctionrequire_items
(items: list[str], asset: dict[str, Any], kind: str, minimum: int = 2)
skills/paper2patent/scripts/generate_patent_drawings.py:373
↓ 6 callersFunctionsection_heading
(text: str)
skills/paper2patent/scripts/generate_patent_docx.py:104
↓ 5 callersMethodsave
(self, output: Path)
skills/paper2patent/scripts/export_patent_pdf.py:237
↓ 4 callersMethodensure_space
(self, needed: int)
skills/paper2patent/scripts/export_patent_pdf.py:167
↓ 4 callersFunctionextract_modules
(spec: str)
skills/paper2patent/scripts/generate_patent_drawings.py:364
↓ 4 callersFunctionhas_cjk
(text: str)
skills/paper2patent/scripts/generate_patent_drawings.py:81
↓ 4 callersFunctionload_font
(size: int)
skills/paper2patent/scripts/export_patent_pdf.py:110
↓ 4 callersFunctionxml_text
(text: str)
skills/paper2patent/scripts/generate_patent_docx.py:73
↓ 3 callersFunctionadd_edge
(source: int | None, target: int | None)
skills/paper2patent/scripts/generate_patent_drawings.py:471
↓ 3 callersFunctionarrow
(x1: int, y1: int, x2: int, y2: int)
skills/paper2patent/scripts/generate_patent_drawings.py:300
↓ 3 callersMethodcentered
(self, text: str, font: Any, before: int = 0, after: int = 16)
skills/paper2patent/scripts/export_patent_pdf.py:191
↓ 3 callersFunctioncompact_label
(text: str, limit: int = 28)
skills/paper2patent/scripts/generate_patent_drawings.py:73
↓ 3 callersFunctiondata_flow_edges
(nodes: list[str])
skills/paper2patent/scripts/generate_patent_drawings.py:463
↓ 3 callersFunctiondraw_arrow
(draw: Any, x1: int, y1: int, x2: int, y2: int)
skills/paper2patent/scripts/generate_patent_drawings.py:607
↓ 3 callersFunctiondraw_rect_node
( draw: Any, x: int, y: int, width: int, height: int, label: str, font: Any, m
skills/paper2patent/scripts/generate_patent_drawings.py:593
↓ 3 callersFunctionload_font
(size: int)
skills/paper2patent/scripts/generate_patent_drawings.py:559
↓ 3 callersFunctionpng_canvas
(width: int, height: int)
skills/paper2patent/scripts/generate_patent_drawings.py:643
↓ 3 callersFunctionrect_node
(x: int, y: int, width: int, height: int, label: str, max_chars: int = 12)
skills/paper2patent/scripts/generate_patent_drawings.py:292
↓ 3 callersFunctionsvg_footer
()
skills/paper2patent/scripts/generate_patent_drawings.py:266
↓ 3 callersFunctionsvg_header
(width: int, height: int)
skills/paper2patent/scripts/generate_patent_drawings.py:257
↓ 3 callersFunctiontitle_from_spec
(spec: str, figure_no: int)
skills/paper2patent/scripts/generate_patent_drawings.py:101
↓ 3 callersFunctionvalidate_canvas
(width: int, height: int, bbox: tuple[int, int, int, int])
skills/paper2patent/scripts/generate_patent_drawings.py:130
↓ 2 callersMethodadd_page_number
(self)
skills/paper2patent/scripts/export_patent_pdf.py:161
↓ 2 callersFunctionadd_python_docx_image
(document: Any, image: dict[str, Any])
skills/paper2patent/scripts/generate_patent_docx.py:603
↓ 2 callersFunctionbox_arrow_points
( first: tuple[int, int], second: tuple[int, int], node_w: int, node_h: int, )
skills/paper2patent/scripts/generate_patent_drawings.py:315
↓ 2 callersFunctioncaption_paragraph
(text: str)
skills/paper2patent/scripts/generate_patent_docx.py:112
↓ 2 callersFunctiondata_flow_extra_edges
(spec: str, nodes: list[str])
skills/paper2patent/scripts/generate_patent_drawings.py:467
↓ 2 callersFunctiondata_flow_layout
(nodes: list[str])
skills/paper2patent/scripts/generate_patent_drawings.py:424
↓ 2 callersFunctiondrawing_type_from_spec
(spec: str)
skills/paper2patent/scripts/generate_patent_drawings.py:112
↓ 2 callersFunctionextract_steps
(spec: str)
skills/paper2patent/scripts/generate_patent_drawings.py:356
↓ 2 callersMethodimage
(self, image_path: Path, caption: str)
skills/paper2patent/scripts/export_patent_pdf.py:222
↓ 2 callersFunctionimage_paragraph
(image: dict[str, Any], doc_pr_id: int)
skills/paper2patent/scripts/generate_patent_docx.py:252
↓ 2 callersFunctionmerge_source_figure
(asset: dict[str, Any], source_map: dict[int, dict[str, Any]])
skills/paper2patent/scripts/generate_patent_drawings.py:185
↓ 2 callersFunctionmethod_flow_layout
(steps: list[str])
skills/paper2patent/scripts/generate_patent_drawings.py:381
↓ 2 callersMethodnew_page
(self)
skills/paper2patent/scripts/export_patent_pdf.py:153
↓ 2 callersFunctionorthogonal_points
( first: tuple[int, int], second: tuple[int, int], node_h: int, )
skills/paper2patent/scripts/generate_patent_drawings.py:342
↓ 2 callersFunctionresolve_asset_path
(raw_path: str, base_dir: Path)
skills/paper2patent/scripts/generate_patent_docx.py:140
↓ 2 callersFunctionselect_abstract_image
(data: dict[str, Any], images: list[dict[str, Any]])
skills/paper2patent/scripts/generate_patent_docx.py:307
↓ 2 callersFunctionsource_generation_text
(source_figure: dict[str, Any] | None)
skills/paper2patent/scripts/generate_patent_drawings.py:174
↓ 2 callersFunctionstored_path
(path: Path, base_dir: Path)
skills/paper2patent/scripts/generate_patent_drawings.py:724
↓ 2 callersMethodtext_width
(self, text: str, font: Any)
skills/paper2patent/scripts/export_patent_pdf.py:171
↓ 2 callersFunctionvertical_block_layout
(items: list[str])
skills/paper2patent/scripts/generate_patent_drawings.py:403
↓ 2 callersMethodwrap
(self, text: str, font: Any, max_width: int, first_indent: int = 0)
skills/paper2patent/scripts/export_patent_pdf.py:175
↓ 2 callersFunctionwrap_label
(text: str, max_chars: int = 12)
skills/paper2patent/scripts/generate_patent_drawings.py:85
↓ 1 callersFunctionadd_python_docx_description
(document: Any, description: Any)
skills/paper2patent/scripts/generate_patent_docx.py:617
↓ 1 callersFunctionadd_python_docx_subsection_heading
(document: Any, text: str)
skills/paper2patent/scripts/generate_patent_docx.py:587
↓ 1 callersFunctionadd_svg_fallbacks_to_docx
(output: Path, inserted_images: list[dict[str, Any]])
skills/paper2patent/scripts/generate_patent_docx.py:634
↓ 1 callersFunctionbuild_document_xml
(data: dict[str, Any], images: list[dict[str, Any]])
skills/paper2patent/scripts/generate_patent_docx.py:323
↓ 1 callersFunctioncollect_drawing_images
( data: dict[str, Any], base_dir: Path, require_drawings: bool )
skills/paper2patent/scripts/generate_patent_docx.py:185
↓ 1 callersFunctionconfigure_python_docx_styles
(document: Any)
skills/paper2patent/scripts/generate_patent_docx.py:539
↓ 1 callersFunctioncontent_types_xml
(images: list[dict[str, Any]])
skills/paper2patent/scripts/generate_patent_docx.py:482
↓ 1 callersFunctiondata_flow_png
(asset: dict[str, Any], output: Path)
skills/paper2patent/scripts/generate_patent_drawings.py:692
↓ 1 callersFunctiondata_flow_svg
(asset: dict[str, Any])
skills/paper2patent/scripts/generate_patent_drawings.py:527
↓ 1 callersFunctiondefault_prefix
(input_path: Path)
skills/paper2patent/scripts/generate_patent_drawings.py:65
↓ 1 callersFunctiondescription_blocks
(description: Any)
skills/paper2patent/scripts/generate_patent_docx.py:120
↓ 1 callersFunctiondocument_rels_xml
(images: list[dict[str, Any]])
skills/paper2patent/scripts/generate_patent_docx.py:508
↓ 1 callersFunctiondraw_center_text
(draw: Any, x: int, y: int, label: str, font: Any, max_chars: int = 12)
skills/paper2patent/scripts/generate_patent_drawings.py:581
↓ 1 callersFunctiondraw_polyline_arrow
(draw: Any, points: list[tuple[int, int]])
skills/paper2patent/scripts/generate_patent_drawings.py:623
↓ 1 callersFunctiondrawing_extent
(path: Path)
skills/paper2patent/scripts/generate_patent_docx.py:175
↓ 1 callersFunctiondrawing_images
(data: dict[str, Any], base_dir: Path)
skills/paper2patent/scripts/export_patent_pdf.py:244
↓ 1 callersFunctionexport_pdf
(docx: Path, output: Path, soffice: str)
skills/paper2patent/scripts/export_patent_pdf.py:45
↓ 1 callersFunctionfigure_no_from_spec
(spec: str, fallback: int)
skills/paper2patent/scripts/generate_patent_drawings.py:107
↓ 1 callersFunctionfind_soffice
(explicit: str | None = None)
skills/paper2patent/scripts/export_patent_pdf.py:24
↓ 1 callersFunctiongenerate
( data: dict[str, Any], input_path: Path, output_dir: Path, prefix: str, png_fallback: boo
skills/paper2patent/scripts/generate_patent_drawings.py:757
↓ 1 callersFunctionimage_model_prompt
(asset: dict[str, Any])
skills/paper2patent/scripts/generate_patent_drawings.py:731
↓ 1 callersFunctioninfer_assets
(data: dict[str, Any], output_dir: Path, prefix: str)
skills/paper2patent/scripts/generate_patent_drawings.py:206
↓ 1 callersFunctionmain
()
skills/paper2patent/scripts/generate_patent_docx.py:860
↓ 1 callersFunctionmain
()
skills/paper2patent/scripts/generate_patent_drawings.py:839
↓ 1 callersFunctionmain
()
skills/paper2patent/scripts/export_patent_pdf.py:367
↓ 1 callersFunctionmethod_flow_png
(asset: dict[str, Any], output: Path)
skills/paper2patent/scripts/generate_patent_drawings.py:653
↓ 1 callersFunctionmethod_flow_svg
(asset: dict[str, Any])
skills/paper2patent/scripts/generate_patent_drawings.py:486
↓ 1 callersFunctionnormalize_source_figures
(data: dict[str, Any])
skills/paper2patent/scripts/generate_patent_drawings.py:155
↓ 1 callersFunctionpackage_rels_xml
()
skills/paper2patent/scripts/generate_patent_docx.py:500
↓ 1 callersFunctionparse_args
()
skills/paper2patent/scripts/generate_patent_docx.py:835
↓ 1 callersFunctionparse_args
()
skills/paper2patent/scripts/generate_patent_drawings.py:821
↓ 1 callersFunctionparse_args
()
skills/paper2patent/scripts/export_patent_pdf.py:348
↓ 1 callersFunctionpolyline_arrow
(points: list[tuple[int, int]])
skills/paper2patent/scripts/generate_patent_drawings.py:307
↓ 1 callersFunctionread_json
(path: Path)
skills/paper2patent/scripts/generate_patent_docx.py:41
↓ 1 callersFunctionread_json
(path: Path)
skills/paper2patent/scripts/generate_patent_drawings.py:28
↓ 1 callersFunctionread_json
(path: Path)
skills/paper2patent/scripts/export_patent_pdf.py:70
↓ 1 callersFunctionrender_pdf_from_json
(content_json: Path, output: Path)
skills/paper2patent/scripts/export_patent_pdf.py:281
↓ 1 callersFunctionrender_png
(asset: dict[str, Any], output: Path)
skills/paper2patent/scripts/generate_patent_drawings.py:714
↓ 1 callersFunctionrender_svg
(asset: dict[str, Any])
skills/paper2patent/scripts/generate_patent_drawings.py:550
↓ 1 callersFunctionresolve_asset
(raw_path: str, base_dir: Path)
skills/paper2patent/scripts/export_patent_pdf.py:97
↓ 1 callersFunctionrun
(text: str, bold: bool = False, size: int | None = None)
skills/paper2patent/scripts/generate_patent_docx.py:77
next →1–100 of 113, ranked by callers