Skip to main content

A lightweight CLI tool to check whether a package name is taken on PyPI and TestPyPI.

Project description

nscout

A small command-line tool for checking whether a package name is already taken on PyPI and TestPyPI. It queries PyPI’s public JSON endpoints and reports the results in a simple, readable format.


Features

  • Checks availability on both PyPI and TestPyPI
  • No special exit codes — clear human-readable output only
  • Minimal dependencies, very fast
  • Works on Python 3.10+

Installation

From PyPI (after publishing):

pip install nscout

For local development:

pip install -e .

Usage

Run:

nscout <package-name>

Example:

nscout requests

Output:

PyPi : taken
TestPyPi : not taken

The tool always prints exactly these two lines — no exit-code text.


Why this tool exists

PyPI doesn’t have a dedicated “is this name available?” endpoint. This tool performs a lightweight check against PyPI’s JSON metadata URLs:

  • If the endpoint returns 404, the name is not taken
  • Any other response means the name exists or the server is unreachable

This makes the tool quick, reliable, and easy to use during package creation.


Development

Run directly from source:

python -m nscout <package-name>

Project layout:

nscout/
├── nscout/
│   ├── __init__.py
│   ├── cli.py          # command-line interface
│   └── checker.py      # availability logic
├── pyproject.toml
├── README.md
└── LICENSE

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

nscout-0.1.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

nscout-0.1.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file nscout-0.1.1.tar.gz.

File metadata

  • Download URL: nscout-0.1.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for nscout-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7e5aa3815cb856917d2a2413d4ac01f53af82545f4f8d2aa1a26721a0f971bef
MD5 22d62f264c918206d1637cfaa953bb87
BLAKE2b-256 c17c2217da71cc625c7ad75c8f3639025bac0cd63965138392d671699e40a47e

See more details on using hashes here.

File details

Details for the file nscout-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: nscout-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for nscout-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd7119bc41007e62348cd6283279caec4f9442b0f706075031d9bd029cb07d7b
MD5 099234de454ccecf574d13de5a4faff6
BLAKE2b-256 38f162ae3dbdfae3aba9550bd1d38deedb69c296582fc80c758c64cab8f5eddc

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