pytauri_wheel.lib
¶
PyTauri precompiled wheels.
Usage¶
pytauri-wheel
provides precompiled pytauri.EXT_MOD for pytauri,
which means you can normally use the pytauri
API, except for the following APIs provided by pytauri-wheel
:
- pytauri.builder_factory -> pytauri_wheel.lib.builder_factory
- pytauri.context_factory -> pytauri_wheel.lib.context_factory
Functions:
Name | Description |
---|---|
builder_factory |
A factory function for creating a pytauri.Builder instance. |
context_factory |
Generate a |
builder_factory
¶
builder_factory() -> Builder
A factory function for creating a pytauri.Builder instance.
This is a type-hinted wrapper function for pytauri.builder_factory.
context_factory
¶
context_factory(src_tauri_dir: Path, /, *, tauri_config: Optional[_PySerdeFrom[_ConfigFrom]] = None) -> Context
Generate a Context
based on tauri.conf.json
, capabilities/
and etc in the src_tauri_dir
directory.
This type-hinted wrapper function for pytauri.context_factory.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
Path
|
required | |
|
Optional[_PySerdeFrom[_ConfigFrom]]
|
The config to be merged with If |
None
|