Great Python package to check for divisibility.
Project description
Divisible
Great python package for all your hmm-is-this-number-divisible-by-this-number needs!
Installation:
pip install divisible
## --- OR ---
poetry add divisible
Voilà, done.
Usage
from divisible import is_divisible
is_divisible(200, 25) # --> True
Now supports is_even and is_odd, wow.
from divisible import is_odd
is_odd(200) # --> False
from divisible import is_even
is_even(200) # --> True
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
divisible-0.1.3.tar.gz
(1.6 kB
view details)
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 divisible-0.1.3.tar.gz.
File metadata
- Download URL: divisible-0.1.3.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.9 Darwin/21.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cba4a6ce658fee1d7578af3bea1942f964b882699041a918b7bb69cc065eae45
|
|
| MD5 |
72ec17074957ae04a65ef12f15ae7993
|
|
| BLAKE2b-256 |
342185aad92707cf90d13a32a5e35ce6cad9ff29089af825a4f08843a67c0283
|
File details
Details for the file divisible-0.1.3-py3-none-any.whl.
File metadata
- Download URL: divisible-0.1.3-py3-none-any.whl
- Upload date:
- Size: 1.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.9 Darwin/21.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eac80bad3261d7632976c4243b8154ab378b59250cfdf23e5c546558f7dce6ba
|
|
| MD5 |
baae2f2a00573622a86128fe27a038ee
|
|
| BLAKE2b-256 |
ce049b59ed0c8bce861f40c269604768ef940d39c97132caee386317860cf3ef
|