The most inefficient way to check if a number is even.
Project description
evencheck
The most inefficient way to check if a number is even.
Installation
pip install evencheck
Usage
from evencheck import IsEven
IsEven(2)# True
IsEven(7)# False
Hot it Works
- Downloads a huge JSON file
- Reads it line by line
- Stops when the number is found
- Deletes the file
Absolutely useless. By design.
🤝 Contributing
We do accept contributions - with one very important rule:
Your contribution must make the code worse.
Rules for contributing
If you want to contribute to evencheck, you must follow these guidelines:
- ❌ | Do not optimize anything
- ❌ | Do not remove unnecessary steps
- ❌ | Do not improve performance
- ❌ | Do not reduce memory usage
- ❌ | Do not simplify logic
What we do want
- ✅ | More I/O operations
- ✅ | Extra loops
- ✅ | Redundant checks
- ✅ | Worse performance
- ✅ | Longer execution time
- ✅ | More unnecessary downloads
If your pull request makes the code faster, cleaner, or smarter, it will be rejected immediately.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file evencheck-1.0.0.tar.gz.
File metadata
- Download URL: evencheck-1.0.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a4aec6fe623d8227f5457d2310315dfa369034e4f726c2def5930ca844e437a
|
|
| MD5 |
caf4e351ff951fae36bb36011b7eaf52
|
|
| BLAKE2b-256 |
9b667747afb8fb06377e69ba864ed81f24da0f09eb1d3c2cbf7308e5b31ddf73
|
File details
Details for the file evencheck-1.0.0-py3-none-any.whl.
File metadata
- Download URL: evencheck-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9906324d4dcdfe657bc66f626ed1d00f34cb94eb946fab3855d325234b2cc08
|
|
| MD5 |
838567000a0fb5637adc588b6b772d65
|
|
| BLAKE2b-256 |
48a8b08645c7ef3cbe539ae3296295acbeb3dff58bec93148f5fe69bf29d0966
|