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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nscout-0.1.3.tar.gz.
File metadata
- Download URL: nscout-0.1.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c108eb15e2bea7ffb05393e0311bae7bc75c1f1a1855868a5cd2e7d1bf8ffe2
|
|
| MD5 |
c45b490769bd9f49edaf183fc6ea2f33
|
|
| BLAKE2b-256 |
ed5a0269d84741a39df3a8324c323164a65f74c1daacb0577136fe0cb402b4b9
|
File details
Details for the file nscout-0.1.3-py3-none-any.whl.
File metadata
- Download URL: nscout-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6579b6435d7d5d420a89e29011d0d397b33cf78d693c3f53641a82115d126fe8
|
|
| MD5 |
47da47c2c2d6698f864e53c64c591ab1
|
|
| BLAKE2b-256 |
635bdca62683131dacbf506006295a24f54275c9ff40e773b3af91962e850827
|