Skip to main content

check whether a package name has been used on PyPI.

Project description

Latest Version Build Status

Can I use this name for my python package on PyPI?

check whether a package name has been used on PyPI.

Install

$ pip install caniuse

Usage

API

>>> from caniuse.main import check
>>> check('requests')
u'Sorry, this package name has been registered :(\nHave a look at it: http://pypi.python.org/pypi/requests'
>>>
>>> check('you_will_never_use_this_name')
u'Congratulations! You can use it :)'

CLI

$ caniuse requests
Sorry, this package name has been registered :(
Have a look at it: http://pypi.python.org/pypi/requests

$ caniuse you_will_never_use_this_name
Congratulations! You can use it :)

Tests

$ pip install -r dev-requirements.txt
$ py.test -v --pep8 caniuse/test/

License

MIT.

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

caniuse-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page