mod pynaviz¶
- module pynaviz¶
The MQT NAViz Python bindings.
Functions
- fn default_import_settings(py: Python<'_>, input_format: Bound<PyString>) -> PyResult<HashMap<String, Py<PyAny>>>¶
Get the default import settings for the specified
import_format.
- fn export_video(input_data: &str, output: &str, resolution: (u32, u32), fps: u32, machine: &str, style: &str, import_options: Option<Bound<PyDict>>) -> PyResult<()>¶
Export a video from the
input_datato theoutputlocation.The video is exported at the specified
resolutionwith the specified framerate (fps). It uses themachineandstyleconfigs (use theRepositoryto get configs by identifier). Whenimport_optionsare specified, theinputis imported from the specified format.
Structs and Unions
- struct Repository(naviz_repository::Repository)¶
Implementations
- impl Repository¶
Functions
- fn get(&self, identifier: &str) -> PyResult<Option<String>>¶
Get a config entry by
identifierfrom this repository.
- fn machines() -> PyResult<Self>¶
Get the machines repository.
- fn styles() -> PyResult<Self>¶
Get the styles repository.