Wrapper for pipx to add some minor functionality
Project description
PIPXX - Wrapper for pipx to add some minor functionality
pipxx
is a simple command line utility to wrap the usage of
pipx
to provide a couple of improved functions:
See the description of these enhancements below.
pipxx
is merely a wrapper for pipx
so takes exactly the same command
line arguments and options. Just run pipxx
the same as you would run
pipx
. Type pipx
or pipx -h
to view the usage summary for pipx
(or type pipxx
or pipxx -h
to see the same usage summary).
The latest version and documentation is available at https://github.com/bulletmark/pipxx.
Enhancement 1: Global application installation by root
pipx
is used normally to install applications for a single user. It
can also install applications
globally
as root but that is awkward
because you have to manually set environment variables. pipxx
recognises when it is run as root (or with sudo
) and automatically
sets appropriate system global PIPX_BIN_DIR
and PIPX_HOME
directories for pipx
.
E.g. to install application as normal user:
$ pipxx install cowsay
To install application for all users (i.e. globally):
$ sudo pipxx install cowsay
Note, to see the global directories selected by pipxx
for your system:
$ sudo pipxx environment
Enhancement 2: Improved pipx list output
pipx list
output lacks some useful information. pipxx
adds the following
to the pipx list
output:
- The PyPi package name, or source directory, or VCS URL from where the application was installed from,
- Whether the application is installed as editable.
Installation or upgrade or removal
Note pipxx is on
PyPI so just ensure that
pipx
is installed then type the
following:
To install:
$ pipx install pipxx
To upgrade:
$ pipx upgrade pipxx
To remove:
$ pipx uninstall pipxx
pipxx
requires Python >= 3.7 and requires no 3rd party packages. It
requires that pipx
is in your $PATH
.
License
Copyright (C) 2023 Mark Blakeney. This program is distributed under the terms of the GNU General Public License. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License at http://www.gnu.org/licenses/ for more details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.