+
    3j                        R t ^ RIt^ RIt^ RIt^ RIHt ^ RIt^RIH	t	 ^RI
Ht ]P                  ! ]4      t]P                  ! 4       tR]P"                  R&   ]! RR04      t]]3R	 lt]3R
 lt]R3R R llt]R8X  dc   ^ RIt]P.                  ! ]P0                  R7       ]! ]P2                  ^,          ]! ]P2                  ^,          4      P5                  4       4       R# R# )ac  
Fetch metadata from remote .conda or .tar.bz2 package.

Try to fetch less than the whole file if possible.

This module should only be used to make *partial* reads against a remote
package, typically just the ``info`` portion. If a full ``.conda`` format
package is needed, it is more efficient to download locally first and then use
the file-based API.
N)Path)package_streaming)	LazyCondazconda-package-streaming/0.1.0z
User-Agentzinfo/index.jsonzinfo/recipe/meta.yamlc                    \        V4      p\        WR7      pV F\  w  rVVP                  V9   d-   VP                  Wa4       VP	                  VP                  4       V'       d   KL  VP                  4        K^  	  R# )zt
Extract info/index.json and info/recipe/meta.yaml from url to destdir; close
url as soon as those files are found.
sessionN)setstream_conda_infonameextractremoveclose)urldestdir	checklistr   streamtarmembers   &&&&   ;lib/python3.14/site-packages/conda_package_streaming/url.pyextract_conda_infor   !   s[    
 IIs4F;;)#KK(V[[)yLLN     c              #  >  "   \        WR7      w  r# \        P                  ! W#4       Rj  xL
  \        VR4      '       d   VP	                  4        VP                  4        R#  L8  \        TR4      '       d   TP	                  4        TP                  4        i ; i5i)z]
Yield (tar, member) for conda package at url

Just "info/" for .conda, all members for tar.
r   Nrelease_conn)conda_reader_for_urlr   r	   hasattrr   r   )r   r   filenamecondas   &&  r   r	   r	   1   s{      +3@OH$66xGGG5.))   	H5.))  s+   BA& A$A& 4B$A& &4BBFc                D    V ^8  d   QhR\         P                  R\        /# )   r   fall_back_to_full_download)requestsSessionbool)formats   "r   __annotate__r$   C   s"      ""JNr   c                   \         P                  P                  V 4      pVP                  P	                  R^4      Ev rEVP                  R4      '       d1   VR\        R4      )  p\        WVR7      pVP                  V4       WW3# VP                  R4      '       d&   VP                  V RRR/R	7      pVP                  pWW3# \        R
V 4      h)a  
Return (name, file_like) suitable for package_streaming APIs

:param url: URL to conda package
:param session: The session to use for web requests.
:param fall_back_to_full_download: If true, fall back to downloading the entire
package instead of streaming it in the case of a specific issue where the server
incorrectly responds with 416 (Range Not Satisfiable). See LazyZipOverHTTP for
more details.
/z.condaN)r   z.tar.bz2T
Connectionr   )r   headerszUnsupported extension %s)urllibparseurlparsepathrsplitendswithlenr   prefetchgetraw
ValueError)	r   r   r   
parsed_url_r   file_idr   responses	   &&&      r   r   r   C   s     &&s+J??))#q1LQ""+c(m^,5O
 	w ? 
		:	&	&;;s4,9P;Q ? 3S99r   __main__)level)__doc__loggingsysurllib.parser)   pathlibr   r     r   
lazy_wheelr   	getLogger__name__logr!   r   r(   	frozensetMETADATA_CHECKLISTr   r	   r   basicConfigDEBUGargvabsolute r   r   <module>rK      s   	  
     "!



 ?   13JKL  0B7   $+ & &-QV: zgmm,sxx{D!$5$>$>$@A	 r   