Skip to main content

is-even https://pypi.org/project/is-int-even/

Returns true if the number passed is even, returns false if it is not.

Inspired by samuelmarina/is-even and is the python version of it :)

Installing

pip install -U git+https://github.com/sifte/is-int-even.git

Example

from is_int_even import is_even

is_even(0) # true
is_even(1) # true
is_even(2) # true
# and so on...  current limit is 125,000

Metadata

Release files for is-int-even 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for is-int-even 0.0.2
File Size Uploaded Provenance Actions
is-int-even-0.0.2.tar.gz 316.5 kB Without provenance Details for is-int-even-0.0.2.tar.gz

Release files / is-int-even-0.0.2.tar.gz

Download URL is-int-even-0.0.2.tar.gz
Size 316.5 kB
Tags Source
SHA-256 checksum
How to use checksums
894dd0c09a2f64f418e98be6f8ecb390b96cc4c859a11b5d7e70b66e50388f94
BLAKE2b-256 checksum
How to use checksums
8848c9d772e589a474c01340904325ca03b46705bde2072748b187a076782d4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

Security for is-int-even 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page