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:

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 keeps the tool fast, predictable, and convenient during package creation.


Development

Run directly from source:

python -m nscout <package-name>

Project layout:

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

Notes

nscout stays intentionally small and focused. If it helps you ship cleaner packages, the project has done its job.

It was built for the tiny moments that slow releases down, and smoothing even one step in your workflow makes it worthwhile.

The project is open to thoughtful improvements and small quality-of-life contributions.

Future growth will be deliberate—only in places where it clearly adds value, like lightweight automation hooks or CI-friendly helpers.


Powered by Python, fueled by caffeine, guided by late-night curiosity ☕🚀

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.2.tar.gz (3.3 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.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nscout-0.1.2.tar.gz
Algorithm Hash digest
SHA256 66fe2ed03716981bfbbd5569d8768301876765abd85c920bca425dcc86b4d151
MD5 0f33f9fb9fc687fb53699ec1e9d65200
BLAKE2b-256 620a2849560e47a0763ca657c46965b2aca759c31fbd1250aba3f06a29cb342a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nscout-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bb09b87d66baf3113b0039c0984a7106e8b8a272cae6bf5b6e109eaf83a2b75a
MD5 ef443613c932bbe825b9c672b2c51141
BLAKE2b-256 e251c74f7f7dcba007485bf99fe1fd5f11664c3740484419c287d1b47372973b

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