Skip to main content

Great Python package to check for divisibility.

Project description

Divisible

Run Tests PyPI version

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.4.tar.gz (1.6 kB view hashes)

Uploaded Source

Built Distribution

divisible-0.1.4-py3-none-any.whl (1.8 kB view hashes)

Uploaded Python 3

Supported by

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