Python package to check whether an input is 13 or not
Project description
Python implementation of is_thirteen
by jezen
A python package(pypi) to check whether the input is 13
or not.
Install
pip install --upgrade is_thirteen
Usage
from is_thirteen import Number, Str
# basic skills
Number(13).thirteen() # True
Number(12.8).roughly().thirteen() # True
Number(6).within(10).thirteen() # True
# math operations
Number(4).plus(5).thirteen() # False
Number(12).plus(1).thirteen() # True
Number(4).minus(7).thirteen() # False
Number(14).minus(1).thirteen() # True
Number(1).times(8).thirteen() # False
Number(26).divides(2).thirteen() # True
# spelling and chemistry skillz
Str("ThirTEEn").thirteen() # True
Str("nEETrihT").backwards().thirteen() # True
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
is_thirteen-0.0.2.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file is_thirteen-0.0.2.tar.gz
.
File metadata
- Download URL: is_thirteen-0.0.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9983f107e7402ebc408106cbb642319c2bd0ada51f3a483ae7464389bb2cdd89 |
|
MD5 | 1ad167ad6ed80f6ffa2574e346f9a23a |
|
BLAKE2b-256 | 2b6e48c300014ac37bda9152669fe017251c5a343e437861f4fb8ff4d000b55d |
File details
Details for the file is_thirteen-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: is_thirteen-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 286f73db701542022dce78e265911ea024b66b92c973eb121e24aaaf1c55f171 |
|
MD5 | e2e44e29f30b8bc61bda07cfc72e5841 |
|
BLAKE2b-256 | 3ab53729105f3da33f282b8feafa27ca3138432c7e6f893641646fde3a58e680 |