← 返回首页
add instructions to install python CLI applications with pipx by cs01 · Pull Request #594 · pypa/packaging.python.org · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

add instructions to install python CLI applications with pipx#594

Merged
theacodes merged 6 commits into
pypa:masterfrom
cs01:master
Feb 20, 2019
Merged

add instructions to install python CLI applications with pipx#594
theacodes merged 6 commits into
pypa:masterfrom
cs01:master

Conversation

Copy link
Copy Markdown
Member

cs01 commented Jan 28, 2019
edited
Loading

pipx (https://github.com/cs01/pipx) is a command execution tool like pipsi, and was mentioned in this thread. #406

Pipsi is no longer maintained, and pipx (my project) hopes to pick up where pipsi left off.

I took a shot at adding a section to the installation tutorial. I think this type of tool provides a lot of value to the python community yet doesn’t seem to be very well known. Hopefully this will change that 😄 .

Copy link
Copy Markdown
Member

Hi @cs01! Thank you for doing this. This content is great, but I'd prefer it be under "guides" instead of "tutorials". The reason being is that tutorials should be focused on accomplishing a single task with the minimal amount of tools and information. In fact, this particular tutorial has been on my list to clean up for a while. "Guides", on the other hand, are great for things that explore specific use cases. How would you feel about moving this to a guide and possibly linking to it from the tutorial?

Copy link
Copy Markdown
Member Author

cs01 commented Jan 28, 2019

Thanks for the quick reply!

How would you feel about moving this to a guide and possibly linking to it from the tutorial?

Sure, not a problem.

Which part of the guide do you think it belongs in? And what type of content should I leave in the tutorial? The same section that I just added but with just a link to the guide?

Copy link
Copy Markdown
Member

A new guide, all for itself! Something like "Installing stand-alone command line tools" would work.

And what type of content should I leave in the tutorial?

Maybe just a note or a link at the bottom that says something like "If you're looking to install stand-alone command line tools, consider using pipx".

Copy link
Copy Markdown
Member Author

cs01 commented Jan 28, 2019

Awesome, thank you! Will add a new commit tonight or in the next few days when I have the time.

Copy link
Copy Markdown
Member Author

cs01 commented Jan 29, 2019

Replaced tutorial with new guide "Installing stand alone command line tools" and also added a link in the installation tutorial.

Copy link
Copy Markdown
Member

Tangent: only reading the comments without reading the PR itself, I was confused by the fact that https://pypi.org/project/pipx/ is not the pipx being referred to here. So while I can understand the desire to use the name pipx by analogy with npx, I think it will be incredibly confusing for end users when the naive bootstrapping approach of running pip install --user pipx and managing pipx using pip rather than itself doesn't actually work. (Before reading your guide I assumed I'd be able to just replace pipsi with pipx in my current bootstrapping instructions, but that isn't the case)

The simplest resolution might be to open on issue on https://github.com/khalti/pipx and ask the Khalti folks if they'd be willing to relinquish the pipx name on PyPI to you - given the only change they've made since August 2017 is to add a note pointing out that the project isn't actually maintained, they may be willing to help you out.

I don't think that concern should block merging the guide though - I'll just note in the draft guide where I think a bit more clarification would be helpful.

Copy link
Copy Markdown
Member

Actually, that would be ideal. @cs01 Do you mind holding off on this until we hear back from the pipx folks? If you would like, I can reach out to them on your behalf.

Copy link
Copy Markdown
Member Author

cs01 commented Feb 1, 2019

Actually, that would be ideal. @cs01 Do you mind holding off on this until we hear back from the pipx folks? If you would like, I can reach out to them on your behalf.

Sounds good. I was going to suggest the same thing to avoid churn in the docs. Nick's request was agreed to (khalti/pipx#2), so now I am waiting on @ludbek to grant me access.

Copy link
Copy Markdown
Member

theacodes commented Feb 1, 2019 via email

Copy link
Copy Markdown

ludbek commented Feb 1, 2019

@ncoghlan @cs01 Its done. Good luck with the new project.

Copy link
Copy Markdown
Member

ncoghlan commented Feb 2, 2019

@ludbek Thank you!

Comment thread source/guides/installing-stand-alone-command-line-tools.rst Outdated Show resolved Hide resolved
Comment thread source/guides/installing-stand-alone-command-line-tools.rst Show resolved Hide resolved
Copy link
Copy Markdown
Member Author

cs01 commented Feb 8, 2019

@ncoghlan thanks for helping to get the pipx name transferred over to me 😄.

@ncoghlan @theacodes I've updated pipx on PyPI and these docs, so it's ready for another review 😄.

Copy link
Copy Markdown
Member

ncoghlan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

Thanks @cs01 - this looks good to me now!

Copy link
Copy Markdown
Member

@theacodes Since this is a whole new guide, l figure it's worthwhile leaving pushing the big green button to you so that it gets two pre-merge reviews :)

Copy link
Copy Markdown
Member

Thank you, @cs01 for writing and @ncoghlan for reviewing. :)

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Footer

© 2026 GitHub, Inc.