Skip to main content

PyPI command-line tool

Project description

PyPI client

CLI tool for searching for a python package by name.

  • fetches all package names from PyPi
  • filters and finds matching packages (by name)
  • downloads github stars (if package uses GH as a repo) number and package downloads
  • shows results in a table or json

Install

pip install pypi-client

Usage

Usage: pypi-client [OPTIONS] COMMAND [ARGS]...

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  auth-github  Log into GitHub
  search       Search python package by name

Search

Usage: pypi-client search [OPTIONS] NAME_SEARCH

  Search python package by name

Options:
  --limit INTEGER RANGE           Max number of items to return
  --no-cache                      Clear cache before run
  --log-level [ERROR|WARN|INFO|DEBUG]
                                  Logging level
  --json                          Return in json format
  --threads INTEGER               Number of threads to use
  --help                          Show this message and exit.

Example output:

$ pypi-client search kafka
Found 155 packages:
name                                 downloads  summary                                                version      home_page                                                stars    releases  last_release_date
---------------------------------  -----------  -----------------------------------------------------  -----------  -----------------------------------------------------  -------  ----------  -------------------
kafka-python                           6863094  Pure Python client for Apache Kafka                    2.0.2        https://github.com/dpkp/kafka-python                      4084          34  2020-09-30
confluent-kafka                        3341286  Confluent's Python client for Apache Kafka             1.5.0        https://github.com/confluentinc/confluent-kafka-py...     2017          20  2020-08-07
ns-kafka-python                           5739  Pure Python client for Apache Kafka                    1.4.7        https://github.com/dpkp/kafka-python                      4084           1  2020-09-28
tencentcloud-sdk-python-ckafka           11820  Tencent Cloud Ckafka SDK for Python                    3.0.290      https://github.com/TencentCloud/tencentcloud-sdk-p...      297          40  2020-11-12
kafka                                   939197  Pure Python client for Apache Kafka                    1.3.5        https://github.com/dpkp/kafka-python                      4084          17  2017-10-07
[...]

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_client-0.2.5.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypi_client-0.2.5-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file pypi_client-0.2.5.tar.gz.

File metadata

  • Download URL: pypi_client-0.2.5.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pypi_client-0.2.5.tar.gz
Algorithm Hash digest
SHA256 9848d4dbb8b1f231ba5f756591a06ccd1dd369fc769824a6d8f46754ffc01dd6
MD5 7b2385219bdee05616420ff70186e749
BLAKE2b-256 b5a403c41d43ad1a08583dc0cf9bbf3e1fba814754e8bdef48f6350b41e05853

See more details on using hashes here.

File details

Details for the file pypi_client-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: pypi_client-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pypi_client-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ee40f0f0407c1ac6002de394c9818f19d91cc12afa92d410180153853536dd97
MD5 2e1096176fea5ce4b0590f9cd0c6ee2c
BLAKE2b-256 d9a4211815b7a1683f2be7cb2c655c722eb732ddb34da77addd77cb8b962185d

See more details on using hashes here.

Supported by

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