https://github.com/jakbin/apt-pro
A python script for better update and manage your debian packages.
https://github.com/jakbin/apt-pro
apt debian package-manager pypi python python-apt
Last synced: 4 months ago
JSON representation
A python script for better update and manage your debian packages.
- Host: GitHub
- URL: https://github.com/jakbin/apt-pro
- Owner: jakbin
- Created: 2021-06-14T07:28:26.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-08-09T12:21:21.000Z (11 months ago)
- Last Synced: 2025-09-27T05:25:46.555Z (9 months ago)
- Topics: apt, debian, package-manager, pypi, python, python-apt
- Language: Python
- Homepage:
- Size: 481 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π¦ apt-pro
A Python package for better update and manage your Debian packages. An smarter & interactive APT helper for Debian-based systems: maintain a custom watch list, resume interrupted upgrades, filter by patterns, explore dependencies/reverse deps, and upgrade with confidence
[](https://github.com/jakbin/apt-pro/actions/workflows/publish.yml)
[](https://pypi.org/project/apt-pro)
[](https://pepy.tech/project/apt-pro)
[](https://pepy.tech/project/apt-pro)


## π― Introduction
Drowning in hundreds of upgradable packages? apt-pro lets you spotlight your critical ones, inspect their dependency graph, and upgrade them cleanlyβwithout the noise.
When you run `apt list --upgradable` in your terminal, you find around 1000 upgradable packages (if you are using Parrot OS or Kali Linux like distribution). It's hard to find your important package or security releases.
For this solution, here is "apt-pro"! β¨
## β Features
- π― **Custom Package List**: Maintain a personalized list of important packages you want to track
- π **Smart Upgrades**:
- Upgrade only your selected packages instead of all system packages
- Resume interrupted upgrades automatically
- Upgrade packages matching specific patterns (e.g., 'kali-*', 'xfce4-*')
- π **Easy Management**:
- Add or remove packages from your tracking list
- View all upgradable packages from your list
- Check which packages are up to date
- π¨ **User-Friendly Interface**:
- Colorful and clear output
- Interactive upgrade process with package-by-package confirmation
- Clear status indicators for package states
- πΎ **Persistent Storage**: Uses SQLite database to remember your package list across sessions
## π₯οΈ Demo

### β Add and Remove Package from Your List

### π Upgrade Packages Matching a Pattern

## π§ Compatibility
Python 3.6+ is required.
### π Requirements
- Debian / Ubuntu / Kali / Parrot (any Debian-based distribution with APT)
- System package: `python3-apt` (usually preinstalled on Debian-based systems)
- Python package: `rich` (installed automatically as a dependency)
- APT tools available: `apt`, `apt-cache`
- (Recommended) sudo privileges for installing/upgrading system packages
- Internet access for fetching package metadata
- SQLite (bundled with Python stdlib) for persistent storage
If `python3-apt` is missing you can install it with:
```sh
sudo apt install python3-apt
```
## π₯ Installation
```sh
pip install apt-pro
```
or
```sh
pip3 install apt-pro
```
## π Getting Started
```sh
apt-pro -h
```
## β
Todo-List
- [x] Pretty Output
- [x] Update and upgrade packages from Here
- [x] Add or Remove packages from list
- [x] Use SQLite