semvec/pypi-packages huggingface dataset:
is-number-priyatham 0.0.2
A Python library to determine if something is a number.
Requires Python: >=3.6

is-number
=========

A Python library to determine if something is a number.

.. image:: https://img.shields.io/pypi/v/is-number-priyatham
   :target: https://pypi.org/project/is-number-priyatham/
   :alt: PyPI

.. image:: https://github.com/Priyatham10/is-number/actions/workflows/ci.yaml/badge.svg
   :target: https://github.com/Priyatham10/is-number/actions/workflows/ci.yaml
   :alt: GitHub Actions - CI

.. image:: https://github.com/Priyatham10/is-number/actions/workflows/pre-commit.yaml/badge.svg
   :target: https://github.com/Priyatham10/is-number/actions/workflows/pre-commit.yaml
   :alt: GitHub Actions - pre-commit

.. image:: https://img.shields.io/codecov/c/github/Priyatham10/is-number
   :target: https://app.codecov.io/gh/Priyatham10/is-number
   :alt: Codecov

Installation
------------

.. code-block:: bash

   pip install is-number-priyatham

Developing
----------

This project uses ``black`` to format code and ``flake8`` for linting. We also support ``pre-commit`` to ensure
these have been run. To configure your local environment please install these development dependencies and set up
the commit hooks.

.. code-block:: bash

   $ pip install black flake8 pre-commit
   $ pre-commit install

Testing
-------

This project uses ``pytest`` to run tests and also to test docstring examples.

Install the test dependencies.

.. code-block:: bash

   $ pip install -r requirements_test.txt

Run the tests.

.. code-block:: bash

   $ pytest
   === 3 passed in 0.13 seconds ===

.. code-block:: bash

   # Set next version number
   export RELEASE=x.x.x

   # Create tags
   git commit --allow-empty -m "Release $RELEASE"
   git tag -a $RELEASE -m "Version $RELEASE"

   # Push
   git push upstream --tags