Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rosineygp/pyiseven
Check if an integer is even
https://github.com/rosineygp/pyiseven
even isevenapi
Last synced: about 2 months ago
JSON representation
Check if an integer is even
- Host: GitHub
- URL: https://github.com/rosineygp/pyiseven
- Owner: rosineygp
- License: mit
- Created: 2021-04-02T17:12:37.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-05T10:50:34.000Z (9 months ago)
- Last Synced: 2024-10-10T13:47:19.984Z (3 months ago)
- Topics: even, isevenapi
- Language: Python
- Homepage:
- Size: 57.6 KB
- Stars: 48
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Is Even
![PyPI - Downloads](https://img.shields.io/pypi/dm/PyIsEven)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rosineygp_PyIsEven&metric=alert_status)](https://sonarcloud.io/dashboard?id=rosineygp_PyIsEven)Check if interger is even using `isevenapi`.
https://isevenapi.xyz/
Main features:
- cache memoization
- api retry handler
- hide ads## Install
```bash
pip install PyIsEven
```## Usage
```python
from is_even import is_even as ieie.is_even(10)
> True# Get AD
v = ie.is_even(10)v.ad
> "HONDA CIVIC '96, AM/FM/CD, low miles, Good condition. Speaks Spanish $3500 339-555-6289"ie.is_even(10).ad
> "CHINA CABINET, buffet, hutch solid pine, 6.5 tall x 4.5 wide, lighted windows. few cat scratches but cat has died. $700. Call 435-555-6421"
```