
    h                     .   S SK r S SKrS SKrS SKJrJr  S SKJr  S SKJ	r	  \	S   S   r
SSS	S
SSSSSSS.
r\ V s0 sH'  o \R                  SU R                  SS5       35      _M)     sn rS r\ R                   SS 4S jrS r\S:X  a  \" 5         ggs  sn f )    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                  D   [         R                  " S[         R                  SS9n U R                  SSSS[         S[
         S	[         3S
9  U R                  SS9n[        R                  5        H-  u  p#UR                  X#US9n[        U   R                  U5        M/     U $ )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        J/var/www/html/shao/venv/lib/python3.13/site-packages/pypdfium2/__main__.py
get_parserr-      s    ))"77bK
 T}o];-tK=Y  
 +++>J!'')
))$t)L	D  + *        c                     [        5       nUR                  U 5      nUR                  (       d  UR                  5         g [        UR                     R                  U5        g N)r-   
parse_argsr   
print_helpr&   main)raw_argsparserargss      r,   api_mainr8   2   sF    \FX&D?? %%d+r.   c                  ,    [        5         [        5         g 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h\gWX)))OAIIc3<O;P*QRR\gh* hhqrl 	,
 zJ S is   -B