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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pipx-python-1.0.0.tar.gz.
File metadata
- Download URL: pipx-python-1.0.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c27506641ce7cc18b21c62a6231f3feab5de418a9f0bb804606ddad296dfe253
|
|
| MD5 |
f2cef659c98c0a13b04f8fa7c3b0e763
|
|
| BLAKE2b-256 |
0fc082ee67a50b832487726078a86df59c7a75a4d1f44e9d65c0ed42833a55a5
|