1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
Ë
ñúh& ãó¢—ddlZddlZddlmZddlmZddlmZddlm    Z    m
Z
ddl m Z m Z ddlmZddlmZdd    lmZee«ZGd
„d e«Zy) éN)ÚValues)ÚCallable)ÚCommand)ÚERRORÚSUCCESS)Ú CommandErrorÚPipError)Ú
filesystem)Ú    getLogger)Ú format_sizecóV—eZdZdZdZdZdd„Zdeee    e
e egdfffd„Z de
d    e ede fd
„Zde
d    e eddfd „Zde
d    e eddfd „Zde
d    e eddfd „Zde eddfd„Zde eddfd„Zde
d    e eddfd„Zde
d    e eddfd„Zde
dedefd„Zde
de efd„Zde
dede efd„Zy)Ú CacheCommandaw
    Inspect and manage pip's wheel cache.
 
    Subcommands:
 
    - dir: Show the cache directory.
    - info: Show information about the cache.
    - list: List filenames of packages stored in the cache.
    - remove: Remove one or more package from the cache.
    - purge: Remove all items from the cache.
 
    ``<pattern>`` can be a glob expression or a package name.
    Tz˜
        %prog dir
        %prog info
        %prog list [<pattern>] [--format=[human, abspath]]
        %prog remove <pattern>
        %prog purge
    ÚreturnNcó’—|jjdddddd¬«|jjd|j«y)    Nz--formatÚstoreÚ list_formatÚhuman)rÚabspathz:Select the output format among: human (default) or abspath)ÚactionÚdestÚdefaultÚchoicesÚhelpr)Úcmd_optsÚ
add_optionÚparserÚinsert_option_group©Úselfs úOH:\Change_password\venv_build\Lib\site-packages\pip/_internal/commands/cache.pyÚ add_optionszCacheCommand.add_options(sE€Ø  ‰ × Ñ Ø ØØØØ(ØMð     !ô    
ð      ‰ ×'Ñ'¨¨4¯=©=Õ9ócóv—|j|j|j|j|jdœS)N)ÚdirÚinfoÚlistÚremoveÚpurge)Ú get_cache_dirÚget_cache_infoÚlist_cache_itemsÚremove_cache_itemsÚ purge_cachers r Ú handler_mapzCacheCommand.handler_map4s9€à×%Ñ%Ø×'Ñ'Ø×)Ñ)Ø×-Ñ-Ø×%Ñ%ñ 
ð    
r"ÚoptionsÚargscóœ—|j«}|jstjd«tS|r|d|vr4tjddj t |«««tS|d}    ||||dd«tS#t$r2}tj|jd«tcYd}~Sd}~wwxYw)Nz<pip cache commands can not function since cache is disabled.rzNeed an action (%s) to perform.z, é)
r.Ú    cache_dirÚloggerÚerrorrÚjoinÚsortedr    r0r)rr/r0r.rÚes      r ÚrunzCacheCommand.run=s¹€Ø×&Ñ&Ó(ˆ à× Ò Ü L‰LÐWÔ X܈Lñt˜A‘w kÑ1Ü L‰LØ1Ø—    ‘    œ& Ó-Ó.ô ôˆLàa‘ˆð    Ø ˆK˜Ñ  ¨¨a¨b¨Ô 2ô
ˆøô    ò    Ü L‰L˜Ÿ™ ™Ô #܍Lûð    úsÁ;B    C Â'CÃC ÃC có\—|r td«‚tj|j«y)NúToo many arguments)rr4r%r3©rr/r0s   r r)zCacheCommand.get_cache_dirWs#€Ù ÜÐ3Ó4Ð 4ä ‰ G×%Ñ%Õ&r"c    ó6—|r td«‚t|j|««}t|j|d««}|j    |d«}|j    |d«}|j    |d«}t j t j|«t j|«z«}t j|«}    tjd«j|||||||    ¬«j«}
tj|
«y)Nr;Ú*úhttp-v2ÚhttpÚwheelsa
                    Package index page cache location (pip v23.3+): {http_cache_location}
                    Package index page cache location (older pips): {old_http_cache_location}
                    Package index page cache size: {http_cache_size}
                    Number of HTTP files: {num_http_files}
                    Locally built wheels location: {wheels_cache_location}
                    Locally built wheels size: {wheels_cache_size}
                    Number of locally built wheels: {package_count}
                )Úhttp_cache_locationÚold_http_cache_locationÚhttp_cache_sizeÚnum_http_filesÚwheels_cache_locationÚ package_countÚwheels_cache_size)rÚlenÚ_find_http_filesÚ _find_wheelsÚ
_cache_dirr
r Údirectory_sizeÚformat_directory_sizeÚtextwrapÚdedentÚformatÚstripr4r%) rr/r0rEÚ num_packagesrBrCrFrDrHÚmessages            r r*zCacheCommand.get_cache_info]s €Ù ÜÐ3Ó4Ð 4ä˜T×2Ñ2°7Ó;Ó<ˆÜ˜4×,Ñ,¨W°cÓ:Ó;ˆ à"Ÿo™o¨g°yÓAÐØ"&§/¡/°'¸6Ó"BÐØ $§¡°¸Ó BÐÜ$×0Ñ0Ü × %Ñ %Ð&9Ó :Ü×'Ñ'Ð(?Ó@ñ Aó
ˆô'×<Ñ<Ð=RÓSÐô O‰Oðó
÷‰VØ$7Ø(?Ø /Ø-Ø&;Ø*Ø"3ðó÷‰U‹Wð+    ô0     ‰ GÕr"cóҗt|«dkDr td«‚|r|d}nd}|j||«}|jdk(r|j    |«y|j |«y)Nr2r;rr>r)rIrrKrÚformat_for_humanÚformat_for_abspath)rr/r0ÚpatternÚfiless     r r+zCacheCommand.list_cache_items‡sf€Ü ˆt‹9qŠ=ÜÐ3Ó4Ð 4á Ø˜1‘g‰GàˆGà×!Ñ! '¨7Ó3ˆØ × Ñ  'Ò )Ø × !Ñ ! %Õ (à × #Ñ # EÕ *r"rYcób—|stjd«yg}|D]N}tjj    |«}t j |«}|jd|›d|›d«ŒPtjd«tjdjt|«««y)NzNo locally built wheels cached.z - z (ú)zCache contents:
ú
)
r4r%ÚosÚpathÚbasenamer
Úformat_file_sizeÚappendr6r7)rrYÚresultsÚfilenameÚwheelÚsizes      r rVzCacheCommand.format_for_human–s€ÙÜ K‰KÐ9Ô :Ø àˆØò    3ˆHÜ—G‘G×$Ñ$ XÓ.ˆEÜ×.Ñ.¨xÓ8ˆDØ N‰N˜S   r¨$¨¨qÐ1Õ 2ð    3ô     ‰ Ð'Ô(܏ ‰ D—I‘Iœf W›oÓ.Õ/r"cód—|r.tjdjt|«««yy)Nr\)r4r%r6r7)rrYs  r rWzCacheCommand.format_for_abspath£s#€Ù Ü K‰K˜Ÿ    ™    ¤&¨£-Ó0Õ 1ð r"cóü—t|«dkDr td«‚|s td«‚|j||d«}d}|ddk(r||j|«z }n |d|d›dz }|stj |«d}|D]O}|t j|«jz }t j|«tjd    |«ŒQtjd
t|«t|««y) Nr2r;zPlease provide a patternrzNo matching packagesr>z for pattern "ú"z
Removed %szFiles removed: %s (%s)) rIrrKrJr4Úwarningr]ÚstatÚst_sizeÚunlinkÚverboser%r )rr/r0rYÚno_matching_msgÚ bytes_removedrcs       r r,zCacheCommand.remove_cache_items§sî€Ü ˆt‹9qŠ=ÜÐ3Ó4Ð 4áÜÐ9Ó:Ð :à×!Ñ! '¨4°©7Ó3ˆà0ˆØ ‰7cŠ>à T×*Ñ*¨7Ó3Ñ 3‰Eð  °°Q±¨y¸Ð:Ñ :ˆOáÜ N‰N˜?Ô +àˆ Øò    3ˆHØ œRŸW™W XÓ.×6Ñ6Ñ 6ˆMÜ I‰IhÔ Ü N‰N˜<¨Õ 2ð    3ô     ‰ Ð,¬c°%«j¼+ÀmÓ:TÕUr"cóB—|r td«‚|j|dg«S)Nr;r>)rr,r<s   r r-zCacheCommand.purge_cacheÂs&€Ù ÜÐ3Ó4Ð 4à×&Ñ& w°°Ó6Ð6r"ÚsubdircóV—tjj|j|«S)N)r]r^r6r3)rr/rqs   r rLzCacheCommand._cache_dirÈs€Üw‰w|‰|˜G×-Ñ-¨vÓ6Ð6r"có¤—|j|d«}|j|d«}tj|d«tj|d«zS)Nr@r?r>©rLr
Ú
find_files)rr/Ú old_http_dirÚ new_http_dirs    r rJzCacheCommand._find_http_filesËsN€Ø—‘ w°Ó7ˆ Ø—‘ w°    Ó:ˆ Ü×$Ñ$ \°3Ó7¼*×:OÑ:OØ ˜#ó;
ñ
ð    
r"rXcóh—|j|d«}|d|vrdndz}tj||«S)NrAú-z*.whlz-*.whlrt)rr/rXÚ    wheel_dirs    r rKzCacheCommand._find_wheelsÒs9€Ø—O‘O G¨XÓ6ˆ    ð$¨¨w©™W¸HÑEˆä×$Ñ$ Y°Ó8Ð8r")rN)Ú__name__Ú
__module__Ú __qualname__Ú__doc__Úignore_require_venvÚusager!ÚdictÚstrrrr&r.Úintr9r)r*r+rVrWr,r-rLrJrK©r"r rrsz„ñ ðÐð €Eó
:ð
˜T # x°¸¸c¹Ð0CÀTÐ0IÑ'JÐ"JÑKó
ð˜6ð¨¨c©ð°sóð4' Vð'°4¸±9ð'Àó'ð ( fð(°D¸±Ið(À$ó(ðT +¨ð +°d¸3±ið +ÀDó +ð 0 d¨3¡ið 0°Dó 0ð2¨¨S©    ð2°dó2ðV¨&ðV¸¸S¹    ðVÀdóVð67 6ð7°°c±ð7¸tó7ð 7 &ð7°#ð7¸#ó7ð
¨ð
°4¸±9ó
ð9 Fð9°Sð9¸TÀ#¹Yô9r"r)r]rOÚoptparserÚtypingrÚpip._internal.cli.base_commandrÚpip._internal.cli.status_codesrrÚpip._internal.exceptionsrr    Úpip._internal.utilsr
Úpip._internal.utils.loggingr Úpip._internal.utils.miscr r{r4rr„r"r ú<module>rs;ðÛ    ÛÝÝå2ß9ß;Ý*Ý1Ý0á    8Ó    €ôW97õW9r"