
    w;3h                     *   d dl Z d dlZd dlZd dlmZmZ d dlmZ d dlm	Z	 e	d   d   Z
ddd	d
ddddddd
ZeD  ci c](  } |  ej                  d| j                  dd             * c} Zd Ze j                   dd fdZd Zedk(  r e        yyc c} w )    N)PYPDFIUM_INFOPDFIUM_INFO)setup_logging)
_libs_infopdfiumpathzrearrange/merge documentsz list/extract/edit embedded fileszextract imageszextract textzconvert images to PDFzprint info on page objectsz print info on document and pageszrasterize pagesztile pages (N-up)zprint table of contents)
arrangeattachmentszextract-imageszextract-textimgtopdfpageobjectspdfinforendertiletoczpypdfium2._cli.-_c                  Z   t        j                  dt         j                  d      } | j                  ddddt         dt
         d	t         
       | j                  d      }t        j                         D ]1  \  }}|j                  |||      }t        |   j                  |       3 | S )N	pypdfium2zJCommand line interface to the pypdfium2 library (Python binding to PDFium))progformatter_classdescriptionz	--versionz-vversionz
pypdfium2 z
pdfium z at )actionr   
subcommand)dest)r   help)argparseArgumentParserRawTextHelpFormatteradd_argumentr   r   pdfium_pathadd_subparsersSubCommandsitems
add_parserCmdToModuleattach)main_parser
subparsersnamer   	subparsers        R/var/www/html/audio-gradio/venv/lib/python3.12/site-packages/pypdfium2/__main__.py
get_parserr-      s    ))"77bK
 T}o];-tK=Y  
 +++>J!'') ,
d))$Dt)L	D  +,        c                     t               }|j                  |       }|j                  s|j                          y t        |j                     j                  |       y N)r-   
parse_argsr   
print_helpr&   main)raw_argsparserargss      r,   api_mainr8   2   sF    \FX&D?? %%d+r.   c                  ,    t                t                y r1   )r   r8    r.   r,   cli_mainr;   >   s    OJr.   __main__)sysr   	importlibpypdfium2.versionr   r   pypdfium2._cli._parsersr   pypdfium2_raw.bindingsr   r!   r#   import_modulereplacer&   r-   argvr8   r;   __name__)ns   0r,   <module>rG      s       8 1 -"6* 28&$-28')/ ]hhWXq))))OAIIc3<O;P*QRRh* hhqrl 	,
 zJ S is   -B