semvec/pypi-packages huggingface dataset:
ProcessingTools 0.2.7
https://github.com/ysy9997/ProcessingTools.git
License: MIT
Requires Python: >=3.6

![Python 3.6](https://img.shields.io/badge/python-3.6-green.svg)

[![PyPI version](https://badge.fury.io/py/ProcessingTools.svg)](https://badge.fury.io/py/ProcessingTools)
[![Downloads](https://pepy.tech/badge/processingtools)](https://pepy.tech/project/processingtools)

# ProcessionTools

- You can install this package using pip. 

```pip install ProcessingTools```

## usage

```
import ProcessingTools as pt
import time

for i in pt.ProgressBar(range(50)):
    time.sleep(0.1)
```
or
```
import ProcessingTools as pt
import time

for i in pt.ProgressBar(range(50), bar_length=40, start_mark=None, finish_mark='progress done!', max=False):
    time.sleep(0.1)
```
Then, 
```
|████████████████████████████████████████| 100.0% | 50/50 | 0s |  
progress finished!(5311ms)
```

### parameters
**class**　pt.ProgressBar(*in_loop, bar_length: int = 40, start_mark: str = None, finish_mark='progress done!', max=False*)

- **in_loop**: the input loop
- **bar_length**: bar length
- **start_mark**: print string when the progress start
- **finish_mark**: print string what you want when progress finish
- **max**: max value. If you do not fill this, it will calculate automatically, but it may be slow