MCPcopy Create free account

hub / github.com/NanoNets/docstrange / functions

Functions340 in github.com/NanoNets/docstrange

Methodget_processing_mode
Get the current processing mode. Returns: String describing the current processing mode
docstrange/extractor.py:291
Methodget_processing_stats
Get processing statistics and information. Returns: Dictionary with processing statistics
docstrange/processors/gpu_processor.py:233
Functionget_processor_preference
Get the preferred processor type based on system capabilities. Returns: 'gpu' if GPU is available Raises: Runtim
docstrange/utils/gpu_utils.py:70
Functionget_supported_formats
Get list of supported file formats.
docstrange/web_app.py:166
Functionget_system_info
Get system information including GPU availability.
docstrange/web_app.py:177
Methodhandler_factory
(*args, **kwargs)
docstrange/services/auth_service.py:347
Functionhealth_check
Health check endpoint.
docstrange/web_app.py:172
Functionindex
Serve the main page.
docstrange/web_app.py:76
Methodis_cloud_enabled
Check if cloud processing is enabled and configured. Returns: True if cloud processing is available
docstrange/extractor.py:283
Methodlist_tools
List available tools.
mcp_server_module/server.py:343
Methodlog_message
Suppress server logs.
docstrange/services/auth_service.py:301
Methodmodel
Get the Nanonets model.
docstrange/pipeline/ocr_service.py:49
Methodpredownload_ocr_models
Pre-download OCR models by running a dummy prediction.
docstrange/processors/image_processor.py:95
Methodpredownload_ocr_models
Pre-download OCR models by running a dummy prediction.
docstrange/processors/pdf_processor.py:232
Methodprocess
Process the HTML file and return a conversion result. Args: file_path: Path to the HTML file to process
docstrange/processors/html_processor.py:35
Methodprocess
Process the Excel file and return a conversion result. Args: file_path: Path to the Excel file to process
docstrange/processors/excel_processor.py:35
Methodprocess
Process the text file and return a conversion result. Args: file_path: Path to the text file to process
docstrange/processors/txt_processor.py:31
Methodprocess
Process the DOCX file and return a conversion result. Args: file_path: Path to the DOCX file to process
docstrange/processors/docx_processor.py:31
Methodprocess
Process the URL and return a conversion result. Args: file_path: URL to process Returns:
docstrange/processors/url_processor.py:29
Methodprocess
Process image file or PDF with OCR capabilities. Args: file_path: Path to the image file or PDF Retu
docstrange/processors/gpu_processor.py:288
Methodprocess
Process the PowerPoint file and return a conversion result. Args: file_path: Path to the PowerPoint file to process
docstrange/processors/pptx_processor.py:35
Methodrefresh_token
Refresh access token using refresh token directly with Auth0.
docstrange/services/auth_service.py:637
FunctionremoveFile
()
docstrange/static/script.js:351
Methodreplace_code_block
(match)
docstrange/result.py:413
Methodreplace_header
(match)
docstrange/result.py:550
Methodsetup_method
Set up test fixtures.
tests/test_converter.py:13
Functionstatic_files
Serve static files.
docstrange/web_app.py:81
Methodtest_convert_text
Test converting plain text.
tests/test_converter.py:34
Methodtest_convert_text_file
Test converting a text file.
tests/test_converter.py:17
Methodtest_convert_url
Test converting a URL.
tests/test_converter.py:43
Methodtest_converter_configuration
Test extractor configuration options.
tests/test_converter.py:103
Methodtest_file_not_found
Test handling of non-existent files.
tests/test_converter.py:64
Methodtest_output_formats
Test different output formats.
tests/test_converter.py:80
Methodtest_result_creation
Test creating a conversion result.
tests/test_converter.py:119
Methodtest_result_string_representation
Test string representation of result.
tests/test_converter.py:129
Methodtest_result_without_metadata
Test result creation without metadata.
tests/test_converter.py:137
Methodtest_supported_formats
Test getting supported formats.
tests/test_converter.py:69
Methodtest_unsupported_format
Test handling of unsupported formats.
tests/test_converter.py:52
Methodtokenizer
Get the Nanonets tokenizer.
docstrange/pipeline/ocr_service.py:59
Methodtry_parse_json
(text)
docstrange/processors/gpu_processor.py:176
← previous301–340 of 340, ranked by callers