Skip to main content

Python package for common math and physics constants.

Project description

Constant List

Python package for common math and physics constants.

Build Status

This is a basic and simple python package which contains all commonly used mathematical and physical constants like pi,e etc. The package is not complete and will be updated whenever I get free time. Contribs are welcome.

Installation

Windows, OS X and Linux: pip install konstants

Usage

The module is very easy to use. Just search for the constant you wish to use from here and import it. To import, follow the code snippet below:

from konstants.math import basic as b
from konstants.math import eDerivatives as ed
from konstants.math import piDerivatives as pd
from konstants.math import named as n
from konstants.phys import fundamental as f
from konstants.phys import astrophysical as a
from konstants.misc import biblical as bi
from konstants.misc import interesting as i

print(b.pi)
print(b.e)
print(ed.eie)
print(pd.pip)
print(n.her)
print(n.ape)
print(f.amc)
print(a.par)
print(bi.ht)
print(i.ans)

Release History

  • 0.0.3
    • Added Miscellanous important numbers
  • 0.0.2
    • Added more constants
  • 0.0.1
    • Created package

Meta

Justin Mathew - @thisismjustin - thisisjustinm@outlook.com

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

konstants-0.3.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file konstants-0.3.tar.gz.

File metadata

  • Download URL: konstants-0.3.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.23.4 CPython/2.7.15

File hashes

Hashes for konstants-0.3.tar.gz
Algorithm Hash digest
SHA256 5988fcf5e65f757bba6b49858fb643bf8fb6d0711233fd4380a2294827bb49da
MD5 a0b311e3a67519ba0f548b44c4cc99e7
BLAKE2b-256 1b3d761f38c43890ea24813cf946f24f9277d09a0fc1864efcbc469d74ef1d9b

See more details on using hashes here.

Supported by

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