a
    0ªf*  ã                   @   s.  U d Z ddlZddlmZ ddlmZmZmZ ddlm	Z	 eddƒZ
e
dd	d
ƒe
dddƒe
dddƒe
dddƒe
dddƒe
dddƒe
dddƒe
dddƒe
d d!d"ƒe
d#d$d%ƒe
d&d'd(ƒe
d)d*d+ƒe
d,d-d.ƒe
d/d0d1ƒe
d2d3d4ƒe
d5d6d7ƒe
d8d9d:ƒd;œZeee
f ed<< eee	d=œd>d?„Zeee d@œdAdB„ZdS )Cz%
Package containing all pip commands
é    N)Ú
namedtuple)ÚAnyÚDictÚOptional)ÚCommandÚCommandInfoz module_path, class_name, summaryzpip._internal.commands.installÚInstallCommandzInstall packages.zpip._internal.commands.downloadÚDownloadCommandzDownload packages.z pip._internal.commands.uninstallÚUninstallCommandzUninstall packages.zpip._internal.commands.freezeÚFreezeCommandz1Output installed packages in requirements format.zpip._internal.commands.inspectÚInspectCommandzInspect the python environment.zpip._internal.commands.listÚListCommandzList installed packages.zpip._internal.commands.showÚShowCommandz*Show information about installed packages.zpip._internal.commands.checkÚCheckCommandz7Verify installed packages have compatible dependencies.z$pip._internal.commands.configurationÚConfigurationCommandz&Manage local and global configuration.zpip._internal.commands.searchÚSearchCommandzSearch PyPI for packages.zpip._internal.commands.cacheÚCacheCommandz%Inspect and manage pip's wheel cache.zpip._internal.commands.indexÚIndexCommandz3Inspect information available from package indexes.zpip._internal.commands.wheelÚWheelCommandz$Build wheels from your requirements.zpip._internal.commands.hashÚHashCommandz#Compute hashes of package archives.z!pip._internal.commands.completionÚCompletionCommandz-A helper command used for command completion.zpip._internal.commands.debugÚDebugCommandz&Show information useful for debugging.zpip._internal.commands.helpÚHelpCommandzShow help for commands.)ÚinstallÚdownloadÚ	uninstallÚfreezeÚinspectÚlistÚshowÚcheckÚconfigÚsearchÚcacheÚindexÚwheelÚhashÚ
completionÚdebugÚhelpÚcommands_dict)ÚnameÚkwargsÚreturnc                 K   s:   t |  \}}}t |¡}t||ƒ}|f | |dœ|¤Ž}|S )zF
    Create an instance of the Command class with the given name.
    )r+   Úsummary)r*   Ú	importlibÚimport_moduleÚgetattr)r+   r,   Úmodule_pathÚ
class_namer.   ÚmoduleÚcommand_classÚcommand© r7   úX/var/www/ai-form-bot/venv/lib/python3.9/site-packages/pip/_internal/commands/__init__.pyÚcreate_commandm   s
    

r9   )r+   r-   c                 C   s6   ddl m} |  ¡ } || t ¡ ƒ}|r.|d S dS dS )zCommand name auto-correct.r   )Úget_close_matchesN)Údifflibr:   Úlowerr*   Úkeys)r+   r:   Úclose_commandsr7   r7   r8   Úget_similar_commandsy   s    r?   )Ú__doc__r/   Úcollectionsr   Útypingr   r   r   Úpip._internal.cli.base_commandr   r   r*   ÚstrÚ__annotations__r9   r?   r7   r7   r7   r8   Ú<module>   sº   

ýýýýýýýýýýýýýýýýý¯Y