Chemical elements with masses and radii
Project description
chemelem
Chemical elements with atomic masses and radii
This package implements getting atomic masses or covalent radii by element or atomic number. It is simpler and loads faster than much more advanced alternatives, such as mendeleev.
Usage
The package provides dict-like objects: mass, covalent_radius,
and chemelem, which can be indexed by atomic number
(int, from 1 to 118) or element symbol (str such as 'Cl').
-
Getting the atomic mass (standard, isotope-weighted atomic weight) in amu:
import chemelem as ce ce.mass['Cl'] ce.mass[17]
Both give the same result:
35.47 -
Getting the covalent radius (value in pm):
import chemelem as ce ce.covalent_radius['Fe'] ce.covalent_radius[26]
Both give the same result:
116.0. -
Getting all the element's properties as dictionary:
import chemelem as ce ce.chemelem['Cl'] ce.chemelem[17]
Both give the same result:
{'atomic_number': 'Cl', 'symbol': 'Cl', 'mass': 35.45, 'covalent_radius': 99.0}. -
The elements properties can be also obtained using the
chemelemconsole scriptchemelem Cl
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chemelem-0.1.tar.gz.
File metadata
- Download URL: chemelem-0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33db7547ac7c3dbef08626b2d7c24693db3b6302c9565eba89aae4ddcc4d6420
|
|
| MD5 |
99ed862aea3b1eb7918f02c89164504a
|
|
| BLAKE2b-256 |
0a4a9612c998857b75c57b00be8cc9c2400f54c2adef218a09105aee41014c61
|
File details
Details for the file chemelem-0.1-py3-none-any.whl.
File metadata
- Download URL: chemelem-0.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58c6b341ccd711a9f23594d3b1dc100f10a8102d56d1cc8e902807d7b4690a66
|
|
| MD5 |
f268b788964ba130a98826e4974aae5a
|
|
| BLAKE2b-256 |
4da9b69fa3f244a7bb41c8fb332d3ab3a59157d42f6c000dd66f178611b5d4e4
|