Konstant
Project description
Constant
Whenever I think about to make that thing (intenger,float, dataframe , array) constant. it works mostly on all the languages but not in python. So, I decided to create a package for constant numbers like pi and etc. That should be easy. So, here it is.
How to use it!
First install library - pip install constant_nums
after that, from constant_nums import final
basic syntax should be like this only
<constant_name> = final.cons(,<constant_name>)
Now here unit means anything, like int,str,dataframe and array anything. The name of the constant should be same on both the sides. Otherwise it won't be a constant anymore.
Example : pi = final.cons(3.14, "pi") and voila it works.
Now, there is already a module available for some default constants like PI, Euler's number etc but not for custom. You can create your own constants here.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for constant_nums-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d099c47dc84cf6af5ab7b2f20e09dd922655c23f4ebd91597705eea679d8daf2 |
|
MD5 | fe14a81afe5c533179bb3b2c43c26786 |
|
BLAKE2b-256 | 16a497517a9de9a44f909c01440b28664bb08cb7cef18b1035600e15978033ae |