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_data to the output location.

The video is exported at the specified resolution with the specified framerate (fps). It uses the machine and style configs (use the Repository to get configs by identifier). When import_options are specified, the input is 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 identifier from this repository.

fn machines() -> PyResult<Self>

Get the machines repository.

fn styles() -> PyResult<Self>

Get the styles repository.