Install
$ [sudo] pip install pypi-uptodate-cli
Features
-
exit 0
ifpypi.org/project/version/X.Y.Z
registered -
exit 1
ifpypi.org/project/version/X.Y.Z
not registered
Usage
usage: pypi-uptodate
Examples
$ cd path/to/repo
$ pypi-uptodate && echo "uptodate" || pypi-upload sdist https://upload.pypi.org/legacy/