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.1.0.tar.gz (2.6 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.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pkgscout-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8135b0beda1ad60ed062d6f6e7a1c9384136aa94abec3ebc5d233b9901c7fd8d
MD5 bb06fb21b5fbd717bc5d2c35155c25c1
BLAKE2b-256 01161d95bcda24009136666a05d01fed1d10f34deefc8f5b3433861c56e23a04

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pkgscout-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7450dbd45245cf36cb7b72b39d841637db251794748494100e838a94cff36efe
MD5 c542c443a5c28be67ce4f2924b3cc72f
BLAKE2b-256 17ff8890625915d2971cfb98fdb6646ed1cf6054d6606f3f39c0fe37584866e4

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