Skip to main content

A small example package

Project description

Smart Numbers

A Python library to determine if a number is even, odd, or a multiple of a given number.

Installation

pip install smart-numbers-YOUR_USERNAME

from numbers_properties_pkg.numbers_properties import NumberProperties

# Create an instance of the NumberProperties class
np = NumberProperties()

# Check if a number is even
print(np.is_even(4))  # Output: True

# Check if a number is odd
print(np.is_odd(3))   # Output: True

# Check if a number is a multiple of another number
print(np.is_multiple_of_n(15, 5))  # Output: True
print(np.is_multiple_of_n(15, 4))  # Output: False

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

example_package_ganesh252703-0.0.1.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

example_package_ganesh252703-0.0.1-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file example_package_ganesh252703-0.0.1.tar.gz.

File metadata

File hashes

Hashes for example_package_ganesh252703-0.0.1.tar.gz
Algorithm Hash digest
SHA256 445f985bb26276c4a50bf5291d297c62d4ae105c59667569969caa3ec9c0ced5
MD5 e2245f8f9fe64e2cee3b15981f1073df
BLAKE2b-256 4a1ef57ec2b63c3e97dce7b495ba3285e0808da12d5e79c26c94fb797d7c907e

See more details on using hashes here.

File details

Details for the file example_package_ganesh252703-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for example_package_ganesh252703-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe06f7c539d5006caec63a14a7547da66b9d8b3f67aaf91347a8809791fa4556
MD5 50c7f4f78b3aee946260d7977fd565d5
BLAKE2b-256 e57997ebde0c451b78cffdf4923b9679df1ad254fbcd2102dbd9ff9ba2ec524b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page