Skip to main content

A modern CLI to check PyPI package name availability with rich metadata

Project description

pkgscout

A modern CLI to check whether Python package names are available on PyPI.

Queries the live PyPI API — no stale offline database. Shows rich metadata for taken names: version, summary, author, and project URL.

Install

Requires UV and Python 3.12+.

uv sync

Usage

# Check a single name
uv run pkgscout requests
#   ✘ requests (v2.32.5) — Python HTTP for Humans.
#     https://pypi.org/project/requests/

# Check if a name is available
uv run pkgscout my-cool-lib
#   ✔ my-cool-lib is available!

# Batch check
uv run pkgscout requests flask numpy my-cool-lib
#   ✘ requests (v2.32.5) — Python HTTP for Humans.
#   ✘ flask (v3.1.2) — A simple framework for building complex web applications.
#   ✘ numpy (v2.4.2) — Fundamental package for array computing in Python
#   ✔ my-cool-lib is available!

# JSON output for scripting
uv run pkgscout --json requests my-cool-lib

JSON output example:

[
  {
    "name": "requests",
    "available": false,
    "version": "2.32.5",
    "summary": "Python HTTP for Humans.",
    "author": "Kenneth Reitz",
    "url": "https://pypi.org/project/requests/"
  },
  {
    "name": "my-cool-lib",
    "available": true
  }
]

How It Works

For each name, pkgscout sends a GET request to https://pypi.org/pypi/{name}/json:

  • 200 — name is taken, metadata is extracted and displayed
  • 404 — name is available

License

MIT

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

pkgscout-0.2.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

pkgscout-0.2.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file pkgscout-0.2.0.tar.gz.

File metadata

  • Download URL: pkgscout-0.2.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for pkgscout-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ddf16b946e258df29b955a6c636fa75cca81bc05394a6244aebc2ec881063d28
MD5 fdcc2653e7e080c6b0d15f0e204af84d
BLAKE2b-256 5270f52044385b3dde4597459f5d0adf43c7835d54b0f3604a368e0c9cd16d0b

See more details on using hashes here.

File details

Details for the file pkgscout-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pkgscout-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for pkgscout-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc83c63dab1a55fa4dbee78fa21533c95a32508e2d85bd89a473df06367af7c8
MD5 fa1dfe6f6e7d4c94d300322ec4e7616d
BLAKE2b-256 68ad7d5847a47dc952412534db99c3e0a9a6b9d5875cf7c65d1401af74fcd7f4

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