nameisok is a Python package that helps developers check the availability of package names on PyPI, taking it one step further with enhanced functionality. This tool is perfect for anyone looking to publish new packages and wanting to avoid name conflicts or similar names that could cause confusion.
- PyPI Availability Check: Quickly checks PyPI to see if a package name is available for registration.
- BigQuery Database Check: Uses the PyPI dataset on Google BigQuery for additional verification of package name availability.
- Similarity Check: Detects names that are too similar to existing packages, based on a customizable similarity threshold, preventing potential naming conflicts.
To install nameisok, simply run:
pip install nameisok
Check Multiple Names
nameisok example,my_package,nameisok
Output
❌ `example` is already taken.
🎉 Wow! `my_package` is available!
❌ `nameisok` is already taken.
You can also check just one name at a time:
nameisok pandas
❌ `pandas` is already taken.
nameisok darling
. 🎉 Wow! `darling` is available!
When a name is not only taken but also too similar to existing packages, you'll see a warning:
nameisok numpyyy
⚠️ `numpyyy` is very similar to `numpy`, `numpy-extensions`
❌ `numpyyy` is too similar to an existing package.