/usr/lib/python3/dist-packages/periodictable/constants.py is in python3-periodictable 1.5.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # This program is public domain
# Author: Paul Kienzle
"""
Various fundamental constants.
"""
#: Avogadro's number (mol^-1)
avogadro_number = 6.02214179e23 #(30) mol^-1
#: Planck's constant (eV s)
plancks_constant = 4.13566733e-15 #(10) eV s
#: Electron volt (J/eV)
electron_volt = 1.602176487e-19 #(40) J / eV
#: speed of light c (m/s)
speed_of_light = 299792458 # m/s (exact)
#: electron radius r_e (m)
electron_radius = 2.8179402894e-15 #(58) m
# From NIST Reference on Constants, Units, and Uncertainty
# http://physics.nist.gov/cuu/index.html
# neutron mass = 1.008 664 915 97(43) u
# atomic mass constant m_u = 1.660 538 782(83) x 10-27 kg
#: neutron mass (u)
neutron_mass = 1.00866491597 #(43) u
#: atomic mass constant (kg / u)
atomic_mass_constant = 1.660538782e-27 #(83) kg / u
#: electron mass (u)
electron_mass = 5.48577990946e-4 #(22) u
|