
    1 j                         S SK r S SKrS SKJr  S SKJr  S SKJrJrJ	r	  \" \5      r
 " S S5      r\" 5       rSSS	S
SSSSSSSSS.rS r\ R                  SS 4S jrS r\S:X  a  \" 5         gg)    N)basename)import_module)setup_loggingkeydefaultdictcached_propertyc                   $    \ rS rSr\S 5       rSrg)_LocalLazyClass   c                 N    SSK JnJn  SSKJn  SU SU SUS   R
                   3$ )Nr   )PYPDFIUM_INFOPDFIUM_INFO)_libsz
pypdfium2 z
pdfium z at pdfium)pypdfium2.versionr   r   pypdfium2_raw.bindingsr   _name)selfr   r   r   s       g/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/pypdfium2_cli/__main__.pyversion_str_LocalLazyClass.version_str   s,    @0M?)K=U8_EZEZD[\\     N)__name__
__module____qualname____firstlineno__r   r   __static_attributes__r   r   r   r	   r	      s    ] ]r   r	   zRearrange/merge documentsz List/extract/edit embedded fileszExtract imageszExtract textzConvert images to PDFzPrint info on pageobjectsz Print info on document and pageszList a document's fontszDump info about default fontszRasterize pageszTile pages (N-up)zPrint table of contents)arrangeattachmentszextract-imageszextract-textimgtopdfpageobjectspdfinfofontszdefault-fontsrendertiletocc           
         [         R                  " S[         R                  S[        [	        [
        R                  5      S9-  S9nUR                  SSS[        R                  S9  UR                  S	S
9nS nU =(       a    U S   =(       d    S n[        R                  5       nU[        ;   au  XT	 [        SUR                  SS5       3   n[        U   n[        USS 5      nU(       a  US-   U-   OUnUR!                  XFU[         R                  S9nUR#                  U5        UR%                  5        H  u  pUR!                  XS9  M     X4$ )N	pypdfium2a  pypdfium2 is a Python binding to PDFium, a PDF processing library.
This is the command-line interface. Invoke as `pypdfium2` or `%(py_exe)s -m pypdfium2_cli`.

pypdfium2's CLI mainly serves testing purposes, similar to pdfium_test upstream.
No API stability promises are being made.

Environment variables:
- PYPDFIUM_LOGLEVEL {debug,info,warning,error,critical} = debug
  Controls the logging level.
- DEBUG_AUTOCLOSE {debug,warning,critical} = warning
  How much info to print about (auto-)closing of PDFium objects.
- DEBUG_UNSUPPORTED {0,1} = 1
  Whether to enable or disable the unsupported feature handler.
- DEBUG_SYSFONTS {0,1} = 0
  Whether to install a sysfont listener.)py_exe)progformatter_classdescriptionz-vz	--versionversion)actionr-   
subcommand)destr   zpypdfium2_cli.-_PARSER_DESCz

)helpr,   r+   )r4   )argparseArgumentParserRawTextHelpFormatterdictr   sys
executableadd_argument	LocalLazyr   add_subparsersSubCommandscopyModuleLoaderreplacegetattr
add_parserattachitems)
argvmain_parser
subparsersmodsc_name	other_scsr4   desc	subparsernames
             r   
get_parserrO   *   sQ   ))"77  (3>>*+!,K* k''  
 +++>J
CQ(DG  "I+^GOOC,E+FGH7#sM40)-v$4))D$99 * 
	 	

9oo'
d. ( r      c                     [        U 5      u  pUR                  U 5      nUR                  (       d  UR                  5         g UR	                  U5        g N)rO   
parse_argsr/   
print_helpmain)rF   parserrI   argss       r   api_mainrX   ^   s?    T"KFT"D??HHTNr   c                  ,    [        5         [        5         g rR   )r   rX   r   r   r   cli_mainrZ   j   s    OJr   __main__)r9   r5   os.pathr   	importlibr   pypdfium2_cli._setupr   r   r   r@   r	   r<   r>   rO   rF   rX   rZ   r   r   r   r   <module>r_      s       #  m,] ] 	 28&$-18/5')/ 1h ((12, 	
 zJ r   