Metadata-Version: 2.1
Name: pkgu
Version: 0.0.5
Summary: Find the out-dated packages installed by the Pip tool and update them.
Home-page: https://github.com/Abeautifulsnow/pipu
Author: Abeautifulsnow
Author-email: lcprunstone@163.com
License: MIT
Keywords: python,pip,pip install pkg --upgrade,pip-update
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: python (>=3.9)
Requires-Dist: pydantic (>=1.9.2)
Requires-Dist: orjson (>=3.7.11)
Requires-Dist: prettytable (>=3.3.0)
Requires-Dist: loguru (>=0.6.0)
Requires-Dist: colorama (>=0.4.5)
Requires-Dist: halo (>=0.0.31)
Requires-Dist: toml (>=0.10.2)

# pkgu

Find the out-dated packages installed by the Pip tool and update them.

## Usage

- Run code from source code

First, you need to install dependencies.

if you don't have `poetry` tool, please install it first. 🔗: [poetry installation](https://python-poetry.org/docs/#installation), otherwise, install packages directly.

```bash
poetry install
```

and then, run `main.py` script.

```bash
python3 pipu.py
```

- Use it through pip

```bash
pip3 install pkgu
```

after the installation is complete, you can enter `pipu -h` command on your terminal to learn how to use it.

## ScreenShoot

* No packages need to be upgraded.

![img.png](https://raw.githubusercontent.com/Abeautifulsnow/pkgu/main/screenshoot/img.png)

* Upgrade some expired packages.

![img_4.png](https://raw.githubusercontent.com/Abeautifulsnow/pkgu/main/screenshoot/img_4.png)
![img_2.png](https://raw.githubusercontent.com/Abeautifulsnow/pkgu/main/screenshoot/img_2.png)
![img_3.png](https://raw.githubusercontent.com/Abeautifulsnow/pkgu/main/screenshoot/img_3.png)

* Update the pkg synchronously

![img_1.png](https://raw.githubusercontent.com/Abeautifulsnow/pkgu/main/screenshoot/img_1.png)

* Update the pkg asynchronously

![img_5.png](https://raw.githubusercontent.com/Abeautifulsnow/pkgu/main/screenshoot/img_5.png)

We can see that the async method is faster than sync method about 9 seconds(Only in this test situation).
So now it can support to update the python libraries asynchronously. 🥳
