Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanoNets/docstrange
/ functions
Functions
340 in github.com/NanoNets/docstrange
⨍
Functions
340
◇
Types & classes
41
↳
Endpoints
6
Method
get_processing_mode
Get the current processing mode. Returns: String describing the current processing mode
docstrange/extractor.py:291
Method
get_processing_stats
Get processing statistics and information. Returns: Dictionary with processing statistics
docstrange/processors/gpu_processor.py:233
Function
get_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
Function
get_supported_formats
Get list of supported file formats.
docstrange/web_app.py:166
Function
get_system_info
Get system information including GPU availability.
docstrange/web_app.py:177
Method
handler_factory
(*args, **kwargs)
docstrange/services/auth_service.py:347
Function
health_check
Health check endpoint.
docstrange/web_app.py:172
Function
index
Serve the main page.
docstrange/web_app.py:76
Method
is_cloud_enabled
Check if cloud processing is enabled and configured. Returns: True if cloud processing is available
docstrange/extractor.py:283
Method
list_tools
List available tools.
mcp_server_module/server.py:343
Method
log_message
Suppress server logs.
docstrange/services/auth_service.py:301
Method
model
Get the Nanonets model.
docstrange/pipeline/ocr_service.py:49
Method
predownload_ocr_models
Pre-download OCR models by running a dummy prediction.
docstrange/processors/image_processor.py:95
Method
predownload_ocr_models
Pre-download OCR models by running a dummy prediction.
docstrange/processors/pdf_processor.py:232
Method
process
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
Method
process
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
Method
process
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
Method
process
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
Method
process
Process the URL and return a conversion result. Args: file_path: URL to process Returns:
docstrange/processors/url_processor.py:29
Method
process
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
Method
process
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
Method
refresh_token
Refresh access token using refresh token directly with Auth0.
docstrange/services/auth_service.py:637
Function
removeFile
()
docstrange/static/script.js:351
Method
replace_code_block
(match)
docstrange/result.py:413
Method
replace_header
(match)
docstrange/result.py:550
Method
setup_method
Set up test fixtures.
tests/test_converter.py:13
Function
static_files
Serve static files.
docstrange/web_app.py:81
Method
test_convert_text
Test converting plain text.
tests/test_converter.py:34
Method
test_convert_text_file
Test converting a text file.
tests/test_converter.py:17
Method
test_convert_url
Test converting a URL.
tests/test_converter.py:43
Method
test_converter_configuration
Test extractor configuration options.
tests/test_converter.py:103
Method
test_file_not_found
Test handling of non-existent files.
tests/test_converter.py:64
Method
test_output_formats
Test different output formats.
tests/test_converter.py:80
Method
test_result_creation
Test creating a conversion result.
tests/test_converter.py:119
Method
test_result_string_representation
Test string representation of result.
tests/test_converter.py:129
Method
test_result_without_metadata
Test result creation without metadata.
tests/test_converter.py:137
Method
test_supported_formats
Test getting supported formats.
tests/test_converter.py:69
Method
test_unsupported_format
Test handling of unsupported formats.
tests/test_converter.py:52
Method
tokenizer
Get the Nanonets tokenizer.
docstrange/pipeline/ocr_service.py:59
Method
try_parse_json
(text)
docstrange/processors/gpu_processor.py:176
← previous
301–340 of 340, ranked by callers