Skip to main content

Ask PyPI about whether a Python Package has alread been released/registered under a given name.

Project description

ASK PYPI

Ask PyPI about whether a Python Package has alread been released/registered under a given name.

GitHub Workflow Status (branch) Production Version PyPI - Wheel Supported Python versions GitHub commits since tagged version (branch) GitHub commits since latest release (by SemVer)

Features

  1. ask_pypi python package

    1. is-pypi-package cli to check PyPI about a given package

  2. Test Suite using Pytest

  3. Parallel Execution of Unit Tests, on multiple cpu’s

  4. Automation, using tox

    1. Code Coverage measuring

    2. Build Command, using the build python package

    3. Pypi Deploy Command, supporting upload to both pypi.org and test.pypi.org servers

    4. Type Check Command, using mypy

  5. CI Pipeline, running on Github Actions

    1. Job Matrix, spanning different platform’s and python version’s

      1. Platfroms: ubuntu-latest, macos-latest

      2. Python Iterpreters: 3.6, 3.7, 3.8, 3.9, 3.10

    2. 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

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

ask_pypi-0.6.0.tar.gz (17.2 kB view hashes)

Uploaded Source

Built Distribution

ask_pypi-0.6.0-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

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