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

number_true = iseven(2) # True
print(number_true)
number_false = iseven(7) # False
print(number_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.

--

I would like to express my sincere thanks to kleeedolinux for helping make evencheck possible.

With much love,
Made by Guss

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-2.0.0.tar.gz (64.3 kB view details)

Uploaded Source

Built Distribution

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

evencheck-2.0.0-py3-none-any.whl (63.6 kB view details)

Uploaded Python 3

File details

Details for the file evencheck-2.0.0.tar.gz.

File metadata

  • Download URL: evencheck-2.0.0.tar.gz
  • Upload date:
  • Size: 64.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for evencheck-2.0.0.tar.gz
Algorithm Hash digest
SHA256 0e046f3db32acfee98165e8cff30671a3a92c3ed4c2309507c7eb10f7a912d32
MD5 793ae73a010b79b97df4b4cc9c54b843
BLAKE2b-256 c667e151c174429019f02513efad2f5a062946996a37853e2d819ef806c5fcb0

See more details on using hashes here.

File details

Details for the file evencheck-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: evencheck-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 63.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for evencheck-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 078d5ca66e6cdda663ee7c97e4a3b1e68be56c916217c66fb3354fddefdf9afb
MD5 3733c655f9ffc039dded86784fc28095
BLAKE2b-256 e4777b5ef97efed750c20747ec332f6edf102376c3962a159164082d2bd3fab8

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