semvec/pypi-packages huggingface dataset:
deep-py 0.0.4
Python library for Data Science
Requires Python: >=3.6

# ProgressBar

Let us consider a few examples explaining how to use the `ProgressBar` class from the module `progress`:

```python
from deeppy.progress import ProgressBar
from time import sleep

bar = ProgressBar(max=20, width=50, elapsed=True)

for i in range(10):
    sleep(1)
    bar.next()

bar.finish()
print()

for i in range(15):
    sleep(1)
    bar.next()
```
```
Out:
Processing: [#########################                         ] 50% [elapsed: 10s; ETA: 10s]
Processing: [#####################################             ] 75% [elapsed: 15s; ETA: 5s]
```

The class supports the context management protocol and can be used with the `with` statement. Alternative bar formats are also available:

```python
with ProgressBar("Charging", max=20, width=50) as bar:
    for i in range(10):
        sleep(1)
        bar.next()
print()

with ProgressBar("FillingSquares", max=20, width=50) as bar:
    for i in range(15):
        sleep(1)
        bar.next()
```
```
Out:
Processing: [█████████████████████████∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙] 50% [ETA: 10s]              
Processing: [▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▢▢▢▢▢▢▢▢▢▢▢▢▢] 75% [ETA: 5s]
```

Note that the `next` method can be replaced by the `show` method with `index` argument supplied:

```python
with ProgressBar("FillingCircles", max=20, width=50, eta=False) as bar:
    for i in range(10):
        sleep(1)
        bar.show(i + 1)
```
```
Out:
Processing: [◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◉◯◯◯◯◯◯◯◯◯◯◯◯◯◯◯◯◯◯◯◯◯◯◯◯◯] 50%
```


# ProgressSpinner

The following examples explain how to use the `ProgressSpinner` class from the module `progress`:

```python
from deeppy.progress import ProgressSpinner
from time import sleep, time

spinner = ProgressSpinner()

since = time()
while True:
    # Do some work
    sleep(0.2)
    spinner.next()
    if time() - since > 5:
        break
```

Alternative spinner formats are also available:

```python
with ProgressSpinner("Pie") as spinner:
    since = time()
    while True:
        sleep(0.2)
        spinner.next()
        if time() - since > 5:
            break
print()

with ProgressSpinner("Moon") as spinner:
    since = time()
    while True:
        sleep(0.2)
        spinner.next()
        if time() - since > 5:
            break
print()

with ProgressSpinner("Pixel") as spinner:
    since = time()
    while True:
        sleep(0.2)
        spinner.next()
        if time() - since > 5:
            break
```
```
Out:
Processing: ◷
Processing: ◐
Processing: ⣷
```


# Installation

Download from PyPI:
```
pip install deep-py
```
wipo-ipc 1.0.0
A library to work with the International Patent Classification(IPC) from the World Intellectual Property Organization(WIPO)
Requires Python: >=3.6

[![PyPI version shields.io](https://img.shields.io/pypi/v/wipo-ipc.svg)](https://pypi.org/project/wipo-ipc/)
[![PyPI license](https://img.shields.io/pypi/l/wipo-ipc.svg)](https://pypi.org/project/wipo-ipc/)
[![Documentation Status](https://readthedocs.org/projects/wipo-ipc/badge/?version=latest)](http://wipo-ipc.readthedocs.io/?badge=latest)

# WIPO-IPC

A library to work with the International Patent Classification(IPC) from the World Intellectual Property Organization(WIPO)

## Getting Started

### Installing

```
pip install wipo-ipc
```

### Basic Usage

```python
>>> from wipo_ipc import Ipc

>>> my_ipc = Ipc("A23B0009320000")
>>> my_ipc.code
'A23B0009320000'
>>> my_ipc.classe
ipc_part(code='A23', description='FOODS OR FOODSTUFFS; THEIR TREATMENT, NOT COVERED BY OTHER CLASSES')
>>> my_ipc.human_code
'A23B 9/32'

```

## Contributing

```
git clone git@github.com:mateusrangel/wipo-ipc.git
cd wipo-ipc
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements-dev.txt
```

## Test Coverage

Run the tests
```
coverage run --omit ".venv/*" -m pytest tests/
```

Show the report
```
coverage report -m
```

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/mateusrangel/wipo-ipc/tags). 

## Authors

* [**Mateus Rangel**](https://github.com/mateusrangel) - *Initial work*

See also the list of [contributors](https://github.com/mateusrangel/wipo-ipc/contributors) who participated in this project.

## License

This project is licensed under the GNU GPL v3 License - see the [LICENSE.md](LICENSE) file for details