Skip to main content
Glama

ClickUp Operator

by noah-vh
cli.cpython-312.pyc15.4 kB
� lMg+�� �dZddlZddlZddlZddlmZddlmZddl m Z m Z m Z ddl mZdgZej e�Zd �Zd d d �d fd�Zej*d�Zej*d�ZdZdZej4dfd�Zy)zI Module version for monitoring CLI pipes (`... | python -m tqdm | ...`). �N)� literal_eval)�indent�)� TqdmKeyError� TqdmTypeError�tqdm)� __version__�mainc���tj||f�d|vr4|jd�D]} t||�cSt |�d|����|dk(r"|dk(s|dk(ry|dk(ryt |dz|z��|d k(rat |�d k(r|j �Stjd |�rtd |�d ��j �St |�d|����|d k(r|S|dk(r t|�S|dk(r t|�St |�d|����#t$rY��wxYw#t$r}t |�d|���|�d}~wwxYw#t$r}t |�d|���|�d}~wwxYw)Nz or z : �bool�True�T�FalseF�chrrz^\\\w+$�"�str�int�float) �log�debug�split�castr�len�encode�re�match�evalr� ValueErrorr)�val�typ�t�excs �TC:\Users\noahv\Documents\GitHub\clickup-operator\.venv\Lib\site-packages\tqdm/cli.pyrrs����I�I�s�C�j�� ��}����6�"�A� ��C��|�#�#� �s�e�3�s�e�,�-�-� �f�}� �6�M�s�b�y�� �'�>���C�%�K�#�-�.�.� �e�|� �s�8�q�=��:�:�<� � �8�8�J�� $��!�C�5�� �#�*�*�,� ,��s�e�3�s�e�,�-�-� �e�|�� � �e�|� ;��s�8�O� �g�~� ;���:� � �3�%�s�3�%�(� )�)��;!� �� ��,� ;��3�%�s�3�%� 0�1�s� :�� ;�� � ;��3�%�s�3�%� 0�1�s� :�� ;�sA� D�* D%�; E� D"�!D"�% E�.D?�?E� E&�E!�!E&�\n�c��y�N�)rs r#�<lambda>r)8s��d�Tc �@�|j}|sB |j|�}|st|dd���y||�|t|���Ad}t|�} |j|�}|sY|rC||�|r|d|j |�z�n|j |�D] } || �� t|dd���y |j |�} | dkr||z }n7|||d| t|�zz�||rdn||d| z�d}|| | zd}�S��)aZ Params ------ fin : binary file with `read(buf_size : int)` method fout : binary file with `write` (and optionally `flush`) methods. callback : function(float), e.g.: `tqdm.update` callback_len : If (default: True) do `callback(len(buffer))`. Otherwise, do `callback(data) for data in buffer.split(delim)`. �flushc��yr'r(r(r*r#r)zposix_pipe.<locals>.<lambda>Js��tr*Nr*rc��yr'r(r(r*r#r)zposix_pipe.<locals>.<lambda>as��4r*r)�write�read�getattrr�countr�find) �fin�fout�delim�buf_size�callback� callback_len�fp_write�tmp�buf� len_delim�is r#� posix_piper?7s=���z�z�H� ���(�(�8�$�C��4���g�|�4�6�� �S�M� �S��X� �� �C��E� �I� ��h�h�x� ������ ���Q����5�!1�1�2� �Y�Y�u�-�� �� �.� 0�G�D�'�<� 0� 2� �������A��1�u��s� ��� �S�3���C��J��/�/� 0� �,�Q�S�3�r��7�]� <��C��a�)�m�n�%�C��! r*z\n {4}(\S+)\s{2,}:\s*([^,]+)z\s*(?<!\S)--?([^\s=]+)(\s+|=|$))�iterable�gui�out�filea� Extra CLI Options ----------------- name : type, optional TODO: find out why this is needed. delim : chr, optional Delimiting character [default: '\n']. Use '\0' for null. N.B.: on Windows systems, Python converts '\n' to '\r\n'. buf_size : int, optional String buffer size in bytes [default: 256] used when `delim` is specified. bytes : bool, optional If true, will count bytes, ignore `delim`, and default `unit_scale` to True, `unit_divisor` to 1024, and `unit` to 'B'. tee : bool, optional If true, passes `stdin` to both `stderr` and `stdout`. update : bool, optional If true, will treat input as newly elapsed iterations, i.e. numbers to pass to `update()`. Note that this is slow (~2e5 it/s) since every input must be decoded as a number. update_to : bool, optional If true, will treat input as total elapsed iterations, i.e. numbers to assign to `self.n`. Note that this is slow (~2e5 it/s) since every input must be decoded as a number. null : bool, optional If true, will discard input (no stdout). manpath : str, optional Directory in which to install tqdm man pages. comppath : str, optional Directory in which to place tqdm completion. log : str, optional CRITICAL|FATAL|ERROR|WARN(ING)|[default: 'INFO']|DEBUG|NOTSET. c �� ����� �!���tjdd� �jd�}�|dz}t jtt |�d��tjdkrtjnttjd �tz}ttj!|��}t"D]}|j%|��t&j)t+|j-���tj/|�}t1|ddd �|d dd �|d dd ��} d j3d �| D��}d} | dz|j5d�zdz}t7�fd�dD��r<tj8j;t<dz�tj>d�n�t7�fd�dD��r8tj8j;|dz�tj>d�n5�r3�ddd dk7r(tj@j;d�d�d| ���tBj/dj3dg�z���tt1�ddd ��d dd ���} t&j)| �| j%dd�d�i} | j-�D]*\}} |jEdd�} tG| ||�| |<�,t&j)dtM| �z�| j%d d!�}| j%d"d!�}| j%d#d!�}tO|||f�dkDr tKd$�� | j%d%d&�}| j%d'd(�}| j%d)d!�}| j%d*d�}| j%d+d�}| j%d,d!�rGd-�d.tP�}ntj8}t|d/|�}ttjRd/tjR�}|s|rM ddl*�dd1l.m/}�fd2�}|�|d3||�d3z �|�|d4||�d5z �tj>d�|r6|j:� t�d/��j:�G��� fd6�d.tP�}|ry| jad7d8�| jad9d�| jad:d;�t&j)| �tdAi| ��5�!tc||d |�!jd�ddd�y|d(k(ryt&j)| �|j:}|s|r:tdAi| ��5�!|r�!fd<�}n�!fd=�}|D]}||�||�� ddd�yt|fi| ��D] }||�� yt&j)| �tdAi| ��5�!d!}|r�!fd>�}n|r�!fd?�}n�!jd}d}tc||||||�ddd�y#t$r.�D]#}|j d�s�|t d�d}nd}Y��wxYw#tH$r}tKtM|���d}~wwxYw#tV$r dd0l,m-�Y��DwxYw#1swYyxYw#1swYyxYw#1swYyxYw#tf$rP�j;d@| z�tjRtj8j:c}� |D] }� |�� �wxYw)Bz� Parameters (internal use only) --------- fp : file-like object for tqdm argv : list (default: sys.argv[1:]) Nrz--logz--log=�INFOz/%(levelname)s:%(module)s:%(lineno)d:%(message)s)�level�format)�� z rH�rc3�K�|]F}|dtvr9|ddk(rdndj|djdd�|dg|dd������Hy�w)rrr z --{0} : {2}{3}z --{0}=<{1}> : {2}{3}�_�-N)�UNSUPPORTED_OPTSrG�replace)�.0�otds r#� <genexpr>zmain.<locals>.<genexpr>�sk����M�*�C�S��V�;K�-K�5�#�a�&�F�*:�&�,�f�f���V�^�^�C��-�s�1�v�A�8;�A�B��A�*�s�A Az!Usage: tqdm [--help | options] z^ Options: -h, --help Print this help and exit. -v, --version Print version and exit. � c3�&�K�|]}|�v��� y�wr'r(�rP�v�argvs �r#rRzmain.<locals>.<genexpr>�s����� 2�1��1��9�1���)z-vz --versionrc3�&�K�|]}|�v��� y�wr'r(rUs �r#rRzmain.<locals>.<genexpr>�s����� 1� 0�1�Q�$�Y� 0�rX)z-hz--helpz--zError:Unknown argument:� rrTrCrMrLzargs:�bytesF�update� update_toz1Can only have one of --bytes --update --update_tor7r%r6r$�tee�manpath�comppath�nullc��eZdZed��Zy)�main.<locals>.stdoutc��yr'r()rLs r#r/zmain.<locals>.stdout.write�s��r*N��__name__� __module__� __qualname__� staticmethodr/r(r*r#�stdoutrc�s�����r*rj�buffer)� resources)�Pathc����jd�|z }|j|j��tj d|�y)zcopy resource `name` to `dst`rz written:%sN)�files� write_bytes� read_bytesr�info)�name�dst�firls �r#�cpzmain.<locals>.cp s6����_�_�V�,�t�3������ � ��0�����s�+r*ztqdm.1z completion.shztqdm_completion.shc�&��eZdZe���fd��Zy)rcc�|��tj���5�|�ddd��|�y#1swY�xYw)N)rC)r�external_write_mode)�x�fpr:� stdout_writes ���r#r/zmain.<locals>.stdout.writes-����1�1�r�:� �� �;� ��O�;�:�s� 2�;Nre)r{r:r|s���r#rjzmain.<locals>.stdouts����$��$r*�unit�B� unit_scale� unit_divisoric�V���jt|j���yr'�r\�numeric�decode�r>r!s �r#r8zmain.<locals>.callback,s����H�H�W�Q�X�X�Z�%8�9r*c�p���jt|j���jz �yr'�r\r�r��nr�s �r#r8zmain.<locals>.callback/s#����H�H�W�Q�X�X�Z�%8�1�3�3�%>�?r*c�V���jt|j���yr'r�r�s �r#r8zmain.<locals>.callback<s�����������!4�5r*c�p���jt|j���jz �yr'r�r�s �r#r8zmain.<locals>.callback?s#�����������!4�q�s�s�!:�;r*z Error: r()4�sysrW�indexr� startswithr�logging� basicConfigr1� version_infor�__doc__r� CLI_EXTRA_DOC�dict�RE_OPTS�findallrN�poprr�sorted�itemsr�zip�join�strip�anyrjr/r �exit�stderr�RE_SHLEXrOr�KeyErrorrr�sum�object�stdin�importlib_resources� ImportError� importlibrl�pathlibrm� setdefaultr?r\� Exception)"r{rW�log_idx�logLevelr>�d� opt_types�or�opt_types_desc� help_short�opts� tqdm_argsrV�e�delim_per_charr\r]r7r6r^r_r`rjr�rmrvr/r8r9r:rlr|r!s"`` @@@@r#r r �sN��� �|��x�x���|�� %��*�*�W�%����!� �$�� ���g�g�x�8�P�R��)�)�G�3�����T�\�\�6�*�m� <�A��W�_�_�Q�'�(�I���� � �a����I�I�f�Y�_�_�&�'�(� �M�M�!� �E���q�t�!�t��e�A�D�q�D�k�5���A��;�?�N� ���M�*�M� M�A� 7�J��� ��g�g�d�m�  ��  �A� � 2�1� 2�2� � � ����t�+�,� ���� � � 1� 0� 1� 1� � � ����T��"� ���� � �$�q�'�"�1�+��%� � � ���2�4��7�)�2�j�\�J�K� �>�>�#�(�(�F�8�d�?�3� 4�D� ��D���A��J��Q�T��T� �+� ,�D��I�I�d�O��H�H�U�D���� �I�cS��j�j�l�F�Q��� � �#�s�#�A� +�#�A�y��|�4� �!� �#� � � �'�C� �N�*�+�"���w��6�����x��/���M�M�+�u�5� � ��� �2� 3�a� 7��R�S� S� 8��=�=��S�1��� � �g�v�.���m�m�E�5�)���-�-� �4�0���=�=��T�2�� �=�=��� '� �� � �Z�Z�F��V�X�v�6�F��� � �8�S�Y�Y�7�� �h� 0�7� %� ,� �"��8�T�'�]�X�5�6��#��?�D��N�5I�$I�J� �H�H�Q�K� �!�<�<�L��r�8�R�0�6�6�H� $� $�� $� � � � ��� -� � � ��t� 4� � � ��� 6� �I�I�i� ��"� �"�a��5�&�"�h����A�#�"� �f�_� �I�I�i� ��L�L�E����&�I�&�!��:�@�"���a�� �� �#�'�&��e�1�y�1�A��!�H�2� �I�I�i� ��"� �"�a�$� ��6��<� !�x�x�H�#'�L��5�&�%��8�\�R�#�"��e ���A��|�|�H�%��S��]�^�,���� �H�� ��~� +�"�3�q�6�*�*�� +��B� 0�/�/� 0��:#�"�� '�&��#�"��U �� ���� �*�+�!�i�i����)9�)9���|��A� ��O�� � �s�X�3(Z�X<�.A5Z�+Y!�Y7�%Z�1Z�X9�"X9�8X9�< Y�Y�Y�Z�!Y4�3Y4�7Z�Z �Z�A[4)r�r�rr��astrr��textwrapr�stdrrr�versionr �__all__� getLoggerrfrrr?�compiler�r�rNr�r�r r(r*r#�<module>r�s����� � �'��2�2� � �(���g����!��#*�L!'��*��6&�t �"�*�*�4� 5�� �2�:�:�8� 9��6�� � �F �J�J�T�hSr*

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/noah-vh/mcp-server-clickup'

If you have feedback or need assistance with the MCP directory API, please join our Discord server