Skip to main content

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)

Uploaded Source

Built Distribution

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

divisible-0.1.3-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

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

Hashes for divisible-0.1.3.tar.gz
Algorithm Hash digest
SHA256 cba4a6ce658fee1d7578af3bea1942f964b882699041a918b7bb69cc065eae45
MD5 72ec17074957ae04a65ef12f15ae7993
BLAKE2b-256 342185aad92707cf90d13a32a5e35ce6cad9ff29089af825a4f08843a67c0283

See more details on using hashes here.

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

Hashes for divisible-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eac80bad3261d7632976c4243b8154ab378b59250cfdf23e5c546558f7dce6ba
MD5 baae2f2a00573622a86128fe27a038ee
BLAKE2b-256 ce049b59ed0c8bce861f40c269604768ef940d39c97132caee386317860cf3ef

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