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 & hash File type Python version Upload date
PyPhysics-1.0.2-py2.7.egg (1.6 kB) View hashes Egg 2.7
PyPhysics-1.0.2-py2-none-any.whl (2.0 kB) View hashes Wheel py2

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page