Manages configuration settings for the Nutrient SDK. Provides functionality to load, export, and access various SDK settings through a type-safe registry system. This is a singleton class - use the static methods to access SDK settings.
Tags: Document
from nutrient_sdk import SdkSettingsConstruction
SdkSettings()Creates a new SdkSettings instance with default settings.
Class Methods
export
@classmethoddef export(cls, path: str) -> NoneStatic method to export the current SDK settings to a JSON file.
Parameters:
| Name | Type | Description |
|---|---|---|
path | str | The file path where the JSON settings will be saved. |
load
@classmethoddef load(cls, path: str) -> NoneStatic method to load SDK settings from a JSON file.
Parameters:
| Name | Type | Description |
|---|---|---|
path | str | The file path to the JSON settings file. |
Methods
export_instance
def export_instance(self, path: str) -> NoneExports the current SDK settings to a JSON file.
Parameters:
| Name | Type | Description |
|---|---|---|
path | str | The file path where the JSON settings will be saved. |
load_instance
def load_instance(self, path: str) -> NoneLoads SDK settings from a JSON file.
Parameters:
| Name | Type | Description |
|---|---|---|
path | str | The file path to the JSON settings file. |
Properties
ai_augmenter_settings
@classpropertydef ai_augmenter_settings(cls) -> AiAugmenterSettingsGets the settings for aiaugmenter.
Type: AiAugmenterSettings
Read-only property.
ai_processing_settings
@classpropertydef ai_processing_settings(cls) -> AiProcessingSettingsGets the settings for aiprocessing.
Type: AiProcessingSettings
Read-only property.
cad_settings
@classpropertydef cad_settings(cls) -> CadSettingsGets the settings for CAD.
Type: CadSettings
Read-only property.
claude_api_settings
@classpropertydef claude_api_settings(cls) -> ClaudeApiSettingsGets the settings for claudeapi.
Type: ClaudeApiSettings
Read-only property.
content_extraction_settings
@classpropertydef content_extraction_settings(cls) -> ContentExtractionSettingsGets the settings for contentextraction.
Type: ContentExtractionSettings
Read-only property.
conversion_settings
@classpropertydef conversion_settings(cls) -> ConversionSettingsGets the settings for conversion.
Type: ConversionSettings
Read-only property.
custom_vlm_api_settings
@classpropertydef custom_vlm_api_settings(cls) -> CustomVlmApiSettingsGets the settings for customvlmapi.
Type: CustomVlmApiSettings
Read-only property.
deskew_settings
@classpropertydef deskew_settings(cls) -> DeskewSettingsGets the settings for deskew.
Type: DeskewSettings
Read-only property.
document_layout_json_export_settings
@classpropertydef document_layout_json_export_settings(cls) -> DocumentLayoutJsonExportSettingsGets the settings for documentlayoutjsonexport.
Type: DocumentLayoutJsonExportSettings
Read-only property.
email_settings
@classpropertydef email_settings(cls) -> EmailSettingsGets the settings for email.
Type: EmailSettings
Read-only property.
finalizer_settings
@classpropertydef finalizer_settings(cls) -> FinalizerSettingsGets the settings for finalizer.
Type: FinalizerSettings
Read-only property.
form_labeling_settings
@classpropertydef form_labeling_settings(cls) -> FormLabelingSettingsGets the settings for formlabeling.
Type: FormLabelingSettings
Read-only property.
form_recognition_settings
@classpropertydef form_recognition_settings(cls) -> FormRecognitionSettingsGets the settings for formrecognition.
Type: FormRecognitionSettings
Read-only property.
handwriting_settings
@classpropertydef handwriting_settings(cls) -> HandwritingSettingsGets the settings for handwriting.
Type: HandwritingSettings
Read-only property.
html_settings
@classpropertydef html_settings(cls) -> HtmlSettingsGets the settings for HTML.
Type: HtmlSettings
Read-only property.
image_settings
@classpropertydef image_settings(cls) -> ImageSettingsGets the settings for image.
Type: ImageSettings
Read-only property.
inference_layout_settings
@classpropertydef inference_layout_settings(cls) -> InferenceLayoutSettingsGets the settings for inferencelayout.
Type: InferenceLayoutSettings
Read-only property.
instant_json_settings
@classpropertydef instant_json_settings(cls) -> InstantJsonSettingsGets the settings for instantjson.
Type: InstantJsonSettings
Read-only property.
jbig2_settings
@classpropertydef jbig2_settings(cls) -> Jbig2SettingsGets the settings for jbig2.
Type: Jbig2Settings
Read-only property.
jpeg_settings
@classpropertydef jpeg_settings(cls) -> JpegSettingsGets the settings for jpeg.
Type: JpegSettings
Read-only property.
markdown_settings
@classpropertydef markdown_settings(cls) -> MarkdownSettingsGets the settings for markdown.
Type: MarkdownSettings
Read-only property.
ocr_settings
@classpropertydef ocr_settings(cls) -> OcrSettingsGets the settings for ocr.
Type: OcrSettings
Read-only property.
open_ai_api_endpoint_settings
@classpropertydef open_ai_api_endpoint_settings(cls) -> OpenAIApiEndpointSettingsGets the settings for openaiapiendpoint.
Type: OpenAIApiEndpointSettings
Read-only property.
open_ai_languages_detection_settings
@classpropertydef open_ai_languages_detection_settings(cls) -> OpenAILanguagesDetectionSettingsGets the settings for openailanguagesdetection.
Type: OpenAILanguagesDetectionSettings
Read-only property.
open_ai_picture_alt_settings
@classpropertydef open_ai_picture_alt_settings(cls) -> OpenAIPictureAltSettingsGets the settings for openaipicturealt.
Type: OpenAIPictureAltSettings
Read-only property.
open_settings
@classpropertydef open_settings(cls) -> OpenSettingsGets the settings for opening documents.
Type: OpenSettings
Read-only property.
pdf_page_settings
@classpropertydef pdf_page_settings(cls) -> PdfPageSettingsGets the settings for PDF page.
Type: PdfPageSettings
Read-only property.
pdf_settings
@classpropertydef pdf_settings(cls) -> PdfSettingsGets the settings for PDF.
Type: PdfSettings
Read-only property.
reading_order_settings
@classpropertydef reading_order_settings(cls) -> ReadingOrderSettingsGets the settings for readingorder.
Type: ReadingOrderSettings
Read-only property.
segmenter_settings
@classpropertydef segmenter_settings(cls) -> SegmenterSettingsGets the settings for segmenter.
Type: SegmenterSettings
Read-only property.
spreadsheet_settings
@classpropertydef spreadsheet_settings(cls) -> SpreadsheetSettingsGets the settings for spreadsheet.
Type: SpreadsheetSettings
Read-only property.
table_recognition_settings
@classpropertydef table_recognition_settings(cls) -> TableRecognitionSettingsGets the settings for tablerecognition.
Type: TableRecognitionSettings
Read-only property.
tiff_settings
@classpropertydef tiff_settings(cls) -> TiffSettingsGets the settings for tiff.
Type: TiffSettings
Read-only property.
vision_descriptor_settings
@classpropertydef vision_descriptor_settings(cls) -> VisionDescriptorSettingsGets the settings for visiondescriptor.
Type: VisionDescriptorSettings
Read-only property.
vision_settings
@classpropertydef vision_settings(cls) -> VisionSettingsGets the settings for vision.
Type: VisionSettings
Read-only property.
words_detection_settings
@classpropertydef words_detection_settings(cls) -> WordsDetectionSettingsGets the settings for wordsdetection.
Type: WordsDetectionSettings
Read-only property.
word_settings
@classpropertydef word_settings(cls) -> WordSettingsGets the settings for Word documents.
Type: WordSettings
Read-only property.