vedicpy
For humans, through regular mathematical steps, solving problems sometimes are complex and time-consuming. But using Vedic Mathematic’s General Techniques (applicable to all sets of given data) and Specific Techniques (applicable to specific sets of given data), numerical calculations can be done very fast.
This package is a python implementation of Vedic mathematical sutras. It uses the Vedic mathematics for performing basic mathematical operations like multiplication, division, square roots, cube roots etc.
This can be used to perform large multiplications and divisions. Though python does not have any restrictions on the size of integers, floats.
Since Vedic maths sutras work on individual digits in a number as opposed to the whole number, the implementation works slower on small digit numbers but works faster on larger digit numbers and some other operations like finding the square root or the cube root of a number.
- Documentation: https://vedicpy.readthedocs.io/en/latest/?badge=latest
- Source Code: https://github.com/utkarsh0702/vedicpy
Implementation
1. Installation
pip install vedicpy
2. Usage
import vedicpy as vedic
a= vedic.cube.cube_2digit_number(43)
print(a)
Available Functionalities
- Vedic Multiplication
- Vedic Division
- Square
- Square Root*
- Cube
- Cube Root*
- Divisibility
- Recurring fractions
- Compliment
*Vedic Mathematics doesnot provide a way to caluclate square root and cube root accurately. So, if it says that the number is a perfect square or a perfect cube there is still some chance that it is not.
Metadata
Release files for vedicpy 0.1.0
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 |
|---|---|---|---|---|
| vedicpy-0.1.0.tar.gz | 9.3 kB | Without provenance | Details for vedicpy-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vedicpy-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for vedicpy-0.1.0-py2.py3-none-any.whl |
Total release size: 17.8 kB
Release files / vedicpy-0.1.0.tar.gz
| Download URL | vedicpy-0.1.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2784a3e8c02b67e89ad2b321ecdf48fa1ecb22769cc3b166c4b285e4d8ea15bd
|
|
BLAKE2b-256 checksum How to use checksums |
5c860cd669406d19db5f2ebd45e807669ac2ba0d7da4cf7b0924f6b93b7caf63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
|
Release files / vedicpy-0.1.0-py2.py3-none-any.whl
| Download URL | vedicpy-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d300d0f7125144c71be27f680bf5df79778ffe97ea7cbece01f09d5059bfec5c
|
|
BLAKE2b-256 checksum How to use checksums |
23407c465c26e78d8d3e2317288a93e71952630e07985a712149e4a2430f6fcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
|
Security for vedicpy 0.1.0
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.