hyb
2026-01-09 4cb426cb3ae31e772a09d4ade5b2f0242aaeefa0
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
75
76
77
78
79
80
81
82
83
84
Ë
ñúhD*ãó.—ddlmZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
m Z ddl m Z mZmZej e«ZdaGd„de«ZGd„d    e«ZGd
„d e«ZGd „d e«ZGd„de«ZGd„de«Zed«ee    j8eiZ        ddlZeeejD<eeejF<eeejH<[d„Z&iZ'd„Z(ejRe*d««Z+d„Z,y#e $rddl!ZYŒ]wxYw#e e%f$rYŒ<wxYw)é)Úunicode_literalsNé)ÚDistlibException)Úcached_propertyÚget_cache_baseÚCachecó,‡—eZdZdˆfd„    Zd„Zd„ZˆxZS)Ú ResourceCachecó’•—|€1tjjt«t    d««}t
t ||«y)Nzresource-cache)ÚosÚpathÚjoinrÚstrÚsuperr
Ú__init__)ÚselfÚbaseÚ    __class__s  €úPH:\Change_password\venv_build\Lib\site-packages\pip/_vendor/distlib/resources.pyrzResourceCache.__init__s4ø€Ø ˆ<ä—7‘7—<‘<¤Ó 0´#Ð6FÓ2GÓHˆDÜ Œm˜TÑ+¨DÕ1ócó—y)zã
        Is the cache stale for the given resource?
 
        :param resource: The :class:`Resource` being cached.
        :param path: The path of the resource in the cache.
        :return: True if the cache is stale.
        T©©rÚresourcer s   rÚis_stalezResourceCache.is_stale"s€ðrcóR—|jj|«\}}|€|}|Stjj    |j
|j |«|«}tjj|«}tjj|«stj|«tjj|«sd}n|j||«}|r2t|d«5}|j|j«ddd«|S|S#1swY|SxYw)z¤
        Get a resource into the cache,
 
        :param resource: A :class:`Resource` instance.
        :return: The pathname of the resource in the cache.
        NTÚwb)ÚfinderÚget_cache_infor r rrÚ prefix_to_dirÚdirnameÚisdirÚmakedirsÚexistsrÚopenÚwriteÚbytes)rrÚprefixr Úresultr!ÚstaleÚfs        rÚgetzResourceCache.get-sä€ð —‘×5Ñ5°hÓ?‰ ˆØ ˆ>؈Fðˆ ô—W‘W—\‘\ $§)¡)¨T×-?Ñ-?ÀÓ-GÈÓNˆFÜ—g‘g—o‘o fÓ-ˆGÜ—7‘7—=‘= Ô)Ü— ‘ ˜GÔ$Ü—7‘7—>‘> &Ô)Ø‘àŸ ™  h°Ó5Ùä˜& $Ó'ð,¨1Ø—G‘G˜HŸN™NÔ+÷,àˆ ˆvˆ ÷,àˆ ús Ã4DÄD&©N)Ú__name__Ú
__module__Ú __qualname__rrr,Ú __classcell__©rs@rr
r
sø„õ2ò     örr
có—eZdZd„Zy)Ú ResourceBasecó —||_||_yr-)rÚname)rrr6s   rrzResourceBase.__init__Hs€ØˆŒ ؈    rN)r.r/r0rrrrr4r4Gs„órr4cóJ—eZdZdZdZd„Zed„«Zed„«Zed„«Z    y)ÚResourcezÇ
    A class representing an in-package resource, such as a data file. This is
    not normally instantiated by user code, but rather by a
    :class:`ResourceFinder` which manages the resource.
    Fcó8—|jj|«S)z’
        Get the resource as a stream.
 
        This is not a property to make it obvious that it returns a new stream
        each time.
        )rÚ
get_stream©rs rÚ    as_streamzResource.as_streamUs€ð{‰{×%Ñ% dÓ+Ð+rcóL—t€
t«atj|«Sr-)Úcacher
r,r;s rÚ    file_pathzResource.file_path^s€ô ˆ=Ü!“OˆE܏y‰y˜‹Ðrcó8—|jj|«Sr-)rÚ    get_bytesr;s rr'zResource.byteses€à{‰{×$Ñ$ TÓ*Ð*rcó8—|jj|«Sr-)rÚget_sizer;s rÚsizez Resource.sizeis€à{‰{×#Ñ# DÓ)Ð)rN)
r.r/r0Ú__doc__Ú is_containerr<rr?r'rDrrrr8r8MsO„ñð
€Lò,ðñóðð ñ+óð+ðñ*óñ*rr8có —eZdZdZed„«Zy)ÚResourceContainerTcó8—|jj|«Sr-)rÚ get_resourcesr;s rÚ    resourceszResourceContainer.resourcesqs€à{‰{×(Ñ(¨Ó.Ð.rN)r.r/r0rFrrKrrrrHrHns„Ø€Làñ/óñ/rrHcóЗeZdZdZej
j d«rdZndZd„Zd„Z    d„Z
d„Z d    „Z d
„Z d „Zd „Zd „Zd„Zd„Zeej*j,«Zd„Zy)ÚResourceFinderz4
    Resource finder for file system resources.
    Újava)ú.pycú.pyoz.class)rOrPcó”—||_t|dd«|_tjj t|dd««|_y)NÚ
__loader__Ú__file__Ú)ÚmoduleÚgetattrÚloaderr r r!r)rrUs  rrzResourceFinder.__init__€s6€ØˆŒ ܘf l°DÓ9ˆŒ Ü—G‘G—O‘O¤G¨F°JÀÓ$CÓDˆ    rcó@—tjj|«Sr-)r r Úrealpath©rr s  rÚ _adjust_pathzResourceFinder._adjust_path…s€Üw‰w×Ñ Ó%Ð%rcóà—t|t«rd}nd}|j|«}|jd|j«t j j|Ž}|j|«S)Nó/ú/r)    Ú
isinstancer'ÚsplitÚinsertrr r rr[)rÚ resource_nameÚsepÚpartsr)s     rÚ
_make_pathzResourceFinder._make_pathˆs]€ô m¤UÔ +؉CàˆCØ×#Ñ# CÓ(ˆØ  ‰ Q˜Ÿ    ™    Ô"Ü—‘—‘˜uÐ%ˆØ× Ñ  Ó(Ð(rcó@—tjj|«Sr-)r r r$rZs  rÚ_findzResourceFinder._find”s€Üw‰w~‰~˜dÓ#Ð#rcó—d|jfSr-)r ©rrs  rrzResourceFinder.get_cache_info—s€ØX—]‘]Ð"Ð"rcó´—|j|«}|j|«sd}|S|j|«r t||«}n t    ||«}||_|Sr-)rergÚ _is_directoryrHr8r )rrbr r)s    rÚfindzResourceFinder.findšs\€Ø‰˜}Ó-ˆØz‰z˜$ÔØˆFðˆ ð ×!Ñ! $Ô'Ü*¨4°Ó?‘ä! $¨ Ó6ØˆFŒK؈ rcó.—t|jd«S©NÚrb)r%r ris  rr:zResourceFinder.get_stream¦s€ÜH—M‘M 4Ó(Ð(rcóz—t|jd«5}|j«cddd«S#1swYyxYwrn)r%r Úread)rrr+s   rrAzResourceFinder.get_bytes©s0€Ü (—-‘- Ó &ð    ¨!Ø—6‘6“8÷    ÷    ò    ús—1±:cóT—tjj|j«Sr-)r r Úgetsizeris  rrCzResourceFinder.get_size­s€Üw‰w‰˜xŸ}™}Ó-Ð-rc󖇗ˆfd„}ttj|j«Dcgc] }||«sŒ |‘Œc}«Scc}w)NcóJ•—|dk7xr|j‰j« S)NÚ __pycache__)ÚendswithÚskipped_extensions)r+rs €rÚallowedz-ResourceFinder.get_resources.<locals>.allowed±s,ø€Ø˜Ñ&ò8Ø—J‘J˜t×6Ñ6Ó7ð,8ð 9r)Úsetr Úlistdirr )rrryr+s`   rrJzResourceFinder.get_resources°s6ø€ô    9ôœrŸz™z¨(¯-©-Ó8ÖG˜!¹GÀA½J’AÒGÓHÐHùÒGs
­ A»Acó8—|j|j«Sr-)rkr ris  rrFzResourceFinder.is_container¶s€Ø×!Ñ! (§-¡-Ó0Ð0rc#óXK—|j|«}|“|g}|r|jd«}|–—|jrh|j}|jD]M}|s|}ndj ||g«}|j|«}|jr|j |«ŒJ|–—ŒO|rŒŒyyy­w)Nrr^)rlÚpoprFr6rKrÚappend)rrbrÚtodoÚrnamer6Únew_nameÚchilds        rÚiteratorzResourceFinder.iterator»s©èø€Ø—9‘9˜]Ó+ˆØ Рؐ:ˆDÙØŸ8™8 A›;Ø’Ø×(Ò(Ø$ŸM™MEØ (× 2Ñ 2ò    (˜Ù$Ø'+™Hà'*§x¡x°¸° Ó'>˜HØ $§    ¡    ¨(Ó 3˜Ø ×-Ò-Ø ŸK™K¨Õ.à"'›Kð    (ô ð  ùs ‚B$B*Â'B*N)r.r/r0rEÚsysÚplatformÚ
startswithrxrr[rergrrlr:rArCrJrFÚ staticmethodr r r"rkr„rrrrMrMvsy„ñð ‡||×јvÔ&Ø7Ñà-ÐòEò
&ò
)ò$ò#ò
ò)òò.òIò 1ñ! §¡§¡Ó/€Mó(rrMcóR‡—eZdZdZˆfd„Zd„Zd„Zd„Zd„Zd„Z    d„Z
d    „Z d
„Z ˆxZ S) ÚZipResourceFinderz6
    Resource finder for resources in .zip files.
    cóF•—tt| |«|jj}dt |«z|_t|jd«r|jj|_ntj||_t|j«|_ y)NrÚ_files) rrŠrrWÚarchiveÚlenÚ
prefix_lenÚhasattrrŒÚ    zipimportÚ_zip_directory_cacheÚsortedÚindex)rrUrrs   €rrzZipResourceFinder.__init__Ôssø€Ü Ô Ñ/°Ô7Ø—+‘+×%Ñ%ˆØœc '›lÑ*ˆŒä 4—;‘; Ô )ØŸ+™+×,Ñ,ˆDKä#×8Ñ8¸ÑAˆDŒKܘDŸK™KÓ(ˆ
rcó—|Sr-rrZs  rr[zZipResourceFinder._adjust_pathßs€Øˆ rcóð—||jd}||jvrd}nj|r)|dtjk7r|tjz}t    j|j
|«}    |j
|j |«}|s-tjd||jj«|Stjd||jj«|S#t$rd}YŒiwxYw)NTéÿÿÿÿFz_find failed: %r %rz_find worked: %r %r) rrŒr rcÚbisectr”r‡Ú
IndexErrorÚloggerÚdebugrWr()rr r)Úis    rrgzZipResourceFinder._findâsӀؐD—O‘OÐ$Ð%ˆØ 4—;‘;Ñ Ø‰FᘘR™¤B§F¡FÒ*ØœbŸf™f‘}Ü— ‘ ˜dŸj™j¨$Ó/ˆAð ØŸ™ A™×1Ñ1°$Ó7ñÜ L‰LÐ.°°d·k±k×6HÑ6HÔ Iðˆ ô L‰LÐ.°°d·k±k×6HÑ6HÔ I؈ øô ò Ø’ð úsÁ-C'Ã' C5Ã4C5cól—|jj}|jdt|«zd}||fS)Nr)rWrr rŽ)rrr(r s    rrz ZipResourceFinder.get_cache_infoôs4€Ø—‘×$Ñ$ˆØ}‰}˜Q¤ V£™_Ð-Ð.ˆØtˆ|ÐrcóL—|jj|j«Sr-)rWÚget_datar ris  rrAzZipResourceFinder.get_bytesùs€Ø{‰{×#Ñ# H§M¡MÓ2Ð2rcóJ—tj|j|««Sr-)ÚioÚBytesIOrAris  rr:zZipResourceFinder.get_streamüs€Üz‰z˜$Ÿ.™.¨Ó2Ó3Ð3rcóX—|j|jd}|j|dS)Né)r rrŒrs   rrCzZipResourceFinder.get_sizeÿs+€Ø}‰}˜TŸ_™_Ð-Ð.ˆØ{‰{˜4Ñ  Ñ#Ð#rcó.—|j|jd}|r)|dtjk7r|tjz }t    |«}t «}t j |j|«}|t    |j«krƒ|j|j|«s    |S|j||d}|j|jtjd«d«|dz }|t    |j«krŒƒ|S)Nr—rr) r rr rcrŽrzr˜r”r‡Úaddr`)rrr Úplenr)rœÚss       rrJzZipResourceFinder.get_resourcessâ€Ø}‰}˜TŸ_™_Ð-Ð.ˆÙ D˜‘H¤§¡Ò&Ø ”B—F‘F‰NˆDܐ4‹yˆÜ“ˆÜ M‰M˜$Ÿ*™* dÓ +ˆØ”#d—j‘j“/Ò!Ø—:‘:˜a‘=×+Ñ+¨DÔ1Øðˆ ð—
‘
˜1‘ ˜d˜eÐ$ˆAØ J‰Jq—w‘wœrŸv™v qÓ)¨!Ñ,Ô -Ø ‰FˆAð ”#d—j‘j“/Ó!ð ˆ rcó—||jd}|r)|dtjk7r|tjz }tj|j|«}    |j|j |«}|S#t $rd}Y|SwxYw)Nr—F)rr rcr˜r”r‡r™)rr rœr)s    rrkzZipResourceFinder._is_directorys…€ØD—O‘OÐ$Ð%ˆÙ D˜‘H¤§¡Ò&Ø ”B—F‘F‰NˆDÜ M‰M˜$Ÿ*™* dÓ +ˆð    Ø—Z‘Z ‘]×-Ñ-¨dÓ3ˆFðˆ øôò    Ø‰F؈ ð    úsÁA<Á< B Â
B )r.r/r0rErr[rgrrAr:rCrJrkr1r2s@rrŠrŠÐs5ø„ñô    )òòò$ò
3ò4ò$ò ö    rrŠcó(—|tt|«<yr-)Ú_finder_registryÚtype)rWÚ finder_makers  rÚregister_finderr®2s€Ø%1Ô”T˜&“\Ò"rcóX—|tvr t|}|S|tjvr t|«tj|}t    |dd«}|€ t d«‚t    |dd«}t jt|««}|€t d|z«‚||«}|t|<|S)zŸ
    Return a resource finder for a package.
    :param package: The name of the package.
    :return: A :class:`ResourceFinder` instance for the package.
    Ú__path__Nz8You cannot get a finder for a module, only for a packagerRzUnable to locate finder for %r)    Ú _finder_cacher…ÚmodulesÚ
__import__rVrr«r,r¬)Úpackager)rUr rWr­s      rrr9s¸€ð ”-ÑܘwÑ'ˆð €Mð œ#Ÿ+™+Ñ %Ü wÔ Ü—‘˜WÑ%ˆÜv˜z¨4Ó0ˆØ ˆ<Ü"ð$8ó9ð 9䘠¨tÓ4ˆÜ'×+Ñ+¬D°«LÓ9ˆ Ø Ð Ü"Ð#CÀgÑ#MÓNÐ NÙ˜fÓ%ˆØ!'Œ gÑØ €MrÚ    __dummy__có&—d}tj|«tjj    |«}t
j    t |««}|r:t}tjj|d«|_ ||_ ||«}|S)z¬
    Return a resource finder for a path, which should represent a container.
 
    :param path: The path.
    :return: A :class:`ResourceFinder` instance for the path.
    NrT) ÚpkgutilÚ get_importerr…Úpath_importer_cacher,r«r¬Ú _dummy_moduler r rrSrR)r r)rWrrUs     rÚfinder_for_pathr»Usu€ð€Fä ×јÔÜ × $Ñ $× (Ñ (¨Ó .€FÜ × !Ñ !¤$ v£,Ó /€F٠܈ܟ'™'Ÿ,™, t¨RÓ0ˆŒØ"ˆÔÙ˜“ˆØ €Mr)-Ú
__future__rr˜r¡Úloggingr r·r…Útypesr‘rTrÚutilrrrÚ    getLoggerr.ršr>r
Úobjectr4r8rHrMrŠr¬Ú zipimporterr«Ú_frozen_importlib_externalÚ_fiÚ ImportErrorÚ_frozen_importlibÚSourceFileLoaderÚ
FileFinderÚSourcelessFileLoaderÚAttributeErrorr®r±rÚ
ModuleTyperrºr»rrrú<module>rÌsRðõ(ã Û    ÛÛ    ÛÛ
Û Ûåß8Ñ8à    ˆ×    Ñ    ˜8Ó    $€ð     €ô)Eô)ôX6ôô *ˆ|ô*ôB/˜ ô/ôW(VôW(ôtK˜ôKñ^    ˆƒJØ ×ÑÐ,ðÐð
    ð(Û0ð.<АS×)Ñ)Ñ*Ø'5АS—^‘^Ñ$à1?АS×-Ñ-Ñ.Ø ò
2ð€ òð2!× Ñ ¡ [Ó!1Ó2€ óøð] ò(Ý'ð(ûð    ^Ð$ò    Ùð    ús0Â%C;Â).D
Ã;    DÄD
ÄDÄD
Ä
DÄD