Skip to main content

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

constant_nums-0.5-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file constant_nums-0.5-py3-none-any.whl.

File metadata

  • Download URL: constant_nums-0.5-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for constant_nums-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d099c47dc84cf6af5ab7b2f20e09dd922655c23f4ebd91597705eea679d8daf2
MD5 fe14a81afe5c533179bb3b2c43c26786
BLAKE2b-256 16a497517a9de9a44f909c01440b28664bb08cb7cef18b1035600e15978033ae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page