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
Release files for is-number 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| is-number-0.0.3.tar.gz | 19.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| is_number-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.8 kB
Release files / is-number-0.0.3.tar.gz
| Download URL | is-number-0.0.3.tar.gz |
|---|---|
| Size | 19.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
384859a4ffd6dbbbb08cdc5d2f831498959f6b276a5228b9c511e4a96232344a
|
|
BLAKE2b-256 checksum How to use checksums |
951ec4a187224994cf7cc5699e4b85f9801aa818f7a0060197381ac76b744a62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / is_number-0.0.3-py3-none-any.whl
| Download URL | is_number-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6dc2960001a2fc7299d14d3afa77827c91fa9dbae9007063289465768bdb9c0
|
|
BLAKE2b-256 checksum How to use checksums |
70350c876b444eefa7b22eff4c141859b423ce4b60ee8e96a48bfeed3432f422
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|