Code Monkey home page Code Monkey logo

isevenapi's Introduction

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.

isevenapi's People

Contributors

dependabot[bot] avatar ultirequiem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.