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.

Release files for canipypi 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for canipypi 0.1.0
File Size Uploaded
canipypi-0.1.0.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for canipypi 0.1.0
File Interpreter ABI Platform
canipypi-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / canipypi-0.1.0.tar.gz

Download URL canipypi-0.1.0.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
598bd98fddc953eb97505c7fcebd9d5e3a04efe745cfbfa4b5fbcd841d0acc91
BLAKE2b-256 checksum
How to use checksums
0797d011f05e0469d4ed7f163a02a48c52fef11047812673cddbc5128b1a079a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / canipypi-0.1.0-py3-none-any.whl

Download URL canipypi-0.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56bd5cf1a517d67f52dd6bd6a13efbfa844f857892b7bf6aa235559f4e4e6e82
BLAKE2b-256 checksum
How to use checksums
da697e4ed87b372c4aeeb67bb7d8e1fb515bf5a2138f8073d383f1c0ef06939d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page