Module Constants
- plutoprint.__version__: str = Ellipsis
Represents the PlutoPrint version string in the format ‘major.minor.micro’.
- plutoprint.__version_info__: Tuple[int, int, int] = Ellipsis
Represents the PlutoPrint version as a tuple of three integers: (major, minor, micro).
- plutoprint.__build_info__: str = Ellipsis
Represents the PlutoPrint build information, including build date, platform, and compiler details.
- plutoprint.PLUTOBOOK_VERSION: int = Ellipsis
Represents the compile-time PlutoBook version encoded as a single integer.
- plutoprint.PLUTOBOOK_VERSION_MAJOR: int = Ellipsis
Represents the compile-time major version number of PlutoBook.
- plutoprint.PLUTOBOOK_VERSION_MICRO: int = Ellipsis
Represents the compile-time micro version number of PlutoBook.
Module Functions
- plutoprint.plutobook_version() int[source]
Returns the PlutoBook version encoded as a single integer.
- plutoprint.plutobook_version_string() str[source]
Returns the PlutoBook version as a string in the format ‘major.minor.micro’.
- plutoprint.plutobook_build_info() str[source]
Returns the PlutoBook build information, including build date, platform, and compiler details.
- plutoprint.plutobook_set_fontconfig_path(path: str | bytes | PathLike) None[source]
Set the FONTCONFIG_PATH environment variable for PlutoBook.
This tells Fontconfig which directory to use for its configuration files. It must be called before creating any Book instance to ensure the specified configuration path is used.
- Parameters:
path – Directory containing Fontconfig configuration files.