+
    UN-j4                       ^ RI Ht ^ RIt^ RIt^ RIHtHt ^ RIHt ^ RI	H
t
 ^ RIHtHt ^ RIHt ^ RIHtHt ^ R	IHt ^ R
IHt ^ RIHt ^ RIHt ^ RIHtHt ^ RIHt ^ RI H!t! ^ RI"H#t#H$t$ ]'       d!   ^ RI%H&t& ^ RI'H(t(  ! R R]4      t)]]),          t*]PV                  ! ],4      t- ! R R]4      t.R R lt/R R lt0R# )    )annotationsN)	GeneratorSequence)Parser)Values)TYPE_CHECKINGcastcanonicalize_name)InvalidVersionVersion)
cmdoptions)IndexGroupCommand)SUCCESS)CommandError)BaseDistributionget_environment)SelectionPreferences)stdlib_pkgs)tabulatewrite_outputPackageFinder)
PipSessionc                  0    ] tR t^t$ RtR]R&   R]R&   RtR# )_DistWithLatestInfozGive the distribution object a couple of extra fields.

These will be populated during ``get_outdated()``. This is dirty but
makes the rest of the code much cleaner.
r   latest_versionstrlatest_filetype N)__name__
__module____qualname____firstlineno____doc____annotations____static_attributes__r        ڊ/Users/jonathan/Documents/Zakelijk/ClaudeOS/03_Lab/paradisomatch/scraper/.venv/lib/python3.14/site-packages/pip/_internal/commands/list.pyr   r      s    	  r(   r   c                     a  ] tR t^*tRtRtRtR R ltR V 3R lltR R	 lt	R
 R lt
R R ltR R ltR R ltR R ltR R ltR R ltRtV ;t# )ListCommandzh
List installed packages, including editables.

Packages are listed in a case-insensitive sorted order.
Tz
      %prog [options]c                   V ^8  d   QhRR/# )   returnNoner    )formats   "r)   __annotate__ListCommand.__annotate__5   s     V: V:T V:r(   c           	     	   V P                   P                  R RRRRR7       V P                   P                  RRRRRR7       V P                   P                  R	R
RRRR7       V P                   P                  RRRRRR7       V P                   P                  RRRRRR7       V P                   P                  \        P                  ! 4       4       V P                   P                  RRRRR7       V P                   P                  RRRRR(RR7       V P                   P                  RRRRR7       V P                   P                  RR R!R"R7       V P                   P                  R#RR!R$R%R&7       V P                   P                  \        P                  ! 4       4       \        P
                  ! \        P                  V P                  4      pV P                  P                  ^ V4       V P                  P                  ^ V P                   4       R'# ))z-oz
--outdated
store_trueFzList outdated packages)actiondefaulthelpz-uz
--uptodatezList uptodate packagesz-ez
--editablezList editable projects.z-lz--localzSIf in a virtualenv that has global access, do not list globally-installed packages.z--useruserz,Only output packages installed in user-site.)destr5   r6   r7   z--prezYInclude pre-release and development versions. By default, pip only finds stable versions.z--formatstorelist_formatcolumnszSelect the output format among: columns (default), freeze, or json. The 'freeze' format cannot be used with the --outdated option.)r5   r9   r6   choicesr7   z--not-requirednot_requiredz>List packages that are not dependencies of installed packages.)r5   r9   r7   z--exclude-editablestore_falseinclude_editablez%Exclude editable package from output.z--include-editablez#Include editable package in output.T)r5   r9   r7   r6   N)r<   freezejson)	cmd_opts
add_optionr   	list_pathlist_excludemake_option_groupindex_groupparserinsert_option_group)self
index_optss   & r)   add_optionsListCommand.add_options5   s     ) 	! 	
 	  ) 	! 	
 	  * 	! 	
 	  / 	! 		
 	  ? 	! 	
 	  !5!5!78  2 	! 	
 	  1Q 	! 
	
 	  Q	 	! 	
 	    #8	 	! 	
 	   #6 	! 	
 	  !8!8!:;11*2H2H$++V
'':6''4==9r(   c                    V ^8  d   QhRRRR/# )r-   optionsr   r.   r/   r    )r0   s   "r)   r1   r2      s     6 6 64 6r(   c                	r   < VP                   '       g   VP                  '       d   \        SV `  V4       R # R # N)outdateduptodatesuperhandle_pip_version_check)rK   rP   	__class__s   &&r)   rV   $ListCommand.handle_pip_version_check   s,    w///G,W5  0r(   c               $    V ^8  d   QhRRRRRR/# )r-   rP   r   sessionr   r.   r   r    )r0   s   "r)   r1   r2      s$     
 

(2
	
r(   c                    ^ RI Hp ^ RIHp VP	                  W!R7      p\        RVP                  R7      pVP                  ! VVR7      # )z;
Create a package finder appropriate to this list command.
)LinkCollectorr   )rP   F)allow_yankedallow_all_prereleases)link_collectorselection_prefs)pip._internal.index.collectorr\   "pip._internal.index.package_finderr   creater   pre)rK   rP   rZ   r\   r   r_   r`   s   &&&    r)   _build_package_finder!ListCommand._build_package_finder   sO     	@D&--g-G /")++

 ##)+
 	
r(   c               $    V ^8  d   QhRRRRRR/# )r-   rP   r   args	list[str]r.   intr    )r0   s   "r)   r1   r2      s!     ' '6 ' 's 'r(   c                	N   VP                   '       d   VP                  '       d   \        R 4      hVP                   '       d   VP                  R8X  d   \        R4      h\        P
                  ! V4       \        \        4      pVP                  '       d#   VP                  R VP                   4       4       \        VP                  4      P                  VP                  VP                  VP                  VP                   VR7       Uu. uF  p\#        RV4      NK  	  ppVP$                  '       d   V P'                  WQ4      pVP                   '       d   V P)                  WQ4      pM#VP                  '       d   V P+                  WQ4      pV P-                  WQ4       \.        # u upi )z5Options --outdated and --uptodate cannot be combined.rA   z?List format 'freeze' cannot be used with the --outdated option.c              3  8   "   T F  p\        V4      x  K  	  R # 5irR   r
   ).0ns   & r)   	<genexpr>"ListCommand.run.<locals>.<genexpr>   s     G6F)!,,6F   )
local_only	user_onlyeditables_onlyinclude_editablesskipr   )rS   rT   r   r;   r   check_list_path_optionsetr   excludesupdater   pathiter_installed_distributionslocalr8   editabler@   r	   r>   get_not_requiredget_outdatedget_uptodateoutput_package_listingr   )rK   rP   rh   rv   dpackagess   &&&   r)   runListCommand.run   se    0 0 0VWW 3 3x ?Q  	))'2;KKGg6F6FGG %W\\2OO"==!,,&//")":": P 	%
 &* 	 	%
 ,,X?H((;H((;H##H61	%
s   
F"c               $    V ^8  d   QhRRRRRR/# r-   r   _ProcessedDistsrP   r   r.   r    )r0   s   "r)   r1   r2      $     
 
'
28
	
r(   c                	    V P                  W4       Uu. uF"  pVP                  VP                  8  g   K   VNK$  	  up# u upi rR   iter_packages_latest_infosr   versionrK   r   rP   dists   &&& r)   r   ListCommand.get_outdated   sH    
 77J
J""T\\1 DJ
 	
 
   ??c               $    V ^8  d   QhRRRRRR/# r   r    )r0   s   "r)   r1   r2      r   r(   c                	    V P                  W4       Uu. uF"  pVP                  VP                  8X  g   K   VNK$  	  up# u upi rR   r   r   s   &&& r)   r   ListCommand.get_uptodate   sH    
 77J
J""dll2 DJ
 	
 
r   c               $    V ^8  d   QhRRRRRR/# r   r    )r0   s   "r)   r1   r2      s)     U U'U28U	Ur(   c                	    V UUu0 uF9  pVP                  4       ;'       g    R F  p\        VP                  4      kK  	  K;  	  ppp\        V Uu0 uF  qfP                  V9  g   K  VkK  	  up4      # u uppi u upi )Nr    )iter_dependenciesr   namelistcanonical_name)rK   r   rP   r   depdep_keyspkgs   &&&    r)   r   ListCommand.get_not_required   s    
 !
 ..066B6 chh'6 (  	 
 HSHS0B0B(0RSSHSTT
 Ts   A5#A5A;(A;c               $    V ^8  d   QhRRRRRR/# )r-   r   r   rP   r   r.   z*Generator[_DistWithLatestInfo, None, None]r    )r0   s   "r)   r1   r2      s$     $ $'$28$	3$r(   c              #  	   aa"   V P                  S4      ;_uu_ 4       pV P                  SV4      oR  VV3R llp\        WA4       F  pVf   K	  Vx  K  	  RRR4       R#   + '       g   i     R# ; i5i)c                    V ^8  d   QhRRRR/# )r-   r   r   r.   z_DistWithLatestInfo | Noner    )r0   s   "r)   r1   <ListCommand.iter_packages_latest_infos.<locals>.__annotate__   s      )+r(   c                  < SP                  V P                  4      pSP                  '       g0   V Uu. uF#  pVP                  P                  '       d   K!  VNK%  	  ppSP                  V P                  R 7      pVP                  V4      pVf   R# VP                  pVP                  P                  '       d   RpMRpWPn	        W`n
        V # u upi ))project_nameNwheelsdist)find_all_candidatesr   rd   r   is_prereleasemake_candidate_evaluatorsort_best_candidatelinkis_wheelr   r   )	r   all_candidates	candidate	evaluatorbest_candidateremote_versiontypfinderrP   s	   &      r)   latest_info;ListCommand.iter_packages_latest_infos.<locals>.latest_info   s     "(!;!;D<O<O!P{{{ *8&)7I(00>> "	)7 # & #;;!%!4!4 < 	 "+!>!>~!N!)!/!7!7!&&///!C!C&4#'*$)&s   CCN)_build_sessionre   map)rK   r   rP   rZ   r   r   r   s   &&f   @r)   r   &ListCommand.iter_packages_latest_infos   sa        ))W//AF 8 K2#J 3? *)))s"   A5,A!A!
A5!A2	,	A5c               $    V ^8  d   QhRRRRRR/# )r-   r   r   rP   r   r.   r/   r    )r0   s   "r)   r1   r2     s$     = ='=28=	=r(   c                	   \        VR  R7      pVP                  R8X  d)   V'       d!   \        W4      w  r4V P                  W44       R# VP                  R8X  d\   V FS  p VP                   RVP
                   2pVP                  ^8  d   \        RWeP                  4       KH  \        V4       KU  	  R# VP                  R8X  d   \        \        W4      4       R# R#   \         d    TP                   RTP                   2p Li ; i)	c                    V P                   # rR   )r   )r   s   &r)   <lambda>4ListCommand.output_package_listing.<locals>.<lambda>  s
    T00r(   )keyr<   rA   z==z===z%s (%s)rB   N)sortedr;   format_for_columnsoutput_package_listing_columnsraw_namer   r   raw_versionverboser   locationformat_for_json)rK   r   rP   dataheaderr   
req_strings   &&&    r)   r   "ListCommand.output_package_listing  s     0
 )+-h@LD//=  H, I$(MM?"T\\N!CJ ??a' JF , !   F*;< + & I$(MM?#d6F6F5G!HJIs   C&DDc               $    V ^8  d   QhRRRRRR/# )r-   r   zlist[list[str]]r   ri   r.   r/   r    )r0   s   "r)   r1   r2   .  s$      #-6	r(   c                	    \        V4      ^ 8  d   VP                  ^ V4       \        V4      w  r4\        V4      ^ 8  d)   VP                  ^RP                  R V 4       4      4       V F  p\	        V4       K  	  R# )r    c              3  4   "   T F  pR V,          x  K  	  R# 5i)-Nr    rm   xs   & r)   ro   =ListCommand.output_package_listing_columns.<locals>.<genexpr>9  s     *BEq377Es   N)leninsertr   joinr   )rK   r   r   pkg_stringssizesvals   &&&   r)   r   *ListCommand.output_package_listing_columns.  sg     t9q=KK6"%d^ t9q=q#((*BE*B"BCC r(   r    )r!   r"   r#   r$   r%   ignore_require_venvusagerM   rV   re   r   r   r   r   r   r   r   r'   __classcell__)rW   s   @r)   r+   r+   *   sX     EV:p6 6
.'R

U$L=. r(   r+   c               $    V ^8  d   QhRRRRRR/# )r-   pkgsr   rP   r   r.   z!tuple[list[list[str]], list[str]]r    )r0   s   "r)   r1   r1   ?  s$     9 9
9$*9&9r(   c                   RR.pVP                   pV'       d   VP                  RR.4       R R lpV  Uu. uF
  qT! V4      NK  	  pp\        V4      pV'       d   VP                  R4       VP                  ^8  d   VP                  R4       VP                  ^8  d   VP                  R	4       \        ;QJ d    R
 V  4       F  '       g   K   RM	  RM! R
 V  4       4      pV'       d   VP                  R4       . p	\        V 4       EF.  w  rVP                  VP                  .pV'       d@   VP                  \        VP                  4      4       VP                  VP                  4       V'       d"   TP                  Wj,          ;'       g    R4       V'       d&   TP                  VP                  ;'       g    R4       VP                  ^8  d&   TP                  VP                  ;'       g    R4       VP                  ^8  d   VP                  VP                  4       V	P                  V4       EK1  	  W3# u upi )zS
Convert the package data into something usable
by output_package_listing_columns.
Packager   LatestTypec                    V ^8  d   QhRRRR/# )r-   r   r   r.   z
str | Noner    )r0   s   "r)   r1   (format_for_columns.<locals>.__annotate__L  s     : :. :: :r(   c                     V P                  R 4      p\        4       P                  T4      P	                  R4      #   \         d     R# i ; i)WHEELNBuild)	read_textFileNotFoundErrorr   parsestrget)r   
wheel_files   & r)   wheel_build_tag+format_for_columns.<locals>.wheel_build_tagL  sI    	0J x  ,0099 ! 		s   ; A
	A
r   Location	Installerc              3  8   "   T F  qP                   x  K  	  R # 5irR   )r~   r   s   & r)   ro   %format_for_columns.<locals>.<genexpr>]  s     1Dq

Drq   TFzEditable project location )rS   extendanyappendr   	enumerater   r   r   r   r   editable_project_locationr   	installer)r   rP   r   running_outdatedr   p
build_tagshas_build_tagshas_editablesr   iprojrows   &&           r)   r   r   ?  s    #F''x(): /33d/!$dJ3_Ng!j!!k"C1D1CCC1D11M12DT? }}d../JJs4../0JJt++,JJz}**+JJt55;;<??aJJt}}**+??aJJt~~&C) #, <K 4s   I c               $    V ^8  d   QhRRRRRR/# )r-   r   r   rP   r   r.   r   r    )r0   s   "r)   r1   r1   {  s!      o  3 r(   c                    . pV  F  p \        VP                  4      pR VP                  RV/pVP
                  ^8  d)   VP                  ;'       g    RVR&   VP                  VR&   VP                  '       d(   \        VP                  4      VR&   VP                  VR&   VP                  pV'       d   WeR&   VP                  V4       K  	  \        P                  ! V4      #   \         d    TP                  p Li ; i)r   r   r   r   r   r   r   r   )r   r   r   r   r   r   r   r   rS   r   r   r   r   rB   dumps)r   rP   r   r   r   infor   s   &&     r)   r   r   {  s    D	'$,,'G DMMw
 ??a#}}22D $D%()<)<%=D!"&*&:&:D"#$($B$B!$0I,-D% & ::d!  	'&&G	's   C##C=<C=)1
__future__r   rB   loggingcollections.abcr   r   email.parserr   optparser   typingr   r	   pip._vendor.packaging.utilsr   pip._vendor.packaging.versionr   r   pip._internal.clir   pip._internal.cli.index_commandr   pip._internal.cli.status_codesr   pip._internal.exceptionsr   pip._internal.metadatar   r   $pip._internal.models.selection_prefsr   pip._internal.utils.compatr   pip._internal.utils.miscr   r   rb   r   pip._internal.network.sessionr   r   r   	getLoggerr!   loggerr+   r   r   r    r(   r)   <module>r     s    "   /   & 9 A ( = 2 1 D E 2 ;@8.  23O 
		8	$R# Rj9xr(   