Skip to main content

canipypi

Check whether PyPI will accept a project name.

Usage

$ canipypi unicodemath requests
unicodemath: appears available
requests: conflicts with existing project 'requests'

Several names are checked with a single download of the PyPI index. The command exits with status 0 when every name appears available, 1 when a public PyPI rule rejects any of them, and 2 when PyPI cannot be queried.

pypi_names caches its download for the life of the process, so repeated check_name calls share one fetch of the PyPI index; an explicit project-name collection can also be passed:

from canipypi import check_name, pypi_names

projects = pypi_names()
result = check_name('unicodemath', projects)
result.available

canipypi checks project-name syntax, conflicts with Python standard-library modules, standard PyPI name normalization, and Warehouse's stricter similarity normalization.

PyPI's explicit prohibited-name list is private. An available result is therefore not a guarantee, and another user may register the name before you do.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

canipypi-0.1.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

canipypi-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file canipypi-0.1.0.tar.gz.

File metadata

  • Download URL: canipypi-0.1.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for canipypi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 598bd98fddc953eb97505c7fcebd9d5e3a04efe745cfbfa4b5fbcd841d0acc91
MD5 8302822ce482271e91825ffcfc69f516
BLAKE2b-256 0797d011f05e0469d4ed7f163a02a48c52fef11047812673cddbc5128b1a079a

See more details on using hashes here.

File details

Details for the file canipypi-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: canipypi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for canipypi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56bd5cf1a517d67f52dd6bd6a13efbfa844f857892b7bf6aa235559f4e4e6e82
MD5 83ea282c982391aa28c8d0241c9b3f0e
BLAKE2b-256 da697e4ed87b372c4aeeb67bb7d8e1fb515bf5a2138f8073d383f1c0ef06939d

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