Skip to main content

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

Metadata

Release files for pkgscout 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pkgscout 0.2.0
File Size Uploaded
pkgscout-0.2.0.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pkgscout 0.2.0
File Interpreter ABI Platform
pkgscout-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / pkgscout-0.2.0.tar.gz

Download URL pkgscout-0.2.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ddf16b946e258df29b955a6c636fa75cca81bc05394a6244aebc2ec881063d28
BLAKE2b-256 checksum
How to use checksums
5270f52044385b3dde4597459f5d0adf43c7835d54b0f3604a368e0c9cd16d0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.15

Release files / pkgscout-0.2.0-py3-none-any.whl

Download URL pkgscout-0.2.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc83c63dab1a55fa4dbee78fa21533c95a32508e2d85bd89a473df06367af7c8
BLAKE2b-256 checksum
How to use checksums
68ad7d5847a47dc952412534db99c3e0a9a6b9d5875cf7c65d1401af74fcd7f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.15

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page