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-1.5.0.tar.gz (5.1 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.5.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for evencheck-1.5.0.tar.gz
Algorithm Hash digest
SHA256 ef8c5ae2d7e8d49794bb22099fcb89389d42b813fefb6725efea80ff68a9e1f8
MD5 e3be48f11119ec71f878378a0bd4c075
BLAKE2b-256 15f361861d73fd2d593971927e365fe8134861ac4fa67022d34393fb8eda0812

See more details on using hashes here.

File details

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

File metadata

  • Download URL: evencheck-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a28a753399e867f280f8b2f17c203692ddeb390297cff92a69dcfe4dff7cb558
MD5 3081f60e5cfad8b5571e93ab55d1a48f
BLAKE2b-256 342bfc9364bec9c1ba903e62540b2da98801651dac348b23c5200b2817f20c2d

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