Skip to main content

Sample Package

Project description

A comprehensive library to tackle the issues of Physical constants and conversions required from time to time for scientific computations. Taking from gravity to gravitation constants to reaching the horizons of micro-level values it can handle issues for Bohr-radius, electronic charge and mass. It can also handle thermodynamic components like Boltzmann constants. Work is under progress to enhance the umbrella of physics based conversions.

All the constants' value has been taken reference from: http://web.mit.edu/birge/Public/formulas/phys-const.pdf

import pyphysics

print(pyphysics.g)

print(pyphysics.mu)

print(pyphysics.plank)

print(pyphysics.impedance)

print(pyphysics.charge)

print(pyphysics.flux)

print(pyphysics.me) #-> Gives the mass of electron

print(pyphysics.mp) # -> Gives the mass of proton

print(pyphysics.boltzman)

print(pyphysics.rydberg)

print(pyphysics.gravitation)

print(pyphysics.bohr_radius)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PyPhysics, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size PyPhysics-1.0.2-py2.7.egg (1.6 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size PyPhysics-1.0.2-py2-none-any.whl (2.0 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page