MCPcopy Create free account

hub / github.com/adithya-s-k/marker-api / functions

Functions64 in github.com/adithya-s-k/marker-api

↓ 2 callersMethod_batch_convert_endpoint
(self)
client/marker_api_client/__init__.py:97
↓ 2 callersMethod_convert_endpoint
(self)
client/marker_api_client/__init__.py:92
↓ 2 callersMethod_log_server_info
(self, health_data: HealthResponse)
client/marker_api_client/__init__.py:84
↓ 2 callersMethodconvert_pdf
Send a PDF conversion request to the specified API endpoint.
tests/test.py:35
↓ 2 callersFunctionprint_markerapi_text_art
(suffix=None)
marker_api/utils.py:81
↓ 1 callersMethod_aconvert_batch
( self, file_paths: List[str], show_progress: bool )
client/marker_api_client/__init__.py:163
↓ 1 callersMethod_aconvert_single
(self, file_path: str)
client/marker_api_client/__init__.py:152
↓ 1 callersMethod_convert_batch
( self, file_paths: List[str], show_progress: bool )
client/marker_api_client/__init__.py:123
↓ 1 callersMethod_convert_single
(self, file_path: str)
client/marker_api_client/__init__.py:112
↓ 1 callersMethodacheck_health
(self)
client/marker_api_client/__init__.py:75
↓ 1 callersMethodaload_data
( self, file_paths: Union[str, List[str]], show_progress: bool = False )
client/marker_api_client/__init__.py:140
↓ 1 callersFunctioncelery_batch_convert
(pdf_files: List[UploadFile] = File(...))
marker_api/celery_routes.py:110
↓ 1 callersFunctioncelery_batch_result
(task_id: str)
marker_api/celery_routes.py:122
↓ 1 callersFunctioncelery_convert_pdf
(pdf_file: UploadFile = File(...))
marker_api/celery_routes.py:12
↓ 1 callersFunctioncelery_convert_pdf_concurrent_await
(pdf_file: UploadFile = File(...))
marker_api/celery_routes.py:39
↓ 1 callersFunctioncelery_result
(task_id: str)
marker_api/celery_routes.py:18
↓ 1 callersMethodcheck_health
(self)
client/marker_api_client/__init__.py:66
↓ 1 callersFunctioncheck_task_status
()
marker_api/celery_routes.py:46
↓ 1 callersFunctionconvert_pdf_to_markdown
(self, filename, pdf_content)
marker_api/celery_tasks.py:37
↓ 1 callersFunctiondecode_base64_to_pil
(base64_str)
marker_api/demo.py:25
↓ 1 callersFunctionfetch_readme_content
()
marker_api/demo.py:11
↓ 1 callersFunctionis_celery_alive
()
distributed_server.py:64
↓ 1 callersMethodload_data
( self, file_paths: Union[str, List[str]], show_progress: bool = False )
client/marker_api_client/__init__.py:100
↓ 1 callersFunctionload_pdf_files
()
tests/test.py:15
↓ 1 callersFunctionmain
()
server.py:102
↓ 1 callersFunctionmain
()
client/marker_api_client/__init__.py:233
↓ 1 callersFunctionparse_args
()
distributed_server.py:107
↓ 1 callersFunctionparse_pdf_and_return_markdown
Function to parse a PDF and extract text and images. Args: pdf_file (bytes): The content of the PDF file. extract_images (bool): Whe
marker_api/routes.py:14
↓ 1 callersFunctionprocess_files
(files)
server.py:86
↓ 1 callersFunctionprocess_image_to_base64
Process an image and convert it to base64. Args: image (PIL.Image.Image): The image to process. filename (str): The filename to use
marker_api/utils.py:18
↓ 1 callersFunctionprocess_pdf_file
Function to process a single PDF file. Args: file_content (bytes): The content of the PDF file. filename (str): The name of the PDF
marker_api/routes.py:51
↓ 1 callersFunctionsetup_routes
(app: FastAPI, celery_live: bool)
distributed_server.py:76
Method__aenter__
(self)
client/marker_api_client/__init__.py:51
Method__aexit__
(self, exc_type, exc_val, exc_tb)
client/marker_api_client/__init__.py:56
Method__call__
(self, *args, **kwargs)
marker_api/celery_tasks.py:29
Method__enter__
(self)
client/marker_api_client/__init__.py:59
Method__exit__
(self, exc_type, exc_val, exc_tb)
client/marker_api_client/__init__.py:63
Method__init__
(self, base_url: str)
client/marker_api_client/__init__.py:45
Method__init__
(self)
marker_api/celery_tasks.py:26
Methodaget_batch_result
(self, task_id: str)
client/marker_api_client/__init__.py:216
Methodaget_result
(self, task_id: str)
client/marker_api_client/__init__.py:190
Functionbatch_convert
(pdf_files: List[UploadFile] = File(...))
distributed_server.py:94
Methodbatch_convert_endpoint
Execute batch PDF conversion task using /batch endpoint.
tests/test.py:102
Functioncelery_convert
(pdf_file: UploadFile = File(...))
distributed_server.py:86
Methodcelery_convert_endpoint
Execute PDF conversion task using /celery/convert endpoint.
tests/test.py:97
Functioncelery_convert_pdf_sync
(pdf_file: UploadFile = File(...))
marker_api/celery_routes.py:32
Functioncelery_offline_root
()
marker_api/celery_routes.py:28
Methodconvert_endpoint
Execute PDF conversion task using /convert endpoint.
tests/test.py:92
Functionconvert_pdf
(pdf_file: UploadFile = File(...))
distributed_server.py:82
Functionconvert_pdf_to_markdown
Endpoint to convert a single PDF to markdown.
server.py:68
Functionconvert_pdfs_to_markdown
Endpoint to convert multiple PDFs to markdown.
server.py:80
Functionget_batch_result
(task_id: str)
distributed_server.py:98
Methodget_batch_result
(self, task_id: str)
client/marker_api_client/__init__.py:205
Functionget_celery_result
(task_id: str)
distributed_server.py:90
Functionget_ram_available
Function to get VRAM/RAM availability on device Used to set the number of workers
marker_api/utils.py:44
Methodget_result
(self, task_id: str)
client/marker_api_client/__init__.py:181
Functioninitialize_models
(**kwargs)
marker_api/celery_tasks.py:16
Functionlifespan
(app: FastAPI)
server.py:35
Functionparse_document
(input_file_path, parameters, request: gr.Request)
marker_api/demo.py:40
Functionping
()
marker_api/celery_worker.py:19
Functionprocess_batch
(self, batch_data)
marker_api/celery_tasks.py:73
Methodschema_extra
(schema: Dict[str, Any], model: Type["HealthResponse"])
marker_api/model/schema.py:21
Functionserver
Root endpoint to check server status.
server.py:59
Functionserver
Root endpoint to check server status. Returns: HealthResponse: A welcome message, server type, and number of workers (if distributed).
distributed_server.py:48