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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file example_package_ganesh252703-0.0.1.tar.gz.
File metadata
- Download URL: example_package_ganesh252703-0.0.1.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
445f985bb26276c4a50bf5291d297c62d4ae105c59667569969caa3ec9c0ced5
|
|
| MD5 |
e2245f8f9fe64e2cee3b15981f1073df
|
|
| BLAKE2b-256 |
4a1ef57ec2b63c3e97dce7b495ba3285e0808da12d5e79c26c94fb797d7c907e
|
File details
Details for the file example_package_ganesh252703-0.0.1-py3-none-any.whl.
File metadata
- Download URL: example_package_ganesh252703-0.0.1-py3-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe06f7c539d5006caec63a14a7547da66b9d8b3f67aaf91347a8809791fa4556
|
|
| MD5 |
50c7f4f78b3aee946260d7977fd565d5
|
|
| BLAKE2b-256 |
e57997ebde0c451b78cffdf4923b9679df1ad254fbcd2102dbd9ff9ba2ec524b
|