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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file divisible-0.1.4.tar.gz.

File metadata

  • Download URL: divisible-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 117034e879fd777cbbb40d117f90fa41c422d404232980d94febc661227d0d7f
MD5 719677dd5c110c1c9e484108b365a328
BLAKE2b-256 b7b6012b942a41a81838158b644948436575ed0a2d751708c0e6e6f74d1cf787

See more details on using hashes here.

File details

Details for the file divisible-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: divisible-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 1.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 015a1f23a9204c73c5a856f1210f9ed60d6c4e2063a2478565fb82e3f1702b72
MD5 359f5cd372e4d982b27bc04d67f2f092
BLAKE2b-256 207e1caa7408b4d1df0502a70c254ac934a5c275db39da299612089ce340e61a

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