https://github.com/ultirequiem/isevenapi
:seven: API Wrapper for isEven. Check is a integer is even or odd.
https://github.com/ultirequiem/isevenapi
api-wrapper isevenapi pip-package pypi python python-api python-api-wrapper python3
Last synced: 6 months ago
JSON representation
:seven: API Wrapper for isEven. Check is a integer is even or odd.
- Host: GitHub
- URL: https://github.com/ultirequiem/isevenapi
- Owner: UltiRequiem
- License: other
- Created: 2021-06-01T15:18:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-25T20:50:15.000Z (over 2 years ago)
- Last Synced: 2025-05-05T19:59:18.941Z (6 months ago)
- Topics: api-wrapper, isevenapi, pip-package, pypi, python, python-api, python-api-wrapper, python3
- Language: Python
- Homepage: http://ulti.js.org/isEvenAPI
- Size: 29.3 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# isEvenAPI
[](https://codecov.io/gh/ultirequiem/isEvenAPI)
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 🐍
```sh
pip install isEvenApi
```
Or from GitHub 🐱
```sh
pip install git+https:/github.com/UltiRequiem/isEvenAPI
```
## Usage
As simple as possible 🤗
```python
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/`](./examples) directory for more information.
## Alternatives
A simpler aproach 👇
```python
def is_even(number):
return number % 2 == 0
```
## CLI Tool
The installation process is the same as before.
The normal way 🧐
```sh
is_even 6 2
True
True
```
Or with the verbose mode 🍹
```sh
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](https://twitter.com/intent/tweet?text=%40UltiRequiem%20) 😆
Consider [supporting me on Patreon](https://patreon.com/UltiRequiem) if you like
my work 🚀
Don't forget to start the repo ⭐
## Authors
[Eliaz Bobadilla (a.k.a UltiRequiem)](https://ultirequiem.com) - Creator and
Maintainer 💪
See also the full list of
[contributors](https://github.com/UltiRequiem/isEvenAPI/contributors) who
participated in this project.
## Versioning
We use [SemVer](http://semver.org) for versioning. For the versions available,
see the [tags](https://github.com/UltiRequiem/isEvenAPI/tags).
## Note
I did this because I'm learning how to upload packages to
[PYPI](https://pypi.org/project/isEvenAPI) with GitHub actions.
## Licence
Licensed under the MIT License.