Repo Name Checker
Check the availability of a repo name against the major package registries (NPM, PyPI, crates.io).
Usage
uvx repo-name-checker foobarbaz
Produces a table:
| Repository | Available | Collisions |
|---|---|---|
| npm | ❌ | dark-factory |
| pypi | ✅ | |
| crates | ✅ |
Pass a list of registries to narrow the check:
uvx repo-name-checker foobarbaz --registry npm --registry pypi
Publish-time collision detection (npm)
npm rejects publishes whose normalized form (lowercased, with -/_/.
removed) matches an existing package. The Collisions column lists
existing names that would block your publish — for example darkfactory
collides with dark-factory. The check is best-effort: npm's exact
internal algorithm is private, so a passing check is necessary but not
sufficient.
Output format
Use --format to choose the output. table is the default; json emits a
machine-readable list:
$ uvx repo-name-checker foobarbaz --format json
[
{"registry": "npm", "name": "foobarbaz", "available": false, "collisions": ["foo-bar-baz"]},
{"registry": "pypi", "name": "foobarbaz", "available": true, "collisions": []},
{"registry": "crates", "name": "foobarbaz", "available": true, "collisions": []}
]
The CLI exits 0 if at least one registry has the name available, otherwise
1.
SDK
The CLI is a thin wrapper over a Python SDK with 1:1 parity:
import asyncio
from repo_name_checker import check, check_sync
# Async
results = asyncio.run(check("foobarbaz", registries=["npm", "pypi"]))
# Sync
results = check_sync("foobarbaz")
for r in results:
print(r.registry, r.available)
License
MIT
Metadata
Release files for repo-name-checker 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| repo_name_checker-0.1.3.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| repo_name_checker-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / repo_name_checker-0.1.3.tar.gz
| Download URL | repo_name_checker-0.1.3.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df6dc00f319473c47af8fc3dab7e21f4c59f083b53b4ed152d9cadfd4200619f
|
|
BLAKE2b-256 checksum How to use checksums |
4904b5234f900d1de9c18bab86eeae75eafe4a8cf9c5ac57a0c5534aa6ebb9b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency logRelease files / repo_name_checker-0.1.3-py3-none-any.whl
| Download URL | repo_name_checker-0.1.3-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51bca75ad71757539c3f99b3cc7a9d34c454f03518f1d08d98384c48fa4a6abc
|
|
BLAKE2b-256 checksum How to use checksums |
e12e4916f99f197c79e31593312b7ead2d3bd60873b7737dd30825a7aa5ce93b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 14, 2026.
Transparency log