#
# zEquals :)
#
Because it starts with a z.
Because I've heard about it via 'Numberphile'.
Because it's awesome.
Basic usage:
>>> from zequals import *
>>> zMul(1345,653)
589100
If you are thinking : Now what's the use, 1345 times 653 should be 589680....
Please take a look here : http://www.youtube.com/watch?v=aOJOfh2_4PE
But it get's better!
After installing zequals one could do this :
from zequals import z
@z
def myAwesomeMathFunctions(x,y,z):
d = someWickedCalculus(x,y)
f = someOtherWeirdThing(z,x)
return d/f
The 'deocration' of your function with the @z decorator will make sure all
arguments passed to your function will be 'zequalized'.
Real World Example:
import math
def myFunc(a,b):
return math.sqrt((a*a) + (b*b))
myFunc(1253,3543)
# will yield : 3758.03911634778
now once we go
@z
def myFunc(a,b):
return math.sqrt((a*a) + (b*b))
myFunc(1253,3543)
# will yield 3754.210969031975
GitHub Repo : https://github.com/zdevops/zequals
# zEquals :)
#
Because it starts with a z.
Because I've heard about it via 'Numberphile'.
Because it's awesome.
Basic usage:
>>> from zequals import *
>>> zMul(1345,653)
589100
If you are thinking : Now what's the use, 1345 times 653 should be 589680....
Please take a look here : http://www.youtube.com/watch?v=aOJOfh2_4PE
But it get's better!
After installing zequals one could do this :
from zequals import z
@z
def myAwesomeMathFunctions(x,y,z):
d = someWickedCalculus(x,y)
f = someOtherWeirdThing(z,x)
return d/f
The 'deocration' of your function with the @z decorator will make sure all
arguments passed to your function will be 'zequalized'.
Real World Example:
import math
def myFunc(a,b):
return math.sqrt((a*a) + (b*b))
myFunc(1253,3543)
# will yield : 3758.03911634778
now once we go
@z
def myFunc(a,b):
return math.sqrt((a*a) + (b*b))
myFunc(1253,3543)
# will yield 3754.210969031975
GitHub Repo : https://github.com/zdevops/zequals
Metadata
Release files for zequals 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zequals-0.0.5.tar.gz | 1.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zequals-0.0.5.macosx-10.8-intel.exe | Details |
Total release size: 65.2 kB
Release files / zequals-0.0.5.tar.gz
| Download URL | zequals-0.0.5.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd49e146fbece3d53183745016cb1c1617be5201f95c62b7eeb44e86f0732b92
|
|
BLAKE2b-256 checksum How to use checksums |
958b2147e9144dd5cbd502c510af6faf40f3a38a296604455d73c0f215e76c29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / zequals-0.0.5.macosx-10.8-intel.exe
| Download URL | zequals-0.0.5.macosx-10.8-intel.exe |
|---|---|
| Size | 63.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b8cb421ee9cdd6496f7f3f412774cf1a5af6f13d7a113f7e7c0cea15da95268
|
|
BLAKE2b-256 checksum How to use checksums |
ef6feae5a5469036b3823738dabf37c974830f750b62a12d1c6bdcf8e9a42c1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |