Skip to content

Add a command for managing pip's cache #4685

@pradyunsg

Description

@pradyunsg

pip's cache is currently a black box that the users can't really inspect. This is not the nicest of experiences. Adding a pip cache to allow interacting with the cache (much like the new pip config) would be a good way to fix that.

Here's a proposal for the same:

$ pip cache --help
Usage:
  pip cache info
  pip cache list [name]
  pip cache purge [name/pattern]

Description:
  Manage what packages are available in pip's caches.

PS: This is the same idea as pip cache as expressed in #3968 and #3734. I'm just creating a tracking issue for it since both the PR authors seem to have lost interest and having an open issue for tracking a new feature seems cleaner to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: cacheDealing with cache and files in itC: cliCommand line interface related things (optparse, option grouping etc)state: needs discussionThis needs some more discussiontype: feature requestRequest for a new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions