+
    4jc                    x   R t ^ RIHt ^ RIt^ RIHt ^ RIHt ^ RIH	t	 ^ RI
Ht ^ RIHt ^ RIHt ^ R	IHt ^R
IHt ]'       d   ^ RIHt ^ RIHt RRRRRRRRRRR]	RRRRRRRRRRRR/R R lltR R  ltR! R" ltR# R$ lt]! R%R%R&7       ! R' R(4      4       t ! R) R*]4      t ! R+ R,]4      tR- R. lt R/R0.t!R# )1z
Programmatic access to pipdeptree.

Use :func:`render` when stdout is unavailable or when a dependency tree is needed as a string. Text results implement
the notebook rich-display protocol while retaining normal :class:`str` behavior.
)annotationsN)	dataclass)escape)inf)TYPE_CHECKING)format_flags)render)render_with_mermaid)__version__)	Container)Selfpackagesexcludeoutput_formattextsummaryFreversedepthextras
local_only	user_onlypythonencodingzutf-8warnsilencec               L    V ^8  d   QhRRRRRRRRRRR	R
RRRRRRRRRRRRRR/# )   r   
str | Noner   r   strr   boolr   r   floatr   
bool | strr   r   r   r   r   return )formats   "e/home/user/pdf2html-billing-ledger-validate/.venv/lib/python3.14/site-packages/pipdeptree/__init__.py__annotate__r&      s     =I =I=I =I 	=I
 =I =I =I =I =I =I =I =I =I 	=I    c                "   \        \        V VVVVVVVVV	V
VR7      4      pV'       g   VR8w  d<   \        \        V4      !  pV'       g   V# VR8X  d   \	        V\        V4      R7      # T# \        V4      w  rpp\        \        WV4      VR7      # )av  
Render an environment's dependency tree.

:param packages: Comma-separated package allowlist. Wildcards and ``name[extra]`` are supported.
:param exclude: Comma-separated package denylist. Wildcards are supported.
:param output_format: ``text``, ``json``, ``json-tree``, ``mermaid`` or ``dot``. With ``summary=True``, use
    ``text``, ``rich`` or ``json``.
:param summary: Return an environment health report instead of a dependency tree.
:param reverse: Show packages beneath the dependencies that require them.
:param depth: Maximum rendered tree depth.
:param extras: Extras mode. ``True`` means ``"explicit"``; named modes are ``"none"``, ``"explicit"`` and
    ``"active"``.
:param local_only: Exclude globally installed packages from a virtual environment.
:param user_only: Include only packages installed in the user site.
:param python: Python interpreter whose environment to inspect.
:param encoding: Encoding used to select text tree characters.
:param warn: Warning mode: ``silence``, ``suppress`` or ``fail``. ``suppress`` writes warnings to
    :data:`sys.stderr`; ``fail`` raises :exc:`ValueError` when pipdeptree finds a problem.
:raises ValueError: If an option is invalid, a binary Graphviz format is requested, or ``warn="fail"``
    and the environment has dependency problems.
:return: The rendered output. Text and text-summary results also provide notebook display hooks.
)r   r   r   r   r   r   r   r   r   r   r   r   r   )html)mermaid)_render_args_RenderOptions_report_render_SummaryResult_summary_html_render_with_mermaid_RenderResult)r   r   r   r   r   r   r   r   r   r   r   r   argsr   r*   warningscodes   $$$$$$$$$$$$     r%   r   r      s    J '!	
D  -6)&KANRXAX~dt)<=b^bb %9$>!D8T6HHr'   c               (    V ^8  d   QhRRRRRRRR/# )r   r   r   r4   r5   intr"   r#   )r$   s   "r%   r&   r&   \   s(      #  C C r'   c                    V^ 8w  d   \        VP                  4       4      hV'       d    \        P                  P	                  V4       V # )    )
ValueErrorstripsysstderrwrite)r   r4   r5   s   &&&r%   r-   r-   \   s5    qy)**

"Kr'   c                    V ^8  d   QhRRRR/# )r   optionsr,   r"   z	list[str]r#   )r$   s   "r%   r&   r&   d   s      . Y r'   c                   \        V P                  V P                  4      pR V P                  RV P                  .VOpRV P
                  3RV P                  3RV P                  33 F  w  r4Vf   K  W#V.,          pK  	  V P                  \        8w  d(   VR\        \        V P                  4      4      .,          pTR\        V P                  \        4      '       d   V P                  MV P                  '       d   RMR.,          pR	V P                  3R
V P                  3RV P                   33 F   w  r5V'       g   K  VP#                  V4       K"  	  V# )z--warnz
--encodingz
--packagesz	--excludez--pythonz--depthz--extrasexplicitnonez	--reversez--local-onlyz--user-only)_format_flagsr   r   r   r   r   r   r   r   r   r   r7   
isinstancer   r   r   r   append)r@   format_argsr3   flagvalueenableds   &     r%   r+   r+   d   s0    5 5wGKgllL'2B2BQ[QD	w''(	goo&	W^^$
 5M!D }}CGMM 2344$W^^S99gnnn
bh D
 
goo&	++,	))*
 7KK Kr'   c                    V ^8  d   QhRRRR/# )r   r   r   r"   r#   )r$   s   "r%   r&   r&   ~   s     P P P Pr'   c                Z    R P                  R V P                  4        4       4      pRV R2# ) c              3     "   T FB  pVP                  R 4      w  r#pR\        V4       R\        VP                  4       4       R2x  KD  	  R# 5i):z<tr><td>z	</td><td>z
</td></tr>N)	partitionr   r;   ).0linelabel_rI   s   &    r%   	<genexpr> _summary_html.<locals>.<genexpr>   sH      %D $s 3OEe 6%=/6%++-+@*AL%s   A
Az/<table>
<tr><th>metric</th><th>value</th></tr>
z	
</table>)join
splitlines)r   rowss   & r%   r0   r0   ~   s5    77 OO% D
 ?tfJOOr'   T)frozenslotsc                      ] tR t^t$ R]R&   R]R&   R]R&   R]R&   R]R&   R	]R
&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   RtR# )r,   r   r   r   r   r   r   r   r   r    r   r!   r   r   r   r   r   r   r#   N)__name__
__module____qualname____firstlineno____annotations____static_attributes__r#   r'   r%   r,   r,      sD    MMLOM
Ir'   r,   c                  N   a  ] tR t^t$ RtR]R&   R V 3R lltRR R lltRtV ;t	# )	r2   _mermaidr   c               $    V ^8  d   QhRRRRRR/# )r   r   r   r*   r"   r   r#   )r$   s   "r%   r&   _RenderResult.__annotate__   s!      3 C D r'   c               	2   < \         SV `  W4      pW#n        V# N)super__new__rd   )clsr   r*   self	__class__s   &&$ r%   rj   _RenderResult.__new__   s    ws)r'   c               $    V ^8  d   QhRRRRRR/# r   includeContainer[str] | Noner   r"   dict[str, str]r#   )r$   s   "r%   r&   rf      s(     
8 
8&
8 '
8 
	
8r'   c                	|    R R\        \        V 4      4       R2R\        V 4      RV P                  /p\        W1V4      # )	text/htmlz<pre>z</pre>
text/plainztext/vnd.mermaid)r   r   rd   _filter_bundle)rl   rq   r   bundles   &&& r%   _repr_mimebundle__RenderResult._repr_mimebundle_   sD     5D	!2 36:#d)

 fw77r'   )rd   NN
r]   r^   r_   r`   	__slots__ra   rj   ry   rb   __classcell__rm   s   @r%   r2   r2      s!    IM 

8 
8r'   r2   c                  N   a  ] tR t^t$ RtR]R&   R V 3R lltRR R lltRtV ;t	# )	r/   _htmlr   c               $    V ^8  d   QhRRRRRR/# )r   r   r   r)   r"   r   r#   )r$   s   "r%   r&   _SummaryResult.__annotate__   s!      3   r'   c               	2   < \         SV `  W4      pW#n        V# rh   )ri   rj   r   )rk   r   r)   rl   rm   s   &&$ r%   rj   _SummaryResult.__new__   s    ws)
r'   c               $    V ^8  d   QhRRRRRR/# rp   r#   )r$   s   "r%   r&   r      s-     d d&d 'd 
	dr'   c                	H    \        R V P                  R\        V 4      /W4      # )ru   rv   )rw   r   r   )rl   rq   r   s   &&&r%   ry    _SummaryResult._repr_mimebundle_   s#    
 {DJJc$iPRYccr'   )r   r{   r|   r   s   @r%   r/   r/      s#    IJ 
d dr'   r/   c               (    V ^8  d   QhRRRRRRRR/# )r   rx   rs   rq   rr   r   r"   r#   )r$   s   "r%   r&   r&      s6     n nn"n #n 	nr'   c                    Ve,   V P                  4        UUu/ uF  w  r4W19   g   K  W4bK  	  p ppVf   V # V P                  4        UUu/ uF  w  r4W29  g   K  W4bK  	  upp# u uppi u uppi rh   )items)rx   rq   r   keyrI   s   &&&  r%   rw   rw      sg    
 /5||~P~*#*~P_6m*m*#Z]Zl:3:*mm Q*ms   
A"A"	
A(A(r
   r   )"__doc__
__future__r   r<   dataclassesr   r)   r   mathr   typingr   pipdeptree._rustr   rD   r   r.   r	   r1   versionr
   collections.abcr   typing_extensionsr   r-   r+   r0   r,   r   r2   r/   rw   __all__r#   r'   r%   <module>r      s   # 
 !     : . H  )&=I=I =I  	=I
 =I =I =I =I =I =I =I =I =I@4P $d#  $8C 8.dS d$n r'   