Skip to main content

A beautiful command line interface for the Python Package Index

Project description

pypi-command-line

pypi-command-line is a colorful, powerful, and beautiful command line interface for pypi.org that is actively maintained

Version Lines of code Downloads yesterday Downloads in the last 7 days Downloads in the last 30 days Number of issues Number of pull requests Number of stars on GitHub Supported python versions Python Implementation PyPI Wheel availability Documentation status

Detailed Documentation available at https://wasi-master.github.io/pypi-command-line/

Features

  • 🚀 Extremely intuitive and easy to use.
  • 🌟 Beautiful UI with pleasant colors everywhere.
  • 😁 Emojis in responses and errors.
  • 📰 Great Markdown and reStructuredText support for viewing project descriptions.
  • 😎 Many features (There are optional parameters for extra information too!).
  • 💻 Cross-platform.
  • 🤯 Open source.
  • 📚 Extensive documentation.

Screenshots

Click to hide screenshots

Command name and parameter autocompletion Autocomplete Smart error handling Error Handling Auto command aliases Smart Command Aliasing Search feature that gives the same results as on PyPI Search for a package using PyPI See detailed information about a project See project information View the project description right in your terminal with rich Markdown and reStructuredText formatting Get description from PyPI View the project readme from github Get readme content from GitHub Search for packages using regular expresssions Search for packages using regex Open the package's URLs gotten from PyPI Browse for URLs See the project information with classifiers See project information with classifiers See the all time largest projects in PyPI See all time largest projects in PyPI Install autocompletion for the current shell Install Completion See the source code for the autocompletion Show Completion See a specific page of the search results Specify a page to search to

Installation

  • Installing from PyPI (recommended).

    pip install pypi-command-line
    

    If you want to also install speed dependencies

    pip install "pypi-command-line[speedups]"
    
  • Installing from source.

    pip install git+https://github.com/wasi-master/pypi-command-line.git
    

    If you want to also install speed dependencies

    pip install "pypi-command-line[speedups] @ git+https://github.com/wasi-master/pypi-command-line.git"
    

Usage

To see all the available commands use:

pypi --help

For more information on a certain command use pypi <command_name> --help. For example,

pypi search --help

For a full guide see https://wasi-master.github.io/pypi-command-line/usage.

Download Count

Here is the download count info as gotten from PePy.
I've included these since PyPIStats by default does not include mirrors in it's count1. Also see https://github.com/psincraian/pepy/issues/351

Period Count
Week Downloads
Month Downloads
Total Downloads

Alternatives

pypi-cli

Now this probably was the best option before pypi-command-line came out and it does have some flaws. The information command of pypi-cli is pretty minimal, there's no way of seeing the github information, The download count doesn't work properly, the long descriptions aren't formatted at all with pypi-cli. pypi-cli uses the xml-rpc[?] API that is discontinued So the search feature doesn't work anymore, . The stat command is broken and is badly formatted for screens that are not ultra wide. And the project is unmaintained and archived

TL;DR The stat and search commands don't work anymore, the information command kinda works but the download count doesn't work, can't see github information, descriptions are raw.

pypi-client

So this can just search for packages on pypi and thats it. Now don't you think that this is inherently bad as per say. So I tried it out immediately and it just got stuck loading the packages, pypi-client gets names of all the packages that exist pypi which took like 4 mins, then I assume it downloads the github stars data? Which takes like another 3 mins and then It just asked me to authorize with github… like why does pypi-client even need authorization from me since github has a public api. And then it showed this which isn't really unreadable just badly formatted for screens that are not ultra wide. by changing the font size a bit I could make it look like this which still isn't bad just a bit convoluted. And even at the end of the day the results are manually searched through therefore different from pypi

TL;DR: Takes too long (≈7 mins), Needs github authorization, badly formatted for non ultra wide monitors, searches manually so results are different compared to pypi

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypi_command_line-1.6.5.tar.gz (22.0 MB view details)

Uploaded Source

Built Distribution

pypi_command_line-1.6.5-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file pypi_command_line-1.6.5.tar.gz.

File metadata

  • Download URL: pypi_command_line-1.6.5.tar.gz
  • Upload date:
  • Size: 22.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for pypi_command_line-1.6.5.tar.gz
Algorithm Hash digest
SHA256 871a757dbc3307666ffe4847ef876b985567e096e4ca2ea4d7df0f4af74ef4e8
MD5 7830a0c8ccf2e6d7188cba6d6b14b395
BLAKE2b-256 791310c3c4651ff0cf01c647ed47686e5475a93c6a3003c172c8dde112390918

See more details on using hashes here.

File details

Details for the file pypi_command_line-1.6.5-py3-none-any.whl.

File metadata

  • Download URL: pypi_command_line-1.6.5-py3-none-any.whl
  • Upload date:
  • Size: 23.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for pypi_command_line-1.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 36389eb29ab666a0387adddfeeda7ffa09e34969f282ba813dc3b411130944d4
MD5 f1df5e97b823ed97a3409b6c1f60978d
BLAKE2b-256 a4de581c467cbb860199562586fc59fc8e9783a2770f2eba447d0c5bafe377ac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page