ó
    Ð]jLK  ã                  ó,  • S r SSKJr  SSKJrJr  SSKJrJrJ	r	  SSK
JrJrJrJrJrJrJrJrJr  SSKJr  SSKJrJr  SSKJr  SS	KJrJr  SS
KJr  SSK J!r!J"r"  SSK#J$r$J%r%J&r&J'r'J(r(  SSK)J*r*  SSK+J,r,J-r-  SSK.J/r/J0r0J1r1J2r2J3r3J4r4J5r5J6r6J7r7J8r8J9r9J:r:J;r;J<r<  SSK=J>r>J?r?J@r@JArAJBrB  SSKCJDrDJErE  SSKFJGrGJHrHJIrIJJrJJKrKJLrLJMrMJNrNJOrOJPrPJQrQJRrRJSrSJTrTJUrUJVrVJWrWJXrXJYrYJZrZJ[r[J\r\J]r]J^r^J_r_J`r`JaraJbrbJcrcJdrdJereJfrfJgrgJhrh  SSKiJjrjJkrk  SSKlJmrmJnrnJoroJprp  SSKqJrrrJsrs  SSKtJuruJvrv  SSKwJxrxJyry  SSKzJ{r{J|r|J}r}J~r~JrJ€r€J�r�J‚r‚Jƒrƒ  SSK„J…r…J†r†J‡r‡JˆrˆJ‰r‰JŠrŠJ‹r‹JŒrŒJ�r�JŽrŽJ�r�J�r�J‘r‘  SSK’J“r“J”r”J•r•J–r–J—r—J˜r˜J™r™JšršJ›r›JœrœJ�r�JžržJŸrŸJ r J¡r¡J¢r¢J£r£J¤r¤J¥r¥J¦r¦J§r§J¨r¨J©r©JªrªJ«r«J¬r¬J­r­J®r®J¯r¯J°r°J±r±J²r²J³r³J´r´JµrµJ¶r¶J·r·J¸r¸J¹r¹JºrºJ»r»J¼r¼J½r½J¾r¾  SSK¿JÀrÀJÁrÁJÂrÂJÃrÃJÄrÄ  SSKÅJÆrÆ  SSKÇJÈrÈ  SSKÉJÊrÊJËrËJÌrÌJÍrÍJÎrÎ  SSKÏJÐrÐJÑrÑ  SS KÒJÓrÓJÔrÔ  SS!KÕJÖrÖJ×r×JØrØJÙrÙ  SS"KÚJÛrÛJÜrÜJÝrÝJÞrÞ  SS#KßJàrà  SS$KáJârâJãrãJäräJåråJæræ  SS%KçJèrèJéréJêrêJërëJìrìJíríJîrîJïrïJðrðJñrñJòròJóróJôrô  SS&KõJörö  SS'K÷JørøJùrùJúrúJûrûJürüJýrýJþrþJÿrÿGJ Gr GJGr  / S(QGr SS)GK7  SS*GKGJGr  G\G\-  GrG\" G\5      Grg-! G\ a    1 S+kGrS.S, jGr	 g-f = f)/a¦  Griffe library package.

Signatures for entire Python programs.
Extract the structure, the frame, the skeleton of your project,
to generate API documentation or find breaking changes in your API.

The entirety of the library API is exposed here, in the top-level `griffe` module.

All messages written to standard output or error are logged using the `logging` module.
Our logger's name is set to `"griffe"` and is public (you can rely on it).
You can obtain the logger from the standard `logging` module: `logging.getLogger("griffe")`.
Actual logging messages are not part of the public API (they might change without notice).

Raised exceptions throughout the package are part of the public API (you can rely on them).
Their actual messages are not part of the public API (they might change without notice).

The following paragraphs will help you discover the package's content.

## Loaders

To load API data, Griffe provides several high-level functions.

- [`griffe.load`][]: Load and return a Griffe object.
- [`griffe.load_git`][]: Load and return a module from a specific Git reference.
- [`griffe.load_pypi`][]: Load and return a module from a specific package version downloaded using pip.

## Models

The data loaded by Griffe is represented by several classes.

- [`griffe.Module`][]: The class representing a Python module.
- [`griffe.Class`][]: The class representing a Python class.
- [`griffe.Function`][]: The class representing a Python function or method.
- [`griffe.Attribute`][]: The class representing a Python attribute.
- [`griffe.Alias`][]: This class represents an alias, or indirection, to an object declared in another module.

Additional classes are available to represent other concepts.

- [`griffe.Decorator`][]: This class represents a decorator.
- [`griffe.Parameters`][]: This class is a container for parameters.
- [`griffe.Parameter`][]: This class represent a function parameter.

## Agents

Griffe is able to analyze code both statically and dynamically, using the following "agents".
However most of the time you will only need to use the loaders above.

- [`griffe.visit`][]: Parse and visit a module file.
- [`griffe.inspect`][]: Inspect a module.

## Serializers

Griffe can serizalize data to dictionary and JSON.

- [`griffe.Object.as_json`][griffe.Object.as_json]
- [`griffe.Object.from_json`][griffe.Object.from_json]
- [`griffe.JSONEncoder`][]: JSON encoder for Griffe objects.
- [`griffe.json_decoder`][]: JSON decoder for Griffe objects.

## API checks

Griffe can compare two versions of the same package to find breaking changes.

- [`griffe.find_breaking_changes`][]: Find breaking changes between two versions of the same API.
- [`griffe.Breakage`][]: Breakage classes can explain what broke from a version to another.

## Extensions

Griffe supports extensions. You can create your own extension by subclassing the `griffe.Extension` class.

- [`griffe.load_extensions`][]: Load configured extensions.
- [`griffe.Extension`][]: Base class for Griffe extensions.

## Docstrings

Griffe can parse docstrings into structured data.

Main class:

- [`griffe.Docstring`][]: This class represents docstrings.

Docstring section and element classes all start with `Docstring`.

Docstring parsers:

- [`griffe.parse`][]: Parse the docstring.
- [`griffe.parse_auto`][]: Parse a docstring by automatically detecting the style it uses.
- [`griffe.parse_google`][]: Parse a Google-style docstring.
- [`griffe.parse_numpy`][]: Parse a Numpydoc-style docstring.
- [`griffe.parse_sphinx`][]: Parse a Sphinx-style docstring.

## Exceptions

Griffe uses several exceptions to signal errors.

- [`griffe.GriffeError`][]: The base exception for all Griffe errors.
- [`griffe.LoadingError`][]: Exception for loading errors.
- [`griffe.NameResolutionError`][]: Exception for names that cannot be resolved in a object scope.
- [`griffe.UnhandledEditableModuleError`][]: Exception for unhandled editables modules, when searching modules.
- [`griffe.UnimportableModuleError`][]: Exception for modules that cannot be imported.
- [`griffe.AliasResolutionError`][]: Exception for aliases that cannot be resolved.
- [`griffe.CyclicAliasError`][]: Exception raised when a cycle is detected in aliases.
- [`griffe.LastNodeError`][]: Exception raised when trying to access a next or previous node.
- [`griffe.RootNodeError`][]: Exception raised when trying to use siblings properties on a root node.
- [`griffe.BuiltinModuleError`][]: Exception raised when trying to access the filepath of a builtin module.
- [`griffe.ExtensionError`][]: Base class for errors raised by extensions.
- [`griffe.ExtensionNotLoadedError`][]: Exception raised when an extension could not be loaded.
- [`griffe.GitError`][]: Exception raised for errors related to Git.

# Expressions

Griffe stores snippets of code (attribute values, decorators, base class, type annotations) as expressions.
Expressions are basically abstract syntax trees (AST) with a few differences compared to the nodes returned by [`ast`][].
Griffe provides a few helpers to extract expressions from regular AST nodes.

- [`griffe.get_annotation`][]: Get a type annotation as expression.
- [`griffe.get_base_class`][]: Get a base class as expression.
- [`griffe.get_class_keyword`][]: Get a class keyword as expression.
- [`griffe.get_condition`][]: Get a condition as expression.
- [`griffe.get_expression`][]: Get an expression from an AST node.
- [`griffe.safe_get_annotation`][]: Get a type annotation as expression, safely (returns `None` on error).
- [`griffe.safe_get_base_class`][]: Get a base class as expression, safely (returns `None` on error).
- [`griffe.safe_get_class_keyword`][]: Get a class keyword as expression, safely (returns `None` on error).
- [`griffe.safe_get_condition`][]: Get a condition as expression, safely (returns `None` on error).
- [`griffe.safe_get_expression`][]: Get an expression from an AST node, safely (returns `None` on error).

The base class for expressions.

- [`griffe.Expr`][]

Expression classes all start with `Expr`.

# Loggers

If you want to log messages from extensions, get a logger with `get_logger`.
The `logger` attribute is used by Griffe itself. You can use it to temporarily disable Griffe logging.

- [`griffe.logger`][]: Our global logger, used throughout the library.
- [`griffe.get_logger`][]: Create and return a new logger instance.

# Helpers

To test your Griffe extensions, or to load API data from code in memory, Griffe provides the following helpers.

- [`griffe.temporary_pyfile`][]: Create a Python file containing the given code in a temporary directory.
- [`griffe.temporary_pypackage`][]: Create a package containing the given modules in a temporary directory.
- [`griffe.temporary_visited_module`][]: Create and visit a temporary module with the given code.
- [`griffe.temporary_visited_package`][]: Create and visit a temporary package.
- [`griffe.temporary_inspected_module`][]: Create and inspect a temporary module with the given code.
- [`griffe.temporary_inspected_package`][]: Create and inspect a temporary package.
é    )Úannotations)Ú	InspectorÚinspect)Úget_instance_namesÚget_nameÚ	get_names)	Úast_childrenÚast_first_childÚast_kindÚast_last_childÚast_nextÚast_next_siblingsÚast_previousÚast_previous_siblingsÚast_siblings)Úget_docstring)Ú
get__all__Úsafe_get__all__)Úrelative_to_absolute)ÚParametersTypeÚget_parameters)Ú
ObjectNode)Ú	get_valueÚsafe_get_value)ÚVisitorÚbuiltin_decoratorsÚstdlib_decoratorsÚtyping_overloadÚvisit)Úc3linear_merge)ÚLinesCollectionÚModulesCollection)ÚAttributeChangedTypeBreakageÚAttributeChangedValueBreakageÚBreakageÚClassRemovedBaseBreakageÚObjectChangedKindBreakageÚObjectRemovedBreakageÚParameterAddedRequiredBreakageÚParameterChangedDefaultBreakageÚParameterChangedKindBreakageÚ ParameterChangedRequiredBreakageÚParameterMovedBreakageÚParameterRemovedBreakageÚReturnChangedTypeBreakageÚfind_breaking_changes)ÚAutoOptionsÚDocstringDetectionMethodÚPerStyleOptionsÚinfer_docstring_styleÚ
parse_auto)ÚGoogleOptionsÚparse_google)"ÚDocstringAdmonitionÚDocstringAttributeÚDocstringClassÚDocstringDeprecatedÚDocstringElementÚDocstringFunctionÚDocstringModuleÚDocstringNamedElementÚDocstringParameterÚDocstringRaiseÚDocstringReceiveÚDocstringReturnÚDocstringSectionÚDocstringSectionAdmonitionÚDocstringSectionAttributesÚDocstringSectionClassesÚDocstringSectionDeprecatedÚDocstringSectionExamplesÚDocstringSectionFunctionsÚDocstringSectionModulesÚDocstringSectionOtherParametersÚDocstringSectionParametersÚDocstringSectionRaisesÚDocstringSectionReceivesÚDocstringSectionReturnsÚDocstringSectionTextÚDocstringSectionTypeAliasesÚDocstringSectionTypeParametersÚDocstringSectionWarnsÚDocstringSectionYieldsÚDocstringTypeAliasÚDocstringTypeParameterÚDocstringWarnÚDocstringYield)ÚNumpyOptionsÚparse_numpy)ÚDocstringOptionsÚDocstringStyleÚparseÚparsers)ÚSphinxOptionsÚparse_sphinx)Údocstring_warningÚparse_docstring_annotation)ÚJSONEncoderÚjson_decoder)	ÚBreakageKindÚDocstringSectionKindÚExplanationStyleÚKindÚLogLevelÚ
ObjectKindÚParameterKindÚParserÚTypeParameterKind)ÚAliasResolutionErrorÚBuiltinModuleErrorÚCyclicAliasErrorÚExtensionErrorÚExtensionNotLoadedErrorÚGitErrorÚGriffeErrorÚLastNodeErrorÚLoadingErrorÚNameResolutionErrorÚRootNodeErrorÚUnhandledEditableModuleErrorÚUnimportableModuleError),ÚExprÚExprAttributeÚ	ExprBinOpÚ
ExprBoolOpÚExprCallÚExprCompareÚExprComprehensionÚExprConstantÚExprDictÚExprDictCompÚExprExtSliceÚExprFormattedÚExprGeneratorExpÚ	ExprIfExpÚExprInterpolationÚExprJoinedStrÚExprKeywordÚ
ExprLambdaÚExprListÚExprListCompÚExprNameÚExprNamedExprÚExprParameterÚExprSetÚExprSetCompÚ	ExprSliceÚExprSubscriptÚExprTemplateStrÚ	ExprTupleÚExprUnaryOpÚExprVarKeywordÚExprVarPositionalÚ	ExprYieldÚExprYieldFromÚget_annotationÚget_base_classÚget_class_keywordÚget_conditionÚget_expressionÚsafe_get_annotationÚsafe_get_base_classÚsafe_get_class_keywordÚsafe_get_conditionÚsafe_get_expression)Ú	ExtensionÚ
ExtensionsÚLoadableExtensionTypeÚbuiltin_extensionsÚload_extensions)ÚDataclassesExtension)ÚUnpackTypedDictExtension)ÚModuleFinderÚNamePartsAndPathTypeÚNamePartsTypeÚNamespacePackageÚPackage)ÚGitInfoÚKnownGitService)Údynamic_importÚsys_path)ÚGriffeLoaderÚloadÚload_gitÚ	load_pypi)ÚLoggerÚ
get_loggerÚloggerÚpatch_loggers)Úmerge_stubs)ÚDelMembersMixinÚGetMembersMixinÚObjectAliasMixinÚSerializationMixinÚSetMembersMixin)ÚAliasÚ	AttributeÚClassÚ	DecoratorÚ	DocstringÚFunctionÚModuleÚObjectÚ	ParameterÚ
ParametersÚ	TypeAliasÚTypeParameterÚTypeParameters)ÚStats)
Ú
TmpPackageÚhtreeÚmodule_vtreeÚtemporary_inspected_moduleÚtemporary_inspected_packageÚtemporary_pyfileÚtemporary_pypackageÚtemporary_visited_moduleÚtemporary_visited_packageÚvtree)ÚrÆ   ro   rÇ   r#   r$   r1   r%   rf   rp   rÈ   r&   rq   r­   rÉ   rÁ   rÊ   r8   r9   r:   r;   r2   r<   r=   r>   r?   r\   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rg   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   r]   rV   rW   rX   rY   rh   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–   r—   r˜   r™   rš   r›   rœ   r�   r¨   rr   rs   r©   rË   rÂ   rt   r´   r6   ru   r¸   r   rd   ri   rµ   rv   r!   rª   rw   rj   r¼   rÌ   r¯   r"   r°   r±   rx   r²   rZ   rÍ   rÃ   r'   rk   r   r(   r³   rÎ   r)   r*   r+   r,   rl   r-   r.   rÏ   r   rm   r3   r/   ry   rÄ   rÅ   r`   rÓ   rÔ   rÐ   rÑ   rn   rÒ   rz   r{   r®   r   r	   r
   r   r   r   r   r   r   r   r   r«   r    rb   r¶   r0   r   rž   rŸ   r    r¡   r   r¢   r   r½   r   r   r   r   rÕ   r4   r   re   r¹   r¬   rº   r»   r¾   rÀ   rÖ   r^   r5   rc   r7   r[   ra   r_   r¿   r   r   r£   r¤   r¥   r¦   r§   r   r   r·   r×   rØ   rÙ   rÚ   rÛ   rÜ   r   r   rÝ   )Ú*)Ú__all__>   ÚdumpÚmainÚcheckÚ
get_parserÚDEFAULT_LOG_LEVELc                óP   • U [         ;   a  [        SSU -   < 35      e[        U 5      e)Nz"Please install `griffecli` to use zgriffe.)Ú_MISSING_FROM_GRIFFECLIÚImportErrorÚAttributeError)Úattrs    ÚL/home/mande/repo/quber/.venv/lib/python3.13/site-packages/griffe/__init__.pyÚ__getattr__rë   e  s/   € ØÔ*Ó*ÜÐ BÀ9ÈtÑCSÑBVÐWÓXÐXÜ˜TÓ"Ð"ó    N)ré   ÚstrÚreturnÚobject(
  Ú__doc__Ú
__future__r   Ú!griffe._internal.agents.inspectorr   r   Ú)griffe._internal.agents.nodes.assignmentsr   r   r   Ú!griffe._internal.agents.nodes.astr	   r
   r   r   r   r   r   r   r   Ú(griffe._internal.agents.nodes.docstringsr   Ú%griffe._internal.agents.nodes.exportsr   r   Ú%griffe._internal.agents.nodes.importsr   Ú(griffe._internal.agents.nodes.parametersr   r   Ú%griffe._internal.agents.nodes.runtimer   Ú$griffe._internal.agents.nodes.valuesr   r   Úgriffe._internal.agents.visitorr   r   r   r   r   Úgriffe._internal.c3linearr    Úgriffe._internal.collectionsr!   r"   Úgriffe._internal.diffr#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   Ú griffe._internal.docstrings.autor1   r2   r3   r4   r5   Ú"griffe._internal.docstrings.googler6   r7   Ú"griffe._internal.docstrings.modelsr8   r9   r:   r;   r<   r=   r>   r?   r@   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   Ú!griffe._internal.docstrings.numpyrZ   r[   Ú#griffe._internal.docstrings.parsersr\   r]   r^   r_   Ú"griffe._internal.docstrings.sphinxr`   ra   Ú!griffe._internal.docstrings.utilsrb   rc   Úgriffe._internal.encodersrd   re   Úgriffe._internal.enumerationsrf   rg   rh   ri   rj   rk   rl   rm   rn   Úgriffe._internal.exceptionsro   rp   rq   rr   rs   rt   ru   rv   rw   rx   ry   rz   r{   Úgriffe._internal.expressionsr|   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—   r˜   r™   rš   r›   rœ   r�   rž   rŸ   r    r¡   r¢   r£   r¤   r¥   r¦   r§   Ú griffe._internal.extensions.baser¨   r©   rª   r«   r¬   Ú'griffe._internal.extensions.dataclassesr­   Ú,griffe._internal.extensions.unpack_typeddictr®   Úgriffe._internal.finderr¯   r°   r±   r²   r³   Úgriffe._internal.gitr´   rµ   Úgriffe._internal.importerr¶   r·   Úgriffe._internal.loaderr¸   r¹   rº   r»   Úgriffe._internal.loggerr¼   r½   r¾   r¿   Úgriffe._internal.mergerrÀ   Úgriffe._internal.mixinsrÁ   rÂ   rÃ   rÄ   rÅ   Úgriffe._internal.modelsrÆ   rÇ   rÈ   rÉ   rÊ   rË   rÌ   rÍ   rÎ   rÏ   rÐ   rÑ   rÒ   Úgriffe._internal.statsrÓ   Úgriffe._internal.testsrÔ   rÕ   rÖ   r×   rØ   rÙ   rÚ   rÛ   rÜ   rÝ   rß   Ú	griffecliÚ__cli_all__ÚsetÚ_REEXPORTED_EXTERNAL_APIrç   ræ   rë   © rì   rê   Ú<module>r     sÉ  ðñ
Võp #ç @ß ]Ñ ]÷
÷ 
õ 
õ Cß MÝ Fß SÝ <ß Jß rÕ rÝ 4ß K÷÷ ÷ ÷ ÷ õ ÷ K÷#÷ #÷ #÷ #÷ #÷ #÷ #÷ #÷ #÷H H÷ó ÷ Kß [ß ?÷
÷ 
õ 
÷÷ ÷ õ ÷-÷ -÷ -÷ -÷ -÷ -÷ -÷ -÷ -÷ -÷ -ó -÷\õ õ IÝ Qß pÕ pß 9ß >ß KÓ Kß MÓ MÝ /÷õ ÷÷ ÷ õ õ )÷÷ ÷ ó ò"[�ð|0Ýß0Ð0ñ  ‰{Ñ�Gâ"¡;Ó/Òøñ# ó #òÑ÷#ð#ús   ÉI> É>JÊJ