Coverage for fpdf2_textindex / __init__.py: 100.00%
14 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-24 15:45 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-24 15:45 +0000
1"""
2[](https://www.gnu.org/licenses/gpl-3.0)
4.. include:: ../README.md
5 :start-line: 8
7---
9The module gives direct access to some classes defined in submodules:
11* :py:class:`fpdf2_textindex.Alias`
12* :py:class:`fpdf2_textindex.CrossReference`
13* :py:class:`fpdf2_textindex.CrossReferenceType`
14* :py:class:`fpdf2_textindex.FPDF`
15* :py:class:`fpdf2_textindex.LinkLocation`
16* :py:class:`fpdf2_textindex.Reference`
17* :py:class:`fpdf2_textindex.TextIndexEntry`
18* :py:class:`fpdf2_textindex.TextIndexRenderer`
19""" # noqa: D212, D415
21# Monkey-patch fpdf bugs first
22import fpdf2_textindex._fpdf # noqa: F401
23from fpdf2_textindex.interface import Alias
24from fpdf2_textindex.interface import CrossReference
25from fpdf2_textindex.interface import CrossReferenceType
26from fpdf2_textindex.interface import LinkLocation
27from fpdf2_textindex.interface import Reference
28from fpdf2_textindex.interface import TextIndexEntry
29from fpdf2_textindex.pdf import FPDF
30from fpdf2_textindex.renderer import TextIndexRenderer
31from fpdf2_textindex.version import FPDF2_TEXTINDEX_VERSION
33__docformat__ = "google"
34__license__ = "GPL 3.0"
35__version__ = FPDF2_TEXTINDEX_VERSION
37__all__ = ( # noqa: RUF022
38 "Alias",
39 "CrossReference",
40 "CrossReferenceType",
41 "FPDF",
42 "LinkLocation",
43 "Reference",
44 "TextIndexEntry",
45 "TextIndexRenderer",
46 "__license__",
47 "__version__",
48)