Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evencheck-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evencheck-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for evencheck-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2a4aec6fe623d8227f5457d2310315dfa369034e4f726c2def5930ca844e437a
MD5 caf4e351ff951fae36bb36011b7eaf52
BLAKE2b-256 9b667747afb8fb06377e69ba864ed81f24da0f09eb1d3c2cbf7308e5b31ddf73

See more details on using hashes here.

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

Hashes for evencheck-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9906324d4dcdfe657bc66f626ed1d00f34cb94eb946fab3855d325234b2cc08
MD5 838567000a0fb5637adc588b6b772d65
BLAKE2b-256 48a8b08645c7ef3cbe539ae3296295acbeb3dff58bec93148f5fe69bf29d0966

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page