Skip to main content

A Python library to determine if something is a number.

Project description

PyPI GitHub Actions - CI GitHub Actions - pre-commit Codecov

A Python library to determine if something is a number.

Installation

pip install is-number

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.

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

$ pip install -r requirements_test.txt

Run the tests.

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

Releasing

Releases are published automatically when a tag is pushed to GitHub.

# 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

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

is-number-0.0.2.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

is_number-0.0.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file is-number-0.0.2.tar.gz.

File metadata

  • Download URL: is-number-0.0.2.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for is-number-0.0.2.tar.gz
Algorithm Hash digest
SHA256 96fa98f71c7b6128654cc7181682bc8698c3dfa3fb2e37e3440772b47a1b8deb
MD5 b77c9658f9f980a16b98b8a4153e8c48
BLAKE2b-256 e0ad55ad0b2f5ac6d1c9883c6fca9cc7b5838350b3b76aa0b0f8861cae484754

See more details on using hashes here.

File details

Details for the file is_number-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: is_number-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for is_number-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 15c160b8a8c8ad90d5d7b5bb1b2ea5784077153dd4ca72a36718f176483d3f02
MD5 a23f7bf74879175385ca00435bbd1125
BLAKE2b-256 64f040c86250cf7570113147ebdfd5b5c76616dff9607fa6763f3984b3e9e950

See more details on using hashes here.

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