pipx-python 📦️🪛🐍
@readwithai - X - blog - machine-aided reading - 📖⚡️🖋️
Run the Python binary corresponding to an application installed with pipx. Also swiss-army knife of querying pipx virtualenvs.
This is quite useful if you are developing command-line tools installed with pipx install -e ., for example to run tests or debug issues.
👿 Motivation
I install a lot of command-line tools and make command-line tools. The command-line is fun, easily discoverable and highly composable. Many of these are written in Python.
Distributors have decided to push users into using pipx. This works reasonable well, if a bit slow. But one issues is that it makes debugging issues with applications a little different because everything is hidden in a different fiddley virtualenv.
This tool represents tooling I made for myself to make interacting with pipx virtualenvs less irritating.
🐍📭️🪛️ Installation
You can install pipx-python using pipx:
pipx install pipx-python
📦🪛️🐍 Usage
If you for example installed llm with pipx then you can run the version of python correponding with this app using:
pipx-python llm
To find the path to the virtualenv, use can use the --venv flag.
pipx-python llm --venv
🤑 Support this tool
If you like this tool you could give me money ($1 maybe) on my ko-fi.
You could also look at some of the other command-line tools I have created.
📖⚡️🖋️ About me
I am @readwithai. I make tools for reading, research and agency often using Obsidian.
I also produce a stream of tools related to the work I do on this.
Metadata
Release files for pipx-python 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pipx-python-1.0.0.tar.gz | 3.1 kB | Without provenance | Details for pipx-python-1.0.0.tar.gz |
Release files / pipx-python-1.0.0.tar.gz
| Download URL | pipx-python-1.0.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c27506641ce7cc18b21c62a6231f3feab5de418a9f0bb804606ddad296dfe253
|
|
BLAKE2b-256 checksum How to use checksums |
0fc082ee67a50b832487726078a86df59c7a75a4d1f44e9d65c0ed42833a55a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for pipx-python 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.