askpypi 0.6.0
ASK PYPI
Ask PyPI about whether a Python Package has alread been released/registered under a given name.
Source Code: https://github.com/boromir674/ask-pypi
Pypi Package: https://pypi.org/project/ask_pypi/
Features
ask_pypi python package
is-pypi-package cli to check PyPI about a given package
Test Suite using Pytest
Parallel Execution of Unit Tests, on multiple cpu’s
Automation, using tox
Code Coverage measuring
Build Command, using the build python package
Pypi Deploy Command, supporting upload to both pypi.org and test.pypi.org servers
Type Check Command, using mypy
CI Pipeline, running on Github Actions
Job Matrix, spanning different platform’s and python version’s
Platfroms: ubuntu-latest, macos-latest
Python Iterpreters: 3.6, 3.7, 3.8, 3.9, 3.10
Parallel Job execution, generated from the matrix, that runs the Test Suite
Quickstart
Using pip is the approved way for installing ask_pypi.
python3 -m pip install --user ask_pypi
Usage
Open a console (ie terminal) and run:
is-pypi-package so-magic
echo $?
Observer that the exit code is 0, since there IS a package named so-magic on pypi.org.
is-pypi-package ubaspidfbpasuidbf
echo $?
Observer that the exit code is 1, since there is NOT a package named ubaspidfbpasuidbf on pypi.org.
License
Free software: Affero GNU General Public License v3.0
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.