Skip to main content

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.

Release files for constant-nums 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for constant-nums 0.5
File Interpreter ABI Platform
constant_nums-0.5-py3-none-any.whl Python 3 none any Details

Release files / constant_nums-0.5-py3-none-any.whl

Download URL constant_nums-0.5-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d099c47dc84cf6af5ab7b2f20e09dd922655c23f4ebd91597705eea679d8daf2
BLAKE2b-256 checksum
How to use checksums
16a497517a9de9a44f909c01440b28664bb08cb7cef18b1035600e15978033ae
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page