eouTools
Requirements
- python >= 3.10 (Required)
- python >= 3.12 (Suggested)
- numpy (Suggested)
- Deprecated (Required)
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"
retry
Syntax: @retry(amount: Optional[int], stop_at: Optional[Tuple[Exception]])
Documentation: "Try calling the functon amount amount of times, but stop if the exception raised is in stop_at or if the function did not raise an error"
cache
Syntax: @cache
Documentation: "Create a cache of all results given by a function. run the .clear_cache() function to delete the cache. Can be used to speed up certain algorithms such as recursive Fibonacci sequence"
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"
eouTools.arithmetic_equations.integers
factorial
Syntax: factorial(n: int) -> int
Documentation: "Calculate the factorial of a number"
Requirements: numpy
eouTools.arithmetic_equations.integrals
integrate
Syntax: integrate(func: Callable, start: Optional[int | float], end: Optional[int | float], dx: Optional[int | float]) -> float
Documentation: [Self-Explanatory]
Used Builtins: multiprocessing
fib
Syntax: fib(n: int) -> int
Documentation: Calculate the fibonacci sequence for a number recursively
Requirements:
- numpy (suggested)
eouTools.rng.random
seed
Syntax: seed(a: Optional[int | float | bytes | bytearray)
Documentation: To be used as a context manager
Requirements:
- numpy (suggested)
aseed
Syntax: aseed(a: Optional[int | float | bytes | bytearray)
Documentation: To be used as an asynchronous context manager
69 lines, nice!
Requirements:
- numpy (suggested)
eouTools.constants
Constant
Syntax: Constant(value: Any)
Documentation: A constant, read-only value.
Commandline
Commands
-V: Show the installation version--install-requirements: Install all requirements--upgrade: Update to the newest version of eouTools
Usage
python -m eouTools <command>
eouTools Installation Guide
1 - Requirements
Make sure you meet the following requirements:
- python >= 3.10 (required)
- python >= 3.12 (suggested)
- pip >= 20.3.1 (suggested?)
- numpy<=1.26.4 (suggested?)
- numpy (suggested)
- Deprecated (required)
2 - Requirements Installation
How to install certain requirements if your system does not already meet them
pip >= 20.3.1
python -m pip install --upgrade pip>=20.3.1
numpy<=1.26.4
python -m pip install --upgrade numpy<=1.26.4
numpy
python -m pip install --upgrade numpy
Deprecated
python -m pip install --upgrade Deprecated
3 - Installation
To install eouTools, please run:
python -m pip install eouTools
4 - Updates
If you wish to upgrade to the latest version of eouTools when new releases come out, run:
python -m pip install --upgrade eouTools
5 - Removal
If you wish to uninstall eouTools, run:
python -m pip uninstall eouTools
And please leave us a feedback with what drove you to uninstall it
Metadata
Release files for eouTools 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eoutools-0.1.1.tar.gz | 9.0 kB | Without provenance | Details for eoutools-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eouTools-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for eouTools-0.1.1-py3-none-any.whl |
Total release size: 19.1 kB
Release files / eoutools-0.1.1.tar.gz
| Download URL | eoutools-0.1.1.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e423399da47d713f9affe4a5777024c09c4e4763e635f6d2a786027712aecbf8
|
|
BLAKE2b-256 checksum How to use checksums |
d6a38f5bef97dd45b874cdb420692bb6a06250c9bb5d2f32ac28d66260b6e735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / eouTools-0.1.1-py3-none-any.whl
| Download URL | eouTools-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3173a63119eadfd0f338153b5c2d7e440a0c70d19b04f0ce46c6115b3bffb98c
|
|
BLAKE2b-256 checksum How to use checksums |
ca9156269ee7b59b155186af9ccd312e21788d1ac01123b1feef885fa444fa3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for eouTools 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.