pipx commands¶
- class reemote.commands.pipx.install.Install(packages: List[str], guard: bool = True, sudo: bool = False, su: bool = False)[source]¶
Bases:
Command_installImplements package installation using the pipx package manager.
This class extends Command to execute the pipx install command for installing packages.
- packages¶
List of package names to be installed.
- guard¶
A boolean flag indicating whether the operation should be guarded.
- sudo¶
A boolean flag to specify if sudo privileges are required.
- su¶
A boolean flag to specify if the operation should run as su.
Examples:
yield Install(packages=['requests', 'numpy'])
- class reemote.commands.pipx.remove.Remove(packages: List[str], guard: bool = True, sudo: bool = False, su: bool = False)[source]¶
Bases:
Command_removeImplements package removal using the pipx package manager.
This class extends Command to execute the pipx uninstall command for removing Python applications.
- packages¶
List of package names to be removed.
- guard¶
A boolean flag indicating whether the operation should be guarded.
- sudo¶
A boolean flag to specify if sudo privileges are required.
- su¶
A boolean flag to specify if the operation should run as su.
Examples:
yield Remove(packages=['black', 'pytest'])