is-number ========= .. image:: https://img.shields.io/pypi/v/is-number :target: https://pypi.org/project/is-number/ :alt: PyPI .. image:: https://github.com/jacobtomlinson/is-number/workflows/CI/badge.svg :target: https://github.com/jacobtomlinson/is-number/actions?query=workflow%3ACI :alt: GitHub Actions - CI .. image:: https://github.com/jacobtomlinson/is-number/workflows/pre-commit/badge.svg :target: https://github.com/jacobtomlinson/is-number/actions?query=workflow%3Apre-commit :alt: GitHub Actions - pre-commit .. image:: https://img.shields.io/codecov/c/gh/jacobtomlinson/is-number :target: https://app.codecov.io/gh/jacobtomlinson/is-number :alt: Codecov .. image:: https://img.shields.io/badge/FAQ-documentation-blue.svg :target: https://is-number.readthedocs.io/en/latest/faq.html :alt: Community FAQ .. image:: https://img.shields.io/badge/Q&A-StackOverflow-orange.svg :target: https://stackoverflow.com/questions/tagged/python :alt: Q&A StackOverflow .. image:: https://img.shields.io/badge/chat-gitter-green.svg :target: https://gitter.im/is-number/community :alt: Gitter chat A Python library to determine if something is a number. Installation ------------ .. code-block:: bash pip install is-number Usage ----- .. code-block:: python >>> from is_number import is_number >>> is_number(10) True >>> is_number("hello") False .. toctree:: :maxdepth: 2 :caption: Usage api faq .. toctree:: :maxdepth: 2 :caption: Developer contributing maintaining branding