Skip to main content

eouTools adds new ease-of-use features to python!

Project description

eouTools

Requirements

  • python >= 3.10 (Required)
  • python >= 3.12 (Suggested)

eouTools.numbers

isPositive

Syntax: isPositive(n: int | float) -> bool
Alternative: not isNegative(n)
Documentation: "Returns whether n is positive or not"

isNegative

Syntax: isNegative(n: int | float) -> bool
Alternative: not isPositive(n)
Documentation: "Returns whether n is negative or not"

isZero

Syntax: isZero(n: int | float) -> bool
Alternative: n == 0
Documentation: "Returns whether n is zero or not"

eouTools.decorators

rename_on_init

Syntax: @rename_on_init(name: str)
Documentation: "Rename a function when it is initialized. This may raise unexpected behavior, however"

eouTools.benchmarking.decorators

time_func

Syntax: @time_func
Documentation: "Time a function. Parse in the keyworded argument _no_time = True to get the return instead of the time it took to execute"

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

eoutools-0.0.3.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

eouTools-0.0.3-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

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