Multi Maths
About package
Package for arithmetic, geometry y statistics
Install with pip3
pip install multi_maths
or
pip3 install multi_maths
Using from console
python -m multi_maths.cli ari add 2 3 -l en -r text
>>> 5.0
python -m multi_maths.cli ari add 2 3 7
>>> 12.0
Init the class: the variable "response" on "digit" value returns only value:
from multi_maths.core import Core
core = Core()
core.set_lang('en') # en, es
core.set_response('digit') # digit, text
print(core.run('ari', 'add', (2, 3, 4)))
9.0
Init the class: the variable "response" on "text" value returns value inside legend:
from multi_maths.core import Core
core = Core()
core.set_lang('en') # en, es
core.set_response('text') # digit, text
Arithmetic
print(core.run('ari', 'add', (2, 3, 4)))
The addition result is: 9.0
print(core.run('ari', 'sub', (4, 3)))
The subtraction result is: 1.0
print(core.run('ari', 'mul', (3, 3, 2)))
The multiplication result is: 18.0
print(core.run('ari', 'div', (9, 3)))
The division result is: 3.0
print(core.run('ari', 'mod', (21, 200)))
The modulus result is: 42.0
print(core.run('ari', 'mod', (32, 517)))
The modulus result is: 165.44
print(core.run('ari', 'exp', (3, 3)))
The exponentiation result is: 27.0
print(core.run('ari', 'flo', (9, 3)))
The floor division result is: 3.0
Geometry
print(core.run('geo', 'ca', (4,)))
The circle area result is: 50.26548245743669
print(core.run('geo', 'cc', (5,)))
The circle circumference result is: 31.41592653589793
print(core.run('geo', 'ta', (5,5)))
The triangle area result is: 12.5
print(core.run('geo', 'tp', (5, 5, 5)))
The triangle perimeter result is: 5.0
print(core.run('geo', 'sa', (5, 5)))
The square area result is: 25.0
print(core.run('geo', 'sp', (5,)))
The square perimeter result is: 20.0
print(core.run('geo', 'ra', (4, 2)))
The rectangle area result is: 8.0
print(core.run('geo', 'rp', (4, 2)))
The rectangle perimeter result is: 12.0
print(core.run('geo', 'pa', (4, 3)))
The parallelogram area result is: 12.0
print(core.run('geo', 'pp', (4, 3)))
The parallelogram perimeter result is: 14.0
Statistics
print(core.run('stat', 'sd', (data_list,)))
The standard deviation result is: 12.739141034061687
print(core.run('stat', 'sd', (data_list, 7)))
The standard deviation result is: 12.739141034061687
print(core.run('stat', 'mean', (data_list,)))
The mean result is: 17.5
print(core.run('stat', 'med', (data_list,)))
The median result is: 14.0
print(core.run('stat', 'mode', (data_list,)))
The mode result is: 8
Repository
Metadata
Release files for multi-maths 1.0.7
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 |
|---|---|---|---|---|
| multi_maths-1.0.7.tar.gz | 25.1 kB | Without provenance | Details for multi_maths-1.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| multi_maths-1.0.7-py3-none-any.whl | Python 3 | none | any | Details for multi_maths-1.0.7-py3-none-any.whl |
Total release size: 54.8 kB
Release files / multi_maths-1.0.7.tar.gz
| Download URL | multi_maths-1.0.7.tar.gz |
|---|---|
| Size | 25.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1285ff183a36dd55a09e9f96d2040d191e6b91c5438d47443ca2d80642779f3
|
|
BLAKE2b-256 checksum How to use checksums |
34bff95f5d1552e784db0e3c040076561243945996b09f1ecdc056b9e2f8623a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / multi_maths-1.0.7-py3-none-any.whl
| Download URL | multi_maths-1.0.7-py3-none-any.whl |
|---|---|
| Size | 29.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a741771149932977dfbae1a5876955abe79aa9bb8d3661e8f844806f86f6fad8
|
|
BLAKE2b-256 checksum How to use checksums |
28252a08896cee2f6840755d59d743982871db498bf9ce0196fbfbaee62764f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for multi-maths 1.0.7
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.