Skip to main content

oddoreven003

A tiny Python library to check if a number is odd or even.

Installation

pip install oddoreven003

Usage

from oddoreven003 import is_even, is_odd, parity

is_even(10)      # True
is_odd(7)        # True
parity(15)       # 'odd'
parity("20")     # 'even'

Features

  • Supports int, float (if whole), string numbers
  • Helpful errors
  • Very lightweight and fast

Metadata

Release files for oddoreven003 1.0.0

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

Source distribution (sdist)

Source distribution for oddoreven003 1.0.0
File Size Uploaded Provenance
oddoreven003-1.0.0.tar.gz 2.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for oddoreven003 1.0.0
File Interpreter ABI Platform
oddoreven003-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / oddoreven003-1.0.0.tar.gz

Download URL oddoreven003-1.0.0.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6539fc9844a08b6739152e2a62ad6d02c0494592c8dacda7e9eea623c3842ea6
BLAKE2b-256 checksum
How to use checksums
616c359185c7cbdcdb0dd37d803d680cfb9488a3a8481c698954afb90aa84b60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release files / oddoreven003-1.0.0-py3-none-any.whl

Download URL oddoreven003-1.0.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a68e3937bf36e7842204a0b843d52db959903fbf4ea470d29a6a2d9d07cb5c1
BLAKE2b-256 checksum
How to use checksums
81fbedb775467e2afec7ec596d722970126ef67ca195b8d6bf26df2a17f70e11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Security for oddoreven003 1.0.0

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

1.0.0 This release

2 release files 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