Skip to content

UltiRequiem/isEvenAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

7️⃣ API Wrapper for isEven. Check is a integer is even or odd.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Contributors 2

  •  
  •  

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy