fspacker.models package
Submodules
fspacker.models.dirs module
- class fspacker.models.dirs.Dirs(*, cache: Path = PosixPath('/home/docs/.cache/fspacker'), embed: Path = PosixPath('/home/docs/.cache/fspacker/embed-repo'), libs: Path = PosixPath('/home/docs/.cache/fspacker/libs-repo'), tools: Path = PosixPath('/home/docs/.cache/fspacker/tools'), checksum: str = '')[源代码]
基类:
BaseModel目录配置.
- cache: Path
- embed: Path
- libs: Path
- tools: Path
- checksum: str
- property entries: tuple[Path, Path, Path]
获取所有目录.
- 返回:
所有目录
- 返回类型:
tuple[Path, Path, Path]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
fspacker.models.mode module
- class fspacker.models.mode.PackMode(*, archive: bool = False, debug: bool = False, gui: bool = False, offline: bool = False, rebuild: bool = False, recursive: bool = False, simplify: bool = False, use_tk: bool = False)[源代码]
基类:
BaseModel打包模式信息.
- archive: bool
- debug: bool
- gui: bool
- offline: bool
- rebuild: bool
- recursive: bool
- simplify: bool
- use_tk: bool
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].