Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Discussion] Pipx
- None1975
- df -h | participant
- Posts: 1395
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 45 times
- Been thanked: 67 times
[Discussion] Pipx
Pipx..What a wonderful and necessary program! This program is found in debian 11 backports (also in Debian Bookworm and Debian Sid). This program allows you to run the latest version of a CLI application from a package in a temporary virtual environment, leaving your system untouched after it finishes. It install packages to isolated virtual environments, while globally exposing their CLI applications so you can run them from anywhere.It easily list, upgrade, and uninstall packages that were installed with pipx. In short, pipx is a tool to help you install and run end-user applications written in Python. It's roughly similar to macOS's brew, JavaScript's npx, and Linux's apt. It's closely related to pip. In fact, it uses pip, but is focused on installing and managing Python packages that can be run from the command line directly as applications. pipx is a tool to install and run any of these thousands of application-containing packages in a safe, convenient, and reliable way. In a way, it turns Python Package Index (PyPI) into a big app store for Python applications. More info here
Tool in action:
Tool in action:
Last edited by None1975 on 2023-03-17 12:24, edited 2 times in total.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: [Discussion] Pipix
So, like Flatpak, but for Python. Interesting.
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
- None1975
- df -h | participant
- Posts: 1395
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 45 times
- Been thanked: 67 times
Re: [Discussion] Pipix
Really so. This program is definitely worth checking out.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
- sunrat
- Administrator
- Posts: 6436
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 467 times
Re: [Discussion] Pipix
Sounds wonderful but necessary? Not so much. I think I have a whole two tiny utility programs from PiPi.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
- None1975
- df -h | participant
- Posts: 1395
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 45 times
- Been thanked: 67 times
Re: [Discussion] Pipix
This app has one good and useful feature. It downloads and runs Python "apps" in a one-time, temporary environment, leaving your system untouched afterwards. This can be handy when you need to run the latest version of an app, but don't necessarily want it installed on your computer. For example i can run latest bpytop with simple command
Code: Select all
pipx run --spec bpytop bpytop
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: [Discussion] Pipix
BTW... Somewhat related:
https://www.linuxuprising.com/2023/03/n ... ikely.htmlNext Debian/Ubuntu Releases Will Likely No Longer Allow pip install Ouside A Virtual Environment
The next Debian/Ubuntu releases will likely no longer allow pip install outside a virtual environment or separate Python installs because of conflicts between pip and the OS package manager. It can still be forced, but that's strongly not recommended.
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
- sunrat
- Administrator
- Posts: 6436
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 467 times
Re: [Discussion] Pipix
That makes sense and makes pipx useful for Bookworm and later.The only application I use regularly from pip install is yt-dlp which breaks every few weeks and is usually fixed within a day or so. No way Stable will get the update in a timely manner, and pip is easier than going to Github and getting the latest each time.canci wrote: ↑2023-03-16 22:57 BTW... Somewhat related:https://www.linuxuprising.com/2023/03/n ... ikely.htmlNext Debian/Ubuntu Releases Will Likely No Longer Allow pip install Ouside A Virtual Environment
The next Debian/Ubuntu releases will likely no longer allow pip install outside a virtual environment or separate Python installs because of conflicts between pip and the OS package manager. It can still be forced, but that's strongly not recommended.
Side note:- shame the journalist didn't proof read the title of that article - "Ouside".
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Posts: 263
- Joined: 2023-03-02 05:26
- Location: USA
- Has thanked: 50 times
- Been thanked: 60 times
- Contact:
Re: [Discussion] Pipix
Code: Select all
The only application I use regularly from pip install is yt-dlp which breaks every few weeks and is usually fixed within a day or so. No way Stable will get the update in a timely manner, and pip is easier than going to Github and getting the latest each time.
Be seeing you...
- sunrat
- Administrator
- Posts: 6436
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 467 times
Re: [Discussion] Pipix
10 days? when I want to download something from Youtoob, I want it NOW!CynicalDebian wrote: ↑2023-03-17 03:53I have been using yt-dlp from bullseye backports for awhile, not that much breakage and when it did break only took 10 days to migrate to testing and further backports. If necessary you could just backport it from unstable easily... but I can see why you might prefer pip to that.
@None1975 It would be great if you could correct the spelling in the title. It's pipx not pipix.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: [Discussion] Pipix
I let the static yt-dlp script from github self-update.
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
- sunrat
- Administrator
- Posts: 6436
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 467 times
Re: [Discussion] Pipix
Do you mean you run yt-dlp -U ?
Pretty sure I did that too but don't recall why I changed to pip.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: [Discussion] Pipix
Exactly. Well, if it works with pip...
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
- None1975
- df -h | participant
- Posts: 1395
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 45 times
- Been thanked: 67 times
Re: [Discussion] Pipix
Thanks for spotting the mistake. I already fixed it.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: [Discussion] Pipx
pipix would roll off the tongue much better
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources