File: //usr/local/lib/python3.6/site-packages/tqdm/__pycache__/notebook.cpython-36.pyc
3
LBj5, � 7 @ s6 d Z ddlmZmZ ddlZddlZddlmZ ddlm Z
ddlmZ dZ
yddlZdZ
W nh ek
r� d Z
ddlZej� �: ejd
dd� yddljjZW n ek
r� Y nX W dQ R X Y nX yZe
d kr�dd
lmZ ddlmZ ddlmZ dZ
n$dd
lmZ ddlmZ ddlmZ W nf ek
�r� y,dd
lmZ ddlmZ ddlmZ dZ
W n" ek
�r� dZ
dZeZY nX Y nX yddlmZ W n ek
�r� Y nX yddlmZ W n" ek
�r� ddl mZ Y nX ddddgiZ!ddddgZ"dZ#G dd � d e�Z$G d!d� de
�Z%d"d� Z&e%Z e&Z'dS )#z�
IPython/Jupyter Notebook progressbar decorator for iterators.
Includes a default `range` iterator printing to `stderr`.
Usage:
>>> from tqdm.notebook import trange, tqdm
>>> for i in trange(10):
... ...
� )�absolute_import�divisionN)�proxy� )�tqdm)�_range� � �ignorez2.*The `IPython.html` package has been deprecated.*)�message)�HTML)�
FloatProgress)�HBox� )�ContainerWidget)�FloatProgressWidget� )�display)�escapezgithub.com/Zlrq3000Z casperdclZalexanderkuk�
tqdm_notebook�tnranger �trangez|IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.htmlc s4 e Zd ZdZd
dd�Zd� fdd� Zdd � Z� ZS )�TqdmHBoxz.`ipywidgets.HBox` with a pretty representationNc C s4 t | dd �}|d kri S |j}|d k r0| |d<