Metadata-Version: 2.0
Name: ddlogger
Version: 0.9b2
Summary: Logs progress by printing dots
Home-page: https://github.com/kkew3/dot-dot-logger
Author: Kaiwen Wu
Author-email: kps6326@hotmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# Dot Dot Logger

Prints dots to stdout to log the progress of a loop without knowing the total loops.

## Usage

```python
from ddlogger import DotDotLogger

def a_finite_generator():
    # ...
    # yield something

dl = DotDotLogger()
for item in a_finite_generator():
    # do something that does not contain "print" statement/function
    dl.update()  # prints a dot
```

Suppose in the above example the `a_finite_generator` returns an iterable of length 100, then it produces

	...............................................................................
	.....................

where each row contains 79 dots. To change the number of dots in a row or the shape of the dots, see `help(ddlogger.DotDotLogger)`.


