Skip to main content

isEvenAPI

codecov

The premier Python package for checking the even-ness of a number via an API. Built-ins are overrated, microservices are always best, regardless of scope. I read it in a medium article, so...

I did this when I was learning Python 😆

Main features

  • Cache Memorization ➿
  • API Retry Handler ♻

Install

From PyPI 🐍

pip install isEvenApi

Or from GitHub 🐱

pip install git+https:/github.com/UltiRequiem/isEvenAPI

Usage

As simple as possible 🤗

from is_even import is_even, is_odd, adverstiment

print(is_even(10)) # True
print(is_odd(10)) # False

print(adverstiment()) # An Advertisement

Check the examples/ directory for more information.

Alternatives

A simpler aproach 👇

def is_even(number):
    return number % 2 == 0

CLI Tool

The installation process is the same as before.

The normal way 🧐

is_even 6 2
True
True

Or with the verbose mode 🍹

is_even 6 2 --verbose
6 is even.
2 is even.

Support

Open an Issue, I will check it a soon as possible 👀

If you want to hurry me up a bit send me a tweet 😆

Consider supporting me on Patreon if you like my work 🚀

Don't forget to start the repo ⭐

Authors

Eliaz Bobadilla (a.k.a UltiRequiem) - Creator and Maintainer 💪

See also the full list of contributors who participated in this project.

Versioning

We use SemVer for versioning. For the versions available, see the tags.

Note

I did this because I'm learning how to upload packages to PYPI with GitHub actions.

Licence

Licensed under the MIT License.

Metadata

Release files for isEvenAPI 3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for isEvenAPI 3.0
File Size Uploaded
isEvenAPI-3.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for isEvenAPI 3.0
File Interpreter ABI Platform
isEvenAPI-3.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 kB

Release files / isEvenAPI-3.0.tar.gz

Download URL isEvenAPI-3.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
30ace47e674accf703564499991f401a602814e57f1661f5ac962339b484a53f
BLAKE2b-256 checksum
How to use checksums
6596fa834d40e5777c107f5cce5332315d3438ee06aae14165d7423d5bad7ed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release files / isEvenAPI-3.0-py3-none-any.whl

Download URL isEvenAPI-3.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
970cc4fb40379c435b12584f1337c8ecf09c26244956e948cebbe0c6dc07b40a
BLAKE2b-256 checksum
How to use checksums
a0abb9dd32fc19d92788c158e1e7ac3f777e667c382386dc11ada178659dcf59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release history Release notifications | RSS feed

This release

3.0 This release

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2

2 release files

2.1

2 release files

2.0

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page