Pickley is a Python library and CLI tool designed to automate the installation and management of standalone Python command-line interfaces (CLIs). It functions similarly to pipx, but with the key difference that installed CLIs automatically self-upgrade upon use. Pickley is portable and aims for zero-configuration, installing CLIs within the same directory it resides, supporting any PyPI package with console_scripts entry points. The current version is 4.6.1, and it maintains a regular release cadence with frequent updates as seen in its GitHub release history.
pip install pickleyVerified import paths — ran on the pinned version, not inferred.
Pickley is primarily used as a command-line interface. After installation, you can use the `pickley` command to install and manage other Python CLIs. The example demonstrates how to install a tool like 'tox' and 'hatch' and then run it, reflecting its main utility. While it can be imported, its core functionality is exposed via the shell commands.
Ensure the directory where `pickley` is installed (e.g., `~/.local/bin`) is included in your system's PATH environment variable. For example: `export PATH="$HOME/.local/bin:$PATH"` (add to your shell's rc file).
For production environments or sensitive workflows, always pin the exact version or a strict version range when installing CLIs using `pickley install 'package==X.Y.Z'` or `pickley install 'package~=X.Y'`. Use `pickley list -v` to check installed versions and `pickley describe <package>` for spec details.
If precise control over versions is required, explicitly use `pickley install 'package==X.Y.Z'` before `pickley run <package>`. Review your `pickley config` to understand default behaviors for auto-installation.
Add the pickley installation directory (e.g., `~/.local/bin`) to your system's PATH. For example, `export PATH="$HOME/.local/bin:$PATH"` and add this to your shell profile (e.g., `.bashrc`, `.zshrc`).
When installing, specify a precise version or range: `pickley install 'cli-tool==A.B.C'` or `pickley install 'cli-tool<=(A.B.C)'`. Regularly check installed versions with `pickley list`.
Install pickley using `pip install pickley` or one of the bootstrap methods, and ensure the installation target directory is in your PATH.
No dependency data recorded yet.