Use all the simple arithmetic calculations such as fibonacci series, armstrong number etc.
Project description
Arith Tools
Arith tools package for basic arithmetic operations.
In the arithmetic of love, one plus one equals everything, and two minus one equals nothing.
Goals of the project:
- Arith Tools is an arithmetic module which can be used to solve a very complicated arithmetic operations very easily.
- Arith Tools handles everything from the start of thinking of a very algorithm to it's end by just using this module.
- BLTAO, Bring Life To Arithmetic operations. Think of something more creative rather than wasting time in writing simpler code.
How to install ?
NOTE: It is recommended to set up a virtual environment.
In order to install this module, you need to follow the command given below.
python -m pip install arith-tools
Supported IDE
VSCode
- Install Python extension
- Install Pylance extension
- Set
Pylance
as your Python Language Server - Install
arith-tools
in your environment:python -m pip install arith-tools
Both type checking and auto-complete should work for thy service. No explicit type annotations required, write your code as usual.
PyCharm
- Install
arith-tools
in your environment:python -m pip install arith-tools
Both type checking and auto-complete should work for thy service. No explicit type annotations required, write your code as usual. Auto-complete can be slow on big projects or if you have a lot of installed arith-tools submodules.
IDLE
- Follow the same procedure as before.
How to use the module ?
import arithtools
#To reverse a given number.
num=int(input("Enter a number: "))
print(arithtools.reverse(num))
What are expected from Arith Tools ?
- Fibonacci Series.
- Reverse a given number.
- Convert a number to word.
- Check for Automorphic number.
- Check for Peterson Number.
- Check for sunny number.
- Check for Tech number.
- Check for Fascinating Number.
- Check for Keith or repfigit Number.
- Check for Neon Number.
- Check for Spy Number .
- Check for amicable number.
- Check for Terrace Number.......... and many more. (Check out the Project to find more.)
NOTE: Run help(arithtools)
in interactive window or terminal to get more info.
Versioning
arith-tools
version follows PEP 440 format.
Support and Contributing.
Developers are free to contribute to this open source projects and report bugs at any time in the arith-tools
repository.
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
File details
Details for the file arith-tools-1.2.0.tar.gz
.
File metadata
- Download URL: arith-tools-1.2.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3a5793da36dfd2682e54950ef062326c8d5824aaacd2c983e4b7ffa86970f93 |
|
MD5 | 76217f5822a48b002cba932bb03a0bff |
|
BLAKE2b-256 | fa8ca151becdb22d4fdbe7701e75ead53127f60eb85cc4e9214d461e03e60a36 |